From cd38f774905d60c9c50e42fb71b72058bfe7c3d7 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 6 Aug 2018 08:52:51 -0400 Subject: [PATCH] More TODOs regarding strides. --- uitable.h | 1 + 1 file changed, 1 insertion(+) diff --git a/uitable.h b/uitable.h index 17a7abe8..23e7abab 100644 --- a/uitable.h +++ b/uitable.h @@ -41,6 +41,7 @@ _UI_EXTERN void uiFreeImage(uiImage *i); // pixelHeight is the size *in pixels* of the image, and pixelStride is // the number *of bytes* per row of the pixels array. Therefore, // pixels itself must be at least byteStride * pixelHeight bytes long. +// TODO see if we either need the stride or can provide a way to get the OS-preferred stride (in cairo we do) _UI_EXTERN void uiImageAppend(uiImage *i, void *pixels, int pixelWidth, int pixelHeight, int byteStride); typedef struct uiTableValue uiTableValue;