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