0030537: Visualization - wrapping text in font text formatter
authornds <nds@opencascade.com>
Mon, 7 Sep 2020 08:10:32 +0000 (11:10 +0300)
committernds <nds@opencascade.com>
Mon, 7 Sep 2020 08:10:32 +0000 (11:10 +0300)
commit60f7b2253650edf27be6404314c17e6e8a20c21a
tree25e9983428bf8c989b38f483f7528bd82cca2096
parenta516227511f3452f9f55b79c961265b0bf210793
0030537: Visualization - wrapping text in font text formatter

Font_TextFormatter inherits Standard_Transient, now it is given as a handle in functions.
Graphic3d_Text - extended with Font_TextFormatter to be able to have it filled out of text render. If it is not defined here, the default text formatter of context is used.
OpenGl_Context - has default Font_TextFormatter for rendering OpenGl_Text.
AIS_TextLabel extending with Font_TextFormatter to prepare test case for text wrapping.
Prs3d_Text returns created graphic text to be able to manage it outside.
14 files changed:
src/AIS/AIS_TextLabel.cxx
src/AIS/AIS_TextLabel.hxx
src/Font/Font_TextFormatter.cxx
src/Font/Font_TextFormatter.hxx
src/Graphic3d/Graphic3d_Text.hxx
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_TextBuilder.cxx
src/OpenGl/OpenGl_TextBuilder.hxx
src/Prs3d/Prs3d_Text.cxx
src/Prs3d/Prs3d_Text.hxx
src/StdPrs/StdPrs_BRepTextBuilder.cxx
src/StdPrs/StdPrs_BRepTextBuilder.hxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
tests/3rdparty/text3d/text_wrapped [new file with mode: 0644]