All Classes |Grouped Classes |Index

Function draw_text

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 );

	void CL_Font_Sprite::draw_text(
		CL_GraphicContext & gc,
		float xpos,
		float ypos,
		float scale_x,
		float scale_y,
		const CL_StringRef & text,
		const CL_Colorf & color = CL_Colorf::white );

	void CL_Font::draw_text();

	void CL_Font::draw_text();

	void CL_Font::draw_text();

Detailed description:

Multiline text (seperated by /n) is supported