Displaying 1 result from an estimated 1 matches for "ey2".
Did you mean:
ec2
2006 Nov 12
1
[PATCH] Annotate shapes, text and dbus support
...oid
+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,
+ (double) fillColor[2] / 0xffff,
+ (double) fillColor[3] / 0xffff);
+ cairo_arc (cr, xc, yc, radius, 0, 2*M_PI);
+ cairo_fill_preserve (cr);
+ cairo_set_line_width...