mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 20:27:46 +00:00
LibGfx: Make it possible to stroke a path with a paint style
This commit is contained in:
parent
1367809142
commit
8993a710f8
2 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,7 @@ public:
|
|||
void fill_path(Path const&, PaintStyle const& paint_style, Painter::WindingRule rule = Painter::WindingRule::Nonzero);
|
||||
|
||||
void stroke_path(Path const&, Color, float thickness);
|
||||
void stroke_path(Path const&, PaintStyle const& paint_style, float thickness);
|
||||
|
||||
void translate(float dx, float dy) { m_transform.translate(dx, dy); }
|
||||
void translate(FloatPoint delta) { m_transform.translate(delta); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue