summaryrefslogtreecommitdiff
path: root/SharedGraphics
diff options
context:
space:
mode:
authorChristopher Dumas <christopherdumas@gmail.com>2019-05-27 08:36:44 -0700
committerAndreas Kling <awesomekling@gmail.com>2019-05-27 21:40:53 +0200
commit3e26faa2264b64690f8e9c8e47c5735eb1cebbc8 (patch)
tree699567a253d6fb6615e67a1fdfaac66289b3101c /SharedGraphics
parentda9c70598f93af8ff54cc347a0e64f6c650dc207 (diff)
downloadserenity-3e26faa2264b64690f8e9c8e47c5735eb1cebbc8.zip
removed extra impl of scaling
Diffstat (limited to 'SharedGraphics')
-rw-r--r--SharedGraphics/Painter.h1
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);