Displaying 1 result from an estimated 1 matches for "strokecolor".
2006 Nov 12
1
[PATCH] Annotate shapes, text and dbus support
...ine NUM_TOOLS (sizeof (tools) / sizeof (tools[0]))
+
static void
annoCairoClear (CompScreen *s,
cairo_t *cr)
@@ -143,6 +175,335 @@
return as->cairo;
}
+
+static void
+annoDrawCircle (CompScreen *s, double xc, double yc, double radius,
+ unsigned short *fillColor, unsigned short *strokeColor,
+ double strokeWidth)
+{
+ REGION reg;
+ cairo_t *cr;
+
+ ANNO_SCREEN (s);
+
+ cr = annoCairoContext (s);
+
+ if (cr)
+ {
+
+ double ex1, ey1, ex2, ey2;
+ cairo_set_source_rgba (cr,
+ (double) fillColor[0] / 0xffff,
+ (double) fillColor[1] / 0xffff,
+...