-
- /*
- double h = QApplication::desktop()->screenGeometry( QApplication::desktop()->primaryScreen() ).height() / 300. ;
- Handle(Prs3d_Drawer) drawer = myAISContext->DefaultDrawer();
- Handle(Prs3d_TextAspect) ta = drawer->TextAspect();
- ta->SetHeight(100); // VSR: workaround for CAS.CADE bug (is it really needed ???)
- ta->SetHeight(h);
- drawer->SetTextAspect(ta);
- drawer->AngleAspect()->SetTextAspect(ta);
- drawer->LengthAspect()->SetTextAspect(ta);
- */