CL_Texture::copy_subimage - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Texture::copy_subimage

Copy sub image data from a graphic context.

    	void copy_subimage(
    		int offset_x, int offset_y, int level, CL_GraphicContext* gc = 0);

    	void copy_subimage(
    		int offset_x, int offset_y, int x, int y, int width, int height, int level = 0, CL_GraphicContext* gc = 0);

    	void copy_subimage(
    		const CL_Point& offset, const CL_Rect& pos, int level = 0, CL_GraphicContext* gc = 0);

See also:

CL_GraphicContext | CL_Rect | CL_Texture | CL_Point

Questions or comments, write to the ClanLib mailing list.