fputs(",", fp);
svg_write_number(fp, y);
fputs(") rotate(", fp);
- svg_write_number(fp, node->angle);
+ svg_write_number(fp, -node->angle);
fputs(")\"", fp);
x = y = 0;
svg_close_tag(fp);
fputc(' ', fp);
svg_write_number(fp, y);
fputs(" translate ", fp);
- svg_write_number(fp, -node->angle);
+ svg_write_number(fp, node->angle);
fputs(" rotate 0 ", fp);
svg_write_number(fp, ydelta);
fputs(" moveto ", fp);
}
pdf_set_fill_color(s, node->color);
if (node->angle != 0) {
- double a = 2 * M_PI * -node->angle / 360.0;
+ double a = 2 * M_PI * node->angle / 360.0;
double new_x, new_y;
cos_a = cos(a);
sin_a = sin(a);