blob: d91bf50839d2887a12eff5c95b31d9d6e530bf71 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- rsvg-shapes.c.orig Thu Aug 25 22:32:03 2005
+++ rsvg-shapes.c Thu Aug 25 22:32:13 2005
@@ -145,12 +145,12 @@ _rsvg_node_poly_draw(RsvgNode * self, Rs
int dominate)
{
RsvgNodePoly * poly = (RsvgNodePoly *)self;
+ gsize i;
+ GString * d = g_string_new ("");
/* represent as a "moveto, lineto*, close" path */
if (poly->pointlist_len < 2)
return;
- gsize i;
- GString * d = g_string_new ("");
g_string_append_printf (d, "M %f %f ", poly->pointlist[0], poly->pointlist[1] );
for (i = 2; i < poly->pointlist_len; i += 2)
|