]> 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)
committernds <nds@opencascade.com>
Thu, 19 Nov 2020 08:41:58 +0000 (11:41 +0300)
commitc422080bc978ca0d75f5254daf12eefa5f318c13
tree91d2909cf6dbb2ee60ae292135a1431fb45375b3
parentf15477abf49fcf9c700b3736abff1bbe6060600e
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.

(cherry picked from commit 088d118ab9e3693a01c4c41e2bdad57c69d17bc9)
src/Font/Font_BRepTextBuilder.cxx
src/Font/Font_BRepTextBuilder.hxx
src/Font/Font_TextFormatter.cxx
src/Font/Font_TextFormatter.hxx
src/Graphic3d/Graphic3d_Text.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_TextBuilder.cxx
src/OpenGl/OpenGl_TextBuilder.hxx