occt: master 60f7b225

Author Committer Branch Timestamp Parent
nds nds master 2020-09-07 08:10:32 master a5162275
Affected Issues  0030537: Visualization - wrapping text in font text formatter
Changeset 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.
mod - src/AIS/AIS_TextLabel.cxx Diff File
mod - src/AIS/AIS_TextLabel.hxx Diff File
mod - src/Font/Font_TextFormatter.cxx Diff File
mod - src/Font/Font_TextFormatter.hxx Diff File
mod - src/Graphic3d/Graphic3d_Text.hxx Diff File
mod - src/OpenGl/OpenGl_Text.cxx Diff File
mod - src/OpenGl/OpenGl_TextBuilder.cxx Diff File
mod - src/OpenGl/OpenGl_TextBuilder.hxx Diff File
mod - src/Prs3d/Prs3d_Text.cxx Diff File
mod - src/Prs3d/Prs3d_Text.hxx Diff File
mod - src/StdPrs/StdPrs_BRepTextBuilder.cxx Diff File
mod - src/StdPrs/StdPrs_BRepTextBuilder.hxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
add - tests/3rdparty/text3d/text_wrapped Diff File