| synopsis || return value || arguments || prev || next |

jpx_composition::get_next_frame

jx_frame * get_next_frame( jx_frame * last_frame)

[Declared in "../apps/compressed_io/jpx.h"]

Go to class description.


Synopsis

Use this function to walk through frames within an animation. Setting last_frame to NULL will cause the first frame to be accessed. Supplying the pointer returned by this function to a subsequent call, will cause the next frame to be accessed.


Return Value

An opaque pointer which may be used to access the frame's instructions, or to access the next frame in sequence. The returned pointer will be NULL if and only if the requested frame does not exist. This could happen if the last_frame argument refers to the very last available frame.

Arguments

last_frame [jx_frame *]


| top || synopsis || return value || arguments || prev || next |