]> OCCT Git - occt-copy.git/commit
0030537: Visualization - wrapping text in font text formatter
authornds <nds@opencascade.com>
Tue, 5 Mar 2019 15:51:12 +0000 (18:51 +0300)
committernds <nds@opencascade.com>
Tue, 5 Mar 2019 15:52:54 +0000 (18:52 +0300)
commit7f694369c88e1364dbc8e5c84b2368e9bebefd1f
tree89f49aa01e81437bce990b5741955d6cd1896906
parent4d964b448aa22b7545d0043cc644449a1dcd85b5
0030537: Visualization - wrapping text in font text formatter

#corners should be arranged around (0,0) point, example of the first point if rect width is 100, symbol has an empty width:
# - left alignment: (-50, 0)
# - center alignment: (0, 0)
# - right alignment: (50, 0)

(cherry picked from commit 3ae32a0a4e0fea48e00947c1761f60a0e123e45e)
src/Font/Font_TextFormatter.cxx