Commit b49654fd authored by Caleb Michael Moore's avatar Caleb Michael Moore

libart gradient fixes

parent 8d81f226
2005-10-08 Caleb Moore <c.moore@student.unsw.edu.au>
* rsvg-art-paint-server.c: stopped strangely transformed gradients from getting flipped.
2005-10-07 Dom Lachowicz <cinamod@hotmail.com>
* rsvg.c: Hopefully get rid of "static" when rendering using the cairo backend
......
......@@ -191,7 +191,7 @@ rsvg_art_paint_server_lin_grad_render (RsvgLinearGradient *rlg, ArtRender *ar,
pxt = px * affine[0] + py * affine[2] + affine[4];
pyt = px * affine[1] + py * affine[3] + affine[5];
pointlen = fabs((pxt - cxt)*(cyt - y2t) - (cxt - x2t)*(pyt - cyt)) /
pointlen = ((pxt - cxt)*(cyt - y2t) - (cxt - x2t)*(pyt - cyt)) /
sqrt((pxt - cxt) * (pxt - cxt) + (pyt - cyt) * (pyt - cyt));
xchange = pxt - cxt;
......
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