jit icon indicating copy to clipboard operation
jit copied to clipboard

Easy access to a canvas scale factor needed.

Open wojtekzozlak opened this issue 13 years ago • 1 comments

I wanted to scale labels font-size during zooming, but I couldn't find any way to get a Canvas scale factor in documentation. I've ended up with using a Canvas.scaleOffsetX property, but it looks kinda ugly. There should be a simple way to obtain zooming factor.

wojtekzozlak avatar Jul 29 '11 22:07 wojtekzozlak

canvas.scaleOffsetX canvas.scaleOffsetY

DanFelton avatar Mar 20 '12 11:03 DanFelton