]> OCCT Git - occt-copy.git/commit
0026361: Visualization - move OpenGl_TextFormatter to Font_TextFormatter
authorisk <isk@opencascade.com>
Wed, 15 Jul 2015 11:39:47 +0000 (14:39 +0300)
committeraba <aba@opencascade.com>
Thu, 6 Aug 2015 09:46:36 +0000 (12:46 +0300)
commitb80e2ced3b72ae943bcd414b3d4e043be4e6e7e9
tree278e1a60d287d7427cc9eb611150ebc34bb240ea
parentb3b55601fb31e7c769cc6e25e0eefca3cdb4d0ab
0026361: Visualization - move OpenGl_TextFormatter to Font_TextFormatter
for usage without OpenGL.
Split OpenGl_TextFormatter into Font_TextFormatter and OpenGl_TextBuilder.
Font_TextFormatter can format a text independetly of OpenGl now.
OpenGl_TextBuilder generates primitive array required for rendering text
using OpenGl_Font instance.
14 files changed:
src/Font/FILES
src/Font/Font_FTFont.cxx
src/Font/Font_FTFont.hxx
src/Font/Font_TextFormatter.cxx [new file with mode: 0644]
src/Font/Font_TextFormatter.hxx [new file with mode: 0644]
src/OpenGl/FILES
src/OpenGl/OpenGl_Font.cxx
src/OpenGl/OpenGl_Font.hxx
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_Text.hxx
src/OpenGl/OpenGl_TextBuilder.cxx [new file with mode: 0644]
src/OpenGl/OpenGl_TextBuilder.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_TextFormatter.cxx [deleted file]
src/OpenGl/OpenGl_TextFormatter.hxx [deleted file]