summaryrefslogtreecommitdiff
path: root/gfx-iso/include/isogfx/isogfx.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2023-07-08 15:03:05 -0700
committer3gg <3gg@shellblade.net>2023-07-08 15:03:05 -0700
commit4fd6b58064bd26df93b05e39438dab649a65633c (patch)
tree4f7394f204933bdd6816d6dc5a38a2c16407c6d7 /gfx-iso/include/isogfx/isogfx.h
parent21a0d0c1c424f7db90c3282aad4bf6ad4ef809b7 (diff)
Add pixel scaling.
Diffstat (limited to 'gfx-iso/include/isogfx/isogfx.h')
-rw-r--r--gfx-iso/include/isogfx/isogfx.h5
1 files changed, 4 insertions, 1 deletions
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*);
93/// position (x,y) instead, use isogfx_set_tile(). 93/// position (x,y) instead, use isogfx_set_tile().
94void isogfx_draw_tile(IsoGfx*, int x, int y, Tile); 94void isogfx_draw_tile(IsoGfx*, int x, int y, Tile);
95 95
96/// Return a pointer to the internal colour buffer. 96/// Resize the virtual screen's dimensions.
97bool isogfx_resize(IsoGfx*, int screen_width, int screen_height);
98
99/// Return a pointer to the virtual screen's colour buffer.
97/// 100///
98/// Call after each call to isogfx_render() to retrieve the render output. 101/// Call after each call to isogfx_render() to retrieve the render output.
99const Pixel* isogfx_get_screen_buffer(const IsoGfx*); 102const Pixel* isogfx_get_screen_buffer(const IsoGfx*);