From 4fd6b58064bd26df93b05e39438dab649a65633c Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 8 Jul 2023 15:03:05 -0700 Subject: Add pixel scaling. --- gfx-iso/include/isogfx/isogfx.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gfx-iso/include') diff --git a/gfx-iso/include/isogfx/isogfx.h b/gfx-iso/include/isogfx/isogfx.h index 22c8fd5..5c44310 100644 --- a/gfx-iso/include/isogfx/isogfx.h +++ b/gfx-iso/include/isogfx/isogfx.h @@ -93,7 +93,10 @@ void isogfx_render(IsoGfx*); /// position (x,y) instead, use isogfx_set_tile(). void isogfx_draw_tile(IsoGfx*, int x, int y, Tile); -/// Return a pointer to the internal colour buffer. +/// Resize the virtual screen's dimensions. +bool isogfx_resize(IsoGfx*, int screen_width, int screen_height); + +/// Return a pointer to the virtual screen's colour buffer. /// /// Call after each call to isogfx_render() to retrieve the render output. const Pixel* isogfx_get_screen_buffer(const IsoGfx*); -- cgit v1.2.3