mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
changed CAIRO_ANTIALIAS_BEST to CAIRO_ANTIALIAS_SUBPIXEL
This commit is contained in:
parent
44680b6ce8
commit
b84af82ef5
@ -18,7 +18,7 @@ void cCairoImage::InitCairoImage(int width, int height) {
|
|||||||
|
|
||||||
surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height);
|
surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height);
|
||||||
cr = cairo_create(surface);
|
cr = cairo_create(surface);
|
||||||
cairo_set_antialias(cr, CAIRO_ANTIALIAS_BEST);
|
cairo_set_antialias(cr, CAIRO_ANTIALIAS_SUBPIXEL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cCairoImage::DrawTextVertical(string text, tColor color, string font, int size) {
|
void cCairoImage::DrawTextVertical(string text, tColor color, string font, int size) {
|
||||||
@ -89,4 +89,4 @@ void cCairoImage::SetColor(tColor color) {
|
|||||||
double b = (int)tBlue / (double)255;
|
double b = (int)tBlue / (double)255;
|
||||||
|
|
||||||
cairo_set_source_rgba(cr, r, g, b, a);
|
cairo_set_source_rgba(cr, r, g, b, a);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user