More TODOs regarding strides.

This commit is contained in:
Pietro Gagliardi 2018-08-06 08:52:51 -04:00
parent 976279ef33
commit cd38f77490
1 changed files with 1 additions and 0 deletions

View File

@ -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;