We have no plans at all for implementing "pixel preview" as a setting on
Shapes. You can do that with snapshot if you want.
The Shape.setSmooth() setting (currently stubbed out) is meant to
control antialiasing, not rendering resolution.
There should be similar bugs for Shape.setSmooth() and the lack of
interpolation control on GraphicsContext.drawImage() methods as well,
but I don't recall any Jira issues that deal with "pixel preview"
capabilities (again, which can be achieved via snapshot)...
...jim
On 8/27/14 3:36 PM, Edu García wrote:
Thank you Nico and Jim.
Also Jim, that issue only talks about ImageView IIRC. Are you going to
implement something similar for shapes? I know it's not the same, but I
wanted to show pixelated shapes as well (think about zooming in past 100%
in Illustrator with pixel preview enabled). I don't keep my hopes up, but
it's free to ask :).
On Thu, Aug 28, 2014 at 8:01 AM, Jim Graham <[email protected]> wrote:
On 8/27/14 1:04 AM, Nico Krebs | www.mensch-und-maschine.de wrote:
Question 1:
I don't know why setSmooth(false) doesnt work. Perhaps am i using it the
wrong way? I set it for each ImageView object i got in my list. the
scrollpane can`t be "unsmoothed" because of the lack of the setSmooth()
method.
On the other hand, it could just be a bug of JavaFX.
I repeat:
On 8/26/14 4:35 PM, Jim Graham wrote:
We simply haven't implemented this yet:
https://javafx-jira.kenai.com/browse/RT-28629
...jim
setSmooth() is not hooked up to any mechanism at all. Nothing examines
this property in the implementation (to be clear, the FX object "passes it
on" to the NG implementation object which receives it with an empty method
body). This is true of ImageView and of Shapes...
...jim