-
I apologize if this is a basic question but I am relatively new to this and I am trying to test different things. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In the GIFDRAW structure is a void pointer (void *) called pUser. This is for you to pass whatever you want (pointer to a structure) to the GIFDraw callback function. It's the 3rd (optional) parameter for the playFrame() method. playframe(bool bSync, int *delayMilliseconds, void *pUser); Create a 2 element integer array with the corner offset you want and pass it as the pUser parameter. |
Beta Was this translation helpful? Give feedback.
-
In GIFDraw: |
Beta Was this translation helpful? Give feedback.
In the GIFDRAW structure is a void pointer (void *) called pUser. This is for you to pass whatever you want (pointer to a structure) to the GIFDraw callback function. It's the 3rd (optional) parameter for the playFrame() method.
playframe(bool bSync, int *delayMilliseconds, void *pUser);
Create a 2 element integer array with the corner offset you want and pass it as the pUser parameter.