using the same offset for nodes and edges, but edge control points are
always in point units, so the translation for splines should use GD_bb.LL.
* Translate edge by offset.
* Assume ED_spl(e) != NULL
*/
-static void translateE(edge_t * e, pointf offset)
+static void translateE(edge_t * e, point offset)
{
int i, j;
point *pt;
for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
for (e = agfstout(g, n); e; e = agnxtout(g, e))
if (ED_spl(e))
- translateE(e, offset);
+ translateE(e, GD_bb(g).LL);
}
}
translateG(g, GD_bb(g).LL);