Skip to content
Snippets Groups Projects
Commit bdd61ee2 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

added entry point for antialiasing control

parent 37dcd8c0
No related branches found
No related tags found
No related merge requests found
...@@ -98,6 +98,7 @@ TkPathContext TkPathInit(Tk_Window tkwin, Drawable d) ...@@ -98,6 +98,7 @@ TkPathContext TkPathInit(Tk_Window tkwin, Drawable d)
surface = cairo_xlib_surface_create(Tk_Display(tkwin), d, Tk_Visual(tkwin), surface = cairo_xlib_surface_create(Tk_Display(tkwin), d, Tk_Visual(tkwin),
width, height); width, height);
c = cairo_create(surface); c = cairo_create(surface);
cairo_set_antialias(c, CAIRO_ANTIALIAS_GRAY);
context->c = c; context->c = c;
context->surface = surface; context->surface = surface;
context->record = NULL; context->record = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment