aboutsummaryrefslogtreecommitdiff
path: root/subprojects/d2tk/nanovg/src/nanovg.h
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/d2tk/nanovg/src/nanovg.h')
-rw-r--r--subprojects/d2tk/nanovg/src/nanovg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/subprojects/d2tk/nanovg/src/nanovg.h b/subprojects/d2tk/nanovg/src/nanovg.h
index e3d7ee1..8aaec30 100644
--- a/subprojects/d2tk/nanovg/src/nanovg.h
+++ b/subprojects/d2tk/nanovg/src/nanovg.h
@@ -386,6 +386,9 @@ int nvgCreateImageARGB(NVGcontext* ctx, int w, int h, int imageFlags, const unsi
// Updates image data specified by image handle.
void nvgUpdateImage(NVGcontext* ctx, int image, const unsigned char* data);
+// Updates part image data specified by image handle.
+void nvgUpdateSubImage(NVGcontext* ctx, int image, const unsigned char* data, int x, int y, int w, int h);
+
// Returns the dimensions of a created image.
void nvgImageSize(NVGcontext* ctx, int image, int* w, int* h);