Print text on gc.
void CL_Font::draw_text( CL_GraphicContext & gc, int x, int y, const CL_StringRef & text, const CL_Colorf & color = CL_Colorf::white ); void CL_Font::draw_text( CL_GraphicContext & gc, float x, float y, const CL_StringRef & text, const CL_Colorf & color = CL_Colorf::white ); void CL_Font::draw_text( CL_GraphicContext & gc, const CL_Pointf & position, const CL_StringRef & text, const CL_Colorf & color = CL_Colorf::white );
Detailed description:
Multiline text (seperated by /n) is supported