Files
serenity/Userland/Libraries/LibGfx/Path.cpp
Nico Weber d569238896 LibGfx: Add support for stroke dash patterns
This adds support for dash patterns to Path::stroke_to_fill().
This is used in PDFs, <canvas>, and <svg>.

The implementation is based on the <canvas> spec. It seems to do
the right thing for PDF files too.

(This commit only adds the feature to LibGfx. Future commits will
hook this up for PDF, <canvas>, and <svg>.)
2024-11-07 09:12:13 -05:00

38 KiB