mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 13:32:23 +00:00
LibGfx+LibPDF: Apply subpixel offset in affine transformation
This commit is contained in:
parent
6c85088952
commit
eeb6072f15
Notes:
sideshowbarker
2024-07-17 16:42:19 +09:00
Author: https://github.com/MacDue
Commit: eeb6072f15
Pull-request: https://github.com/SerenityOS/serenity/pull/16831
6 changed files with 15 additions and 15 deletions
|
@ -22,7 +22,7 @@ public:
|
|||
PDFErrorOr<void> create(ReadonlyBytes const&, RefPtr<Encoding>, size_t cleartext_length, size_t encrypted_length);
|
||||
|
||||
RefPtr<Gfx::Bitmap> rasterize_glyph(u32 char_code, float width, Gfx::GlyphSubpixelOffset);
|
||||
Gfx::Path build_char(u32 char_code, float width);
|
||||
Gfx::Path build_char(u32 char_code, float width, Gfx::GlyphSubpixelOffset);
|
||||
|
||||
RefPtr<Encoding> encoding() const { return m_encoding; }
|
||||
Gfx::FloatPoint glyph_translation(u32 char_code, float width) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue