1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:07:35 +00:00

LibTTF: Minor const correctness fix in TTF rasterizer

This commit is contained in:
Andreas Kling 2021-07-19 20:50:27 +02:00
parent d8f435fa50
commit 808f1f63ff
2 changed files with 3 additions and 3 deletions

View file

@ -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