mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:37:46 +00:00
LibPDF: Use AntiAliasingPainter in Renderer when possible
This commit is contained in:
parent
8224ca6150
commit
130846f337
2 changed files with 13 additions and 5 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <AK/Format.h>
|
||||
#include <LibGfx/AffineTransform.h>
|
||||
#include <LibGfx/AntiAliasingPainter.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
#include <LibGfx/Font.h>
|
||||
#include <LibGfx/FontDatabase.h>
|
||||
|
@ -121,6 +122,7 @@ private:
|
|||
RefPtr<Gfx::Bitmap> m_bitmap;
|
||||
Page const& m_page;
|
||||
Gfx::Painter m_painter;
|
||||
Gfx::AntiAliasingPainter m_anti_aliasing_painter;
|
||||
|
||||
Gfx::Path m_current_path;
|
||||
Vector<GraphicsState> m_graphics_state_stack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue