occt: master f3f08423

Author Committer Branch Timestamp Parent
kgv bugmaster master 2012-03-07 11:44:30 master 5faddbe4
Changeset 0022796: Possibility to display multi-line text in 3D

Changes:

Text rendering in OCCT 3D view can now display multi-line text correctly. In addition to '\n' and '\r' characters, '\t' is also treated specially, i.e. replaced by a fixed number of spaces. Other control characters (like '\b' or '\a') are simply ignored by text rendering code.

Also standard GL2PS's alignment isn't used because it's doesn't works correctly for all formats, therefore alignment is calculated manually now.
mod - src/OpenGl/OpenGl_Display_1.cxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File