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

jpx_composition::get_prev_frame

jx_frame * get_prev_frame( jx_frame * last_frame)

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

Go to class description.


Synopsis

Use this function to walk backwards through frames within an animation, returning a pointer to the frame which immediately precedes that identified by the last_frame argument. If there is none, the function returns NULL. Note that, unlike get_next_frame, the last_frame argument supplied to this function MUST NOT be NULL.


Return Value

An opaque pointer which may be used to access the frame's instructions. 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 first available frame.

Arguments

last_frame [jx_frame *]


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