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:
@@ -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
|
||||
|
Reference in New Issue
Block a user