mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0027359: Visualization - add support of flipping for textured text
Added option for OpenGl_Text to use previous model-view state. Added interface to enable this option in Prs3d_Text Added option to enable flipping in AIS_NameLabel Eliminated warning
This commit is contained in:
@@ -46,7 +46,8 @@ public:
|
||||
//! Creates new text in 3D space.
|
||||
Standard_EXPORT OpenGl_Text (const Standard_Utf8Char* theText,
|
||||
const gp_Ax2& theOrientation,
|
||||
const OpenGl_TextParam& theParams);
|
||||
const OpenGl_TextParam& theParams,
|
||||
const bool theHasOwnAnchor = true);
|
||||
|
||||
//! Setup new string and position
|
||||
Standard_EXPORT void Init (const Handle(OpenGl_Context)& theCtx,
|
||||
@@ -168,6 +169,7 @@ protected:
|
||||
bool myIs2d;
|
||||
gp_Ax2 myOrientation; //!< Text orientation in 3D space.
|
||||
bool myHasPlane; //!< Check if text have orientation in 3D space.
|
||||
bool myHasAnchorPoint; //!< Shows if it has own attach point
|
||||
|
||||
public:
|
||||
|
||||
|
Reference in New Issue
Block a user