From bdd61ee202466075082894dec230529c26a2ee01 Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Sat, 16 Nov 2013 02:01:25 -0500 Subject: [PATCH] added entry point for antialiasing control --- pd/tkpath/unix/tkUnixCairoPath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pd/tkpath/unix/tkUnixCairoPath.c b/pd/tkpath/unix/tkUnixCairoPath.c index cf415f9c0..fb0fe31ca 100644 --- a/pd/tkpath/unix/tkUnixCairoPath.c +++ b/pd/tkpath/unix/tkUnixCairoPath.c @@ -98,6 +98,7 @@ TkPathContext TkPathInit(Tk_Window tkwin, Drawable d) surface = cairo_xlib_surface_create(Tk_Display(tkwin), d, Tk_Visual(tkwin), width, height); c = cairo_create(surface); + cairo_set_antialias(c, CAIRO_ANTIALIAS_GRAY); context->c = c; context->surface = surface; context->record = NULL; -- GitLab