Open CASCADE Technology
7.2.0
|
Represents class for applying text formatting. More...
#include <Font_BRepTextBuilder.hxx>
Public Member Functions | |
TopoDS_Shape | Perform (Font_BRepFont &theFont, const Font_TextFormatter &theFormatter, const gp_Ax3 &thePenLoc=gp_Ax3()) |
Render text as BRep shape. More... | |
TopoDS_Shape | Perform (Font_BRepFont &theFont, const NCollection_String &theString, const gp_Ax3 &thePenLoc=gp_Ax3(), const Graphic3d_HorizontalTextAlignment theHAlign=Graphic3d_HTA_LEFT, const Graphic3d_VerticalTextAlignment theVAlign=Graphic3d_VTA_BOTTOM) |
Render text as BRep shape. More... | |
Protected Attributes | |
BRep_Builder | myBuilder |
Represents class for applying text formatting.
TopoDS_Shape Font_BRepTextBuilder::Perform | ( | Font_BRepFont & | theFont, |
const Font_TextFormatter & | theFormatter, | ||
const gp_Ax3 & | thePenLoc = gp_Ax3() |
||
) |
Render text as BRep shape.
theString | text in UTF-8 encoding |
thePenLoc | start position and orientation on the baseline |
theFormatter | formatter which defines alignment for the text |
TopoDS_Shape Font_BRepTextBuilder::Perform | ( | Font_BRepFont & | theFont, |
const NCollection_String & | theString, | ||
const gp_Ax3 & | thePenLoc = gp_Ax3() , |
||
const Graphic3d_HorizontalTextAlignment | theHAlign = Graphic3d_HTA_LEFT , |
||
const Graphic3d_VerticalTextAlignment | theVAlign = Graphic3d_VTA_BOTTOM |
||
) |
Render text as BRep shape.
theString | text in UTF-8 encoding |
thePenLoc | start position and orientation on the baseline |
theHAlign | horizontal alignment of the text |
theVAlign | vertical alignment of the text |
|
protected |