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
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
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
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