changed CAIRO_ANTIALIAS_BEST to CAIRO_ANTIALIAS_SUBPIXEL

This commit is contained in:
louis 2015-03-12 22:40:22 +01:00
parent 44680b6ce8
commit b84af82ef5
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ void cCairoImage::InitCairoImage(int width, int height) {
surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height);
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) {
@ -89,4 +89,4 @@ void cCairoImage::SetColor(tColor color) {
double b = (int)tBlue / (double)255;
cairo_set_source_rgba(cr, r, g, b, a);
}
}