Re: Re: JavaFX snapping and scale

2021-10-02 Thread Michael Strauß
No, we don't always render at integer coordinates. If you place a control at 10,10 and disable pixel snapping, it'll end up at 12.5,12.5 (with 125% scaling) in render coordinates. The process of coloring pixels on the output texture based on triangle polygons is called rasterization. For each pixe

Re: [External] : Aw: Re: JavaFX snapping and scale

2021-10-02 Thread Kevin Rushforth
value of 10.4 (scale 1.25). As we can just render on a whole pixel, what will happen? - Marius *Gesendet:* Dienstag, 28. September 2021 um 01:57 Uhr *Von:* "Kevin Rushforth" *An:* openjfx-dev@openjdk.java.net *Betreff:* Re: JavaFX snapping and scale The basic idea behind snapping to pixel

Aw: Re: JavaFX snapping and scale

2021-10-01 Thread Marius Hanl
Kevin Rushforth" An: openjfx-dev@openjdk.java.net Betreff: Re: JavaFX snapping and scale The basic idea behind snapping to pixel boundaries (which is optional, but on by default) is that 2D primitives will look more crisp if they are rendered on whole pixel boundaries. When there i

Re: JavaFX snapping and scale

2021-09-27 Thread Kevin Rushforth
The basic idea behind snapping to pixel boundaries (which is optional, but on by default) is that 2D primitives will look more crisp if they are rendered on whole pixel boundaries. When there is no HiDPI involved, the operation of snapping to a pixel boundary can be done with a simple floor, ro