CL_GraphicContext::set_translate - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_GraphicContext::set_translate

Sets a translate offset matrix, ignoring any earlier model view settings.

    	void set_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.

See also:

CL_GraphicContext

Questions or comments, write to the ClanLib mailing list.