Home | All Classes | Grouped Classes | Index | Search

# CL_Sprite::get_frame_surface

Returns the surface of a frame. 0 is first frame. Returns the surface of a frame and its position. 0 is first frame.

    	CL_Surface get_frame_surface(
    		int frame);

    	CL_Surface get_frame_surface(
    		int frame, CL_Rect& surface_rect);

Detailed description:

Returns an empty surface if frame is invalid.

Returns an empty surface if frame is invalid.

See also:

CL_Rect | CL_Sprite | CL_Surface

Questions or comments, write to the ClanLib mailing list.