Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

void Graphic3d_AspectText3d::SetExpansionFactor ( const Standard_Real  AFactor  ) 

Modifies the expansion factor (height/width ratio)
If the factor is less than 1, the characters will
be higher than they are wide.

Definition at line 135 of file Graphic3d_AspectText3d.cxx.

Referenced by Graphic3d_Group::GroupPrimitivesAspect().

                                                                            {

      if (AFactor <= 0.0)
            Graphic3d_AspectTextDefinitionError::Raise
                  ("Bad value for TextScaleFactor");

      MyFactor    = AFactor;

}


Generated by  Doxygen 1.6.0   Back to index