@johan, can you determine whether it is possible to finish this? Jasper seems to have hinted that it was possible…
/* } else if (transform.withoutTranslation().isRotation()) {
// FIXME someone please figure out if this can actually be done
// The rotation angle is correct, the points are not
// Refer to the matrix in svg-affine-test.h
// We are a rotation about a special axis
strcpy(c + p, "rotate(");
p += 7;
(Almost complete) fix committed in r13688 /bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/revision/ 13688>
<https:/
@johan, can you determine whether it is possible to finish this? Jasper seems to have hinted that it was possible…
/* } else if (transform. withoutTranslat ion().isRotatio n()) {
// FIXME someone please figure out if this can actually be done
// The rotation angle is correct, the points are not
// Refer to the matrix in svg-affine-test.h
// We are a rotation about a special axis
strcpy(c + p, "rotate(");
p += 7;
double angle = std::atan2(
p += sp_svg_
c[p++] = ',';
Geom::Point pt = transform. translation( ); number_ write_de( c + p, sizeof(c) - p, pt[Geom::X], prec, min_exp);
p += sp_svg_
c[p++] = ',';
p += sp_svg_ number_ write_de( c + p, sizeof(c) - p, pt[Geom::Y], prec, min_exp);
c[p++] = ')';
c[p] = '\000';*/