Home | All Classes | Grouped Classes | Index | Search

CL_Font::get_alignment

Returns translation hotspot.

	void get_alignment(
		CL_Origin& origin, int& x, int& y);

Detailed description:

This only has an effect if you're using CL_Font's drawing mechanism itself. If the font is just being used inside a complex multi-font class (such as CL_TextStyler) then it makes no difference. If that's the case, use the equivalent property of the class containing the CL_Font.

The origin also serves as line justification, as with a word processor. That is, origin_*_center results in center justification, and so on.

See also:

CL_Font



Questions or comments, write to the ClanLib mailing list.