Dear sirs,
we are using binary format emWin 5.24 version with LPC1788 processor.
We use GUI_JPEG_DrawScaledEx(GUI_GET_DATA_FUNC * pfGetData, void * p, int x0, int y0, int Num, int Denom) and we need to exit from this routine before it is normally completed.
Looking at emWina manual (page 174, paragraph 8.5 Getting data with the ...Ex() functions), they write:
Return value
The number of bytes which were actually read. If the number of read bytes does not
match, the drawing function will return immediately.
We experienced that it does not work, that is: in our pfGetData function (that works correctly) we tried to return a not-matching value to anticipate exit from GUI_JPEG_DrawScaledEx(), but it does not exit. Any suggestion?
Best regards and thank you,
Valter Rasicci
we are using binary format emWin 5.24 version with LPC1788 processor.
We use GUI_JPEG_DrawScaledEx(GUI_GET_DATA_FUNC * pfGetData, void * p, int x0, int y0, int Num, int Denom) and we need to exit from this routine before it is normally completed.
Looking at emWina manual (page 174, paragraph 8.5 Getting data with the ...Ex() functions), they write:
Return value
The number of bytes which were actually read. If the number of read bytes does not
match, the drawing function will return immediately.
We experienced that it does not work, that is: in our pfGetData function (that works correctly) we tried to return a not-matching value to anticipate exit from GUI_JPEG_DrawScaledEx(), but it does not exit. Any suggestion?
Best regards and thank you,
Valter Rasicci