1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

GetFont method at Graphic3d_AspectText3d is added.

This commit is contained in:
isk
2015-06-25 12:59:59 +03:00
parent aae09937f1
commit 59b82b1526
2 changed files with 10 additions and 0 deletions

View File

@@ -103,6 +103,11 @@ is
---AFont may be to take means from User(example "Courier New")
---or Font name defined in Font_NameOfFont(example Font_NOF_ASCII_MONO)
---or use default font("Courier")
GetFont (me) returns AsciiString from TCollection;
---Level: Public
---Purpose: Returns font name.
---C++: return const&
SetSpace ( me : mutable;

View File

@@ -128,6 +128,11 @@ void Graphic3d_AspectText3d::SetFont (const Standard_CString AFont) {
MyFont = aTemp;
}
const TCollection_AsciiString& Graphic3d_AspectText3d::GetFont() const
{
return MyFont;
}
void Graphic3d_AspectText3d::SetSpace (const Standard_Real ASpace) {
MySpace = ASpace;