Home | All Classes | Grouped Classes | Index | Search
Returns glyph rotation hotspot.
void get_glyph_rotation_hotspot( CL_Origin& origin, int& x, int& y);
Detailed description:
This is the hotspot origin which determines the rotation hotspot for individual rotation of glyphs (see CL_Font::set_glyph_angle()). Total rotation (not the same as glyph rotation) of the resulting text depends on this hotspot being origin_top_left:0:0, so if you set it to anything else, the results of glyph rotation combined with total rotation are unreadable (though still vaguely valid looking). This is fine if all you're doing is something like an explosion effect.
This property is set inside the glyphs sprite.
See also: