CL_GraphicContext::push_cliprect - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_GraphicContext::push_cliprect

Push current clipping rectangle to stack.

    	void push_cliprect(
    		const CL_Rect& rect);

    	void push_cliprect();

Detailed description:

If a rectangle is passed, it afterwards sets clipping rectangle to the union of the current rectangle and the passed rectangle.

See also:

CL_GraphicContext | CL_Rect

Questions or comments, write to the ClanLib mailing list.