aelmahalawey / androidsvg

Automatically exported from code.google.com/p/androidsvg
0 stars 0 forks source link

Position of Rectf ignored when renderToCanvas #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Use renderToCanvas with a Rectf canv.renderToCanvas(svg,new 
RectF(dx,dy,width,height)

What is the expected output? What do you see instead?
The height and width of the image are correct but dx and dy are ignored.

What version of the product are you using? On what operating system?
v1.2.1

Original issue reported on code.google.com by yannick....@math.uzh.ch on 20 Jan 2015 at 7:56

GoogleCodeExporter commented 8 years ago
Workaround: I shift the canvas instead and use .save(), .restore(), since there 
is another Bug which makes the canvas changed after this method is called, I 
call save and restore anyway.

Original comment by yannick....@math.uzh.ch on 20 Jan 2015 at 9:42