summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-02-03 20:09:57 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-03 22:35:13 +0100
commit926d5271b4228c4a4c1fd0ebdbdd96723b0f7150 (patch)
tree0b18d4803f2ada41d4f5dec900b13be4e745bf1e /Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h
parentdc3bf32307085fee3cbbedfeb72ee10dc130d04c (diff)
downloadserenity-926d5271b4228c4a4c1fd0ebdbdd96723b0f7150.zip
LibWeb: Forward CanvasRenderingContext.strokeText() to fillText()
This is a hack until we get an actual text stroking implementation.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h
index 4e902bbd83..dede820e9f 100644
--- a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h
+++ b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h
@@ -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);