1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024272: Provide basic text formatting routines for Font_BRepFont

Add new class Font_BRepTextBuilder for generation of formatted BRep text.
Delete method Font_BRepFont::RenderText(), which should be replaced by Font_BRepTextBuilder::Perform().
This commit is contained in:
isk
2015-08-24 14:10:22 +03:00
committed by ski
parent 2eea6525af
commit ac84fcf602
22 changed files with 487 additions and 149 deletions

View File

@@ -21,9 +21,10 @@
//! relative to its anchor.
enum Graphic3d_VerticalTextAlignment
{
Graphic3d_VTA_BOTTOM,
Graphic3d_VTA_CENTER,
Graphic3d_VTA_TOP
Graphic3d_VTA_BOTTOM, //!< The anchor lies on the last line of the text.
Graphic3d_VTA_CENTER, //!< The anchor lies on the center of the text (not bounding box).
Graphic3d_VTA_TOP, //!< The anchor lies on the line preceding to the first line of the text.
Graphic3d_VTA_TOPFIRSTLINE //!< The anchor lies on the first line of the text.
};
#endif // _Graphic3d_VerticalTextAlignment_HeaderFile