]> 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>
Fri, 4 Oct 2019 15:55:18 +0000 (18:55 +0300)
commit04f32ec6a6f8153d93c57e07b91f482db6dad4c0
treead7824c548ff1f246e3ac6c8b243e6f07340186f
parentf7d176b4c9789f38fa3842a38966ccf8bcd87c3a
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 d5c557436d0c615fab33f90e94efcdf22287d721)
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