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

0027921: Visualization - add missing Graphic3d_AspectText3d method defining label transparency

This commit is contained in:
kgv
2017-04-18 21:34:28 +03:00
committed by bugmaster
parent d51a0ff64a
commit 85719f0ef9
3 changed files with 25 additions and 6 deletions

View File

@@ -77,6 +77,9 @@ public:
//! Modifies the color.
void SetColor (const Quantity_Color& theColor) { myColor.SetRGB (theColor); }
//! Modifies the color.
void SetColor (const Quantity_ColorRGBA& theColor) { myColor = theColor; }
//! Modifies the expansion factor (height/width ratio)
//! If the factor is less than 1, the characters will
//! be higher than they are wide.
@@ -144,6 +147,10 @@ public:
//! and the color of background for the TODT_DEKALE TextDisplayType.
void SetColorSubTitle (const Quantity_Color& theColor) { myColorSubTitle.SetRGB (theColor); }
//! Modifies the color of the subtitle for the TODT_SUBTITLE TextDisplayType
//! and the color of background for the TODT_DEKALE TextDisplayType.
void SetColorSubTitle (const Quantity_ColorRGBA& theColor) { myColorSubTitle = theColor; }
//! Returns TRUE when the Text Zoomable is on.
bool GetTextZoomable() const { return myTextZoomable; }