CL_Component::screen_to_client - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Component::screen_to_client

Returns the rect with coordinates converted from screen to client Returns the point with coordinates converted from screen to client

    	CL_Rect screen_to_client(
    		const CL_Rect& rect);

    	CL_Point screen_to_client(
    		const CL_Point& point);

See also:

CL_Rect | CL_Component | CL_Point

Questions or comments, write to the ClanLib mailing list.