Commit dbe54f9f authored by Stephen C. North's avatar Stephen C. North 🙀

I think this fixed something wrong with scale.

parent dd8fd558
Pipeline #31731805 canceled with stages
in 0 seconds
......@@ -253,9 +253,9 @@ static void svg_begin_page(GVJ_t * job)
* and it is the entire graph if we're not currently paging */
svg_print_id_class(job, obj->id, NULL, "graph", obj->u.g);
gvputs(job, " transform=\"scale(");
gvprintdouble(job, job->scale.x);
gvprintdouble(job, 1.0/job->scale.x);
gvputs(job, " ");
gvprintdouble(job, job->scale.y);
gvprintdouble(job, 1.0/job->scale.y);
gvprintf(job, ") rotate(%d) translate(", -job->rotation);
gvprintdouble(job, job->translation.x);
gvputs(job, " ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment