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

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

2021-10-02 Thread Kevin Rushforth
By the time it is rendered, it will be transformed into the scaled space. So the actual coordinate in screen space will be 13. -- Kevin On 10/1/2021 7:26 AM, Marius Hanl wrote: Thanks for your answer. Then one more question: How is a non-integer value rendered then? Say we have snapped x