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