CL_GraphicContext::add_translate - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_GraphicContext::add_translate

Adds the translate offset.

    	void add_translate(
    		double x, double y, double z = 0.0);

Detailed description:

This offset will affect any subsequent display operations on the current displaycard, by translating the position of the display operation with the offset. The offset will be offset by any previous offsets pushed onto the stack, eg. it inherits the previous offset.

See also:

CL_GraphicContext

Questions or comments, write to the ClanLib mailing list.