1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +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:
aba
2016-04-07 11:50:33 +03:00
committed by bugmaster
parent 016e595986
commit 3f1eb0abf9
12 changed files with 210 additions and 25 deletions

View File

@@ -2727,6 +2727,10 @@ static int VDrawText (Draw_Interpretor& theDI,
aHasPlane = Standard_True;
}
else if (aParam == "-flipping")
{
aTextPrs->SetFlipping (Standard_True);
}
else if (aParam == "-disptype"
|| aParam == "-displaytype")
{
@@ -6410,6 +6414,7 @@ void ViewerTest::ObjectCommands(Draw_Interpretor& theCommands)
"\n\t\t: [-subcolor {R G B|name}=white]"
"\n\t\t: [-noupdate]"
"\n\t\t: [-plane NormX NormY NormZ DirX DirY DirZ]"
"\n\t\t: [-flipping]"
"\n\t\t: Display text label at specified position.",
__FILE__, VDrawText, group);