Text

From ClanLib Game SDK

Demonstrates how to use CL_SpanLayout to display lots of text.

You can choose the target renderer by enabling the #define in program.cpp.

For OpenGL 2 and above:

  1. define USE_OPENGL_2 (default)

For OpenGL 1.3 and above:

  1. define USE_OPENGL_1

For Software renderer

  1. define USE_SOFTWARE_RENDERER
Example Window
.