From e2b1cd5c80256a924b24a4b1a51dfb9ee2a71857 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 25 Jan 2017 12:23:22 +0100 Subject: GRAPHICS: Implemented test for MacFont scaling --- graphics/fonts/macfont.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'graphics/fonts/macfont.h') diff --git a/graphics/fonts/macfont.h b/graphics/fonts/macfont.h index 5baa6438bb..33fb0fb417 100644 --- a/graphics/fonts/macfont.h +++ b/graphics/fonts/macfont.h @@ -156,7 +156,8 @@ public: int getFontSize() const { return _data._size; } - static MacFONTFont *scaleFont(MacFONTFont *src, int newSize); + static MacFONTFont *scaleFont(const MacFONTFont *src, int newSize); + static void testBlit(const MacFONTFont *src, ManagedSurface *dst, int color, int x0, int y0, int width); private: MacFONTdata _data; -- cgit v1.2.3