summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibTTF/Glyf.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-19 20:50:27 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-20 02:48:29 +0200
commit808f1f63ff47db3d5a7a4ce23e45e03ff33f5075 (patch)
tree65ddb53d0a833249d2d69c37f5ecb1b6efd89312 /Userland/Libraries/LibTTF/Glyf.h
parentd8f435fa503afbd71a126466bd48c5a0af060723 (diff)
downloadserenity-808f1f63ff47db3d5a7a4ce23e45e03ff33f5075.zip
LibTTF: Minor const correctness fix in TTF rasterizer
Diffstat (limited to 'Userland/Libraries/LibTTF/Glyf.h')
-rw-r--r--Userland/Libraries/LibTTF/Glyf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibTTF/Glyf.h b/Userland/Libraries/LibTTF/Glyf.h
index 39c54181a3..1cfdf68ed7 100644
--- a/Userland/Libraries/LibTTF/Glyf.h
+++ b/Userland/Libraries/LibTTF/Glyf.h
@@ -101,7 +101,7 @@ public:
u32 m_offset { 0 };
};
- void rasterize_impl(Rasterizer& rasterizer, Gfx::AffineTransform& affine) const;
+ void rasterize_impl(Rasterizer&, Gfx::AffineTransform const&) const;
RefPtr<Gfx::Bitmap> rasterize_simple(float x_scale, float y_scale) const;
template<typename GlyphCb>
RefPtr<Gfx::Bitmap> rasterize_composite(float x_scale, float y_scale, GlyphCb glyph_callback) const