VisualizationFoundation CAT2DAnnotationTextRep

Usage: you must use this class as is. You should never derive it.


public class CAT2DAnnotationTextRep

Class to create a representation of a 2D annotation text.
Role: These representations have not a continuous zoom. There are various possible zoom values and current zoom is the zoom which is the nearest of possible zoom values.


Constructor and Destructor Index


o CAT2DAnnotationTextRep(float[2],CATUnicodeString&,CATAnchorPoint,float,int,CATGraphicAttributeSet*,CATGraphicAttributeSet*)
Constructs a 2D annotation text Graphic primitive.
o ~CAT2DAnnotationTextRep()

Constructor and Destructor


o CAT2DAnnotationTextRep
public CAT2DAnnotationTextRep( const iPoint,
const iString,
iPosition= BASE_LEFT,
const iHeight= 0.f,
const iContour= 0,
const iContour1= NULL,
const iContour2= NULL)
Constructs a 2D annotation text Graphic primitive.
Parameters:
iPoint
the position of the representation in a 2D space
iString
the string of characters which composes the text of the 2DAnnotationTextRep
iPosition
the position of iPoint with respect to string of the 2DAnnotationTextRep
legal values:
   TOP_LEFT          TOP_CENTER       TOP_RIGHT
            +------------+-----------+
            !                        !
            !        BASE_CENTER     !
  BASE_LEFT +            +           + BASE_RIGHT
            !                        !
            +------------+-----------+
 BOTTOM_LEFT       BOTTOM_CENTER      BOTTOM_RIGHT
iHeight
the height of the representation
iContour
the integer which allows or does not allow to construct a contour around the representation.
legal values:
0 : no contour is constructed around the graphic primitive.
1 : a contour is constructed around the graphic primitive.
iContour1
the graphic attribute which defines graphic properties of top and left segments of the contour around the representation.
legal values: the default value is NULL.
iContour2
the graphic attribute which defines graphic properties of bottom and right segments of the contour around the representation.
legal values: the default value is NULL.
o ~CAT2DAnnotationTextRep
public virtual ~CAT2DAnnotationTextRep()

This object is included in the file: CAT2DAnnotationTextRep.h
If needed, your Imakefile.mk should include the module: CATVisFoundation

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.