GraphiteEditor / GraphiteEditor/Graphite
Vello renders image with a half-pixel offset
- Vorherrschende Sprache
- Rust
- Sterne
- 27.2k
- Forks
- 1.3k
- Ø Merge
- 20 Std. 5 Min.
- Gemergte PRs (30 T.)
- 57
Beschreibung
Drag an image into the viewport and view it at 100% scale. Toggle the Vello renderer on and off. Notice that it shifts down and left when Vello is active, and that it becomes blurry in the Vello version because anti-aliasing is applied to do the shifting. Also at slightly different from screenspace-aligned integer scales, we have the bottom and right edges wrap and appear as a 1px strip along the top and left edges.
https://github.com/user-attachments/assets/8e4a4916-61ca-49c5-aed5-062d72cbc271
My hypothesis is that between SVG and Vello, one assumes pixel coordinates are at the center of a pixel vs. the top left of the pixel.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.