Re: Maximum size of a canvas?

2015-05-15 Thread Jeff Hain
Hi. The report can be zoomed in which basically means that I recreate the canvas with a bigger size (the canvas is inside a scrollpane). Instead of creating an eventually (and quadratically) huge canvas, you could try using Canvas.getGraphicsContext().scale(2 double)/translate(2 double), and

Re: Maximum size of a canvas?

2015-05-15 Thread Werner Lehmann
Hi Jeff, interesting idea although I am not sure in which way this improves things. I am already scaling the canvas node if it is bigger than necessary (due to previous zoom, works like supersampling then) or smaller than necessary (if the maximum size is reached but I need to present the

Re: Maximum size of a canvas?

2015-05-15 Thread Jim Graham
The Canvas is simply a texture of the specified dimensions. (We do scale that size by any pixel scale applied to the entire scene, as in Mac retina's 2x scale, but it's size is interpreted in the same coordinate space as the Stage, Scene and the root Node coordinates.) Transform properties

Maximum size of a canvas?

2015-05-13 Thread Werner Lehmann
Hi, is there a way to somewhat safely determine the maximum size of a canvas? I am using the canvas to display a report result in a custom report viewer control. The report can be zoomed in which basically means that I recreate the canvas with a bigger size (the canvas is inside a scrollpane