diff options
author | Christopher Dumas <christopherdumas@gmail.com> | 2019-05-27 08:36:44 -0700 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-27 21:40:53 +0200 |
commit | 3e26faa2264b64690f8e9c8e47c5735eb1cebbc8 (patch) | |
tree | 699567a253d6fb6615e67a1fdfaac66289b3101c /SharedGraphics | |
parent | da9c70598f93af8ff54cc347a0e64f6c650dc207 (diff) | |
download | serenity-3e26faa2264b64690f8e9c8e47c5735eb1cebbc8.zip |
removed extra impl of scaling
Diffstat (limited to 'SharedGraphics')
-rw-r--r-- | SharedGraphics/Painter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SharedGraphics/Painter.h b/SharedGraphics/Painter.h index 59b87289cb..a9ca1750ac 100644 --- a/SharedGraphics/Painter.h +++ b/SharedGraphics/Painter.h @@ -29,6 +29,7 @@ public: void blit_dimmed(const Point&, const GraphicsBitmap&, const Rect& src_rect); void blit_tiled(const Point&, const GraphicsBitmap&, const Rect& src_rect); void blit_offset(const Point&, const GraphicsBitmap&, const Rect& src_rect, const Point&); + void blit_scaled(const Point&, const GraphicsBitmap&, const Rect& src_rect, const Size&); void draw_text(const Rect&, const char* text, int length, const Font&, TextAlignment = TextAlignment::TopLeft, Color = Color::Black, TextElision = TextElision::None); void draw_text(const Rect&, const char* text, int length, TextAlignment = TextAlignment::TopLeft, Color = Color::Black, TextElision = TextElision::None); void draw_text(const Rect&, const String&, const Font&, TextAlignment = TextAlignment::TopLeft, Color = Color::Black, TextElision = TextElision::None); |