]> OCCT Git - occt-copy.git/commit
0030537: Visualization - wrapping text in font text formatter
authornds <nds@opencascade.com>
Mon, 2 Sep 2019 15:44:07 +0000 (18:44 +0300)
committersnn <sergey.nikonov@opencascade.com>
Tue, 16 Mar 2021 12:03:53 +0000 (15:03 +0300)
commitafb1205b9aab8a17926e32fe41ebd012fb4a12fa
tree163a3bf849ee5a74537a5e6c1142511085f1cd42
parentaaef43b96168f8686f8012f7f63e927861b2212f
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.

# Conflicts:
# src/Font/Font_TextFormatter.cxx
# src/Font/Font_TextFormatter.hxx
# src/Graphic3d/Graphic3d_Text.hxx
# src/OpenGl/OpenGl_Context.cxx
# src/OpenGl/OpenGl_Text.cxx
# src/OpenGl/OpenGl_TextBuilder.cxx
# src/StdPrs/StdPrs_BRepTextBuilder.cxx
src/Font/Font_BRepTextBuilder.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_Text.cxx