Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/aa-stroke/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 542 B image not shown  

Quelle  README.md   Sprache: unbekannt

 
Spracherkennung für: .md vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

Takes a path and produces a triangle mesh that corresponds to the antialiased stroked path.

The approach here is naive and only works for opaquely filled paths. Overlaping areas can 
end up with seams or otherwise incorrect coverage values.

Transforms with uniform scale can be supported by scaling the input points and the stroke width
before passing them to the stroker. Other transforms are not currently (or ever?) supported.

### TODO
- using triangle strips instead of triangle lists
- handle cusps of curves more correctly
- dashing

[Dauer der Verarbeitung: 0.18 Sekunden, vorverarbeitet 2026-08-25]