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

void Aspect_AspectMarker::SetScale ( const Standard_Real  AScale  )  [inherited]

Modifies the scale factor of <me>.
Marker type Aspect_TOM_POINT is not affected
by the marker size scale factor. It is always
the smallest displayable dot.
Warning: Raises AspectMarkerDefinitionError if the
scale is a negative value.

Definition at line 78 of file Aspect_AspectMarker.cxx.

Referenced by Graphic3d_Group::GroupPrimitivesAspect().

                                                              {

      if (AScale <= 0.0)
            Aspect_AspectMarkerDefinitionError::Raise
                  ("Bad value for MarkerScale");

      MyScale     = AScale;

}


Generated by  Doxygen 1.6.0   Back to index