Search found 2 matches

by hanafey
Mon Jun 16, 2014 5:08 pm
Forum: JFreeSVG
Topic: CanvasGraphics2D setTransform
Replies: 3
Views: 33964

Re: CanvasGraphics2D setTransform

What I was hoping to do was to generate one SVG script, and then draw the graphic twice, once as a thumbnail, and then if this thumbnail was clicked to draw a full scale plot. The SVG files are quite large, and so creating two size versions would be inefficient.
by hanafey
Wed Apr 30, 2014 4:57 pm
Forum: JFreeSVG
Topic: CanvasGraphics2D setTransform
Replies: 3
Views: 33964

CanvasGraphics2D setTransform

The script produced by CanvasGraphics2D uses " setTransform ". This seems to make it impossible to use the " ctx.scale() " method to easily dynamically scale a graphic. If you try this, only a some of the graphic is scaled, but after the absolute " setTranform() " method call , " scale() " gets rese...