LibWeb: Forward CanvasRenderingContext.strokeText() to fillText()

This is a hack until we get an actual text stroking implementation.
This commit is contained in:
Andreas Kling 2022-02-03 20:09:57 +01:00
commit 926d5271b4
Notes: sideshowbarker 2024-07-17 19:50:18 +09:00
3 changed files with 8 additions and 0 deletions

View file

@ -65,6 +65,7 @@ public:
void stroke();
void fill_text(const String&, float x, float y, Optional<double> max_width);
void stroke_text(String const&, float x, float y, Optional<double> max_width);
// FIXME: We should only have one fill(), really. Fix the wrapper generator!
void fill(Gfx::Painter::WindingRule);