- TPolygon
- ~TPolygon
- Draw
- TransformBy
- ScaleBy
- TranslateBy
- RotateBy
- GetGeometricBounds
- GetLooseFitBounds
- GetNumberOfPoints
- GetPoint
- GetPoints
- IsRectilinear
- GetEOFill
- IsConvex
- SetEOFill
- SetPoints
- SetPoint
- AddBefore
- Append
- RemovePoint
- ReverseDirection
- DragPosition
- NearestParametric
- operator=
- operator==
- operator!=
- operator>>=
- operator<<=
- Validate

- TPolygon (const TPolygon &)
- TPolygon (const TGPolygon &, TGrafBundle * adoptBundle =NIL)
- TPolygon (const TGRect &, TGrafBundle * adoptBundle =NIL)
- TPolygon (unsigned long numPoints, bool EOFill =true, TGrafBundle * adoptBundle =NIL)
- TPolygon (const TGPointArray & pts, bool EOFill =true, TGrafBundle * adoptBundle =NIL)
- TPolygon ()

- Copy constructor.
- Creates a TPolygon from the specified TGPolygon with the specified bundle.
- Creates a TPolygon (a rectangle) from the specified TGRect with the specified attribute bundle.
- Creates a TPolygon with the specified number of points, fill rule, and attribute bundle.
- Creates a TPolygon with the specified points, fill rule, and attribute bundle.
- Default constructor.

- Called to copy an object.
- Call this function directly.
- Call this function directly.
- Call this function directly.
- Call this function directly.
- Called by the stream-in operators.

- const TPolygon & -The polygon to be copied.
- const TGPolygon & -The polygon geometry to be copied.
- TGrafBundle * adoptBundle =NIL -The attribute bundle to be adopted.
- const TGRect & -The rectangle geometry to be converted into a polygon.
- TGrafBundle * adoptBundle =NIL -The attribute bundle to be adopted.
- unsigned long numPoints -The number of points in this polygon.
- bool EOFill =true -The flag indicating whether to use the even-odd rule or the nonzero winding number rule when filling the shape. The default is true--even-odd fill rule.
- TGrafBundle * adoptBundle =NIL -The attribute bundle to be adopted.
- const TGPointArray & pts -The array of points that make up the polygon.
- bool EOFill =true -The flag indicating whether to use the even-odd rule or the nonzero winding number rule when filling the shape. The default is true--even-odd fill rule.
- TGrafBundle * adoptBundle =NIL -The attribute bundle to be adopted.
- Takes no parameters.

- Takes no parameters.

- TGrafPort & port -The port to which drawing should go. The port in turn invokes rendering on a particular TGrafDevice.

- const TGrafMatrix & -The transformation matrix by which the polygon's points are multiplied.

- const TGPoint & -A vector whose x-coordinate is the horizontal scalar, and whose y-coordinate is the vertical scalar.
- const TGPoint & =TGPoint :: kOrigin -The point from which to measure the horizontal and vertical displacement of each point to be scaled. To create the resulting geometry, the displacements are multiplied by the horizontal and vertical scalars, respectively. The default center of scale is the origin (0,0).

- const TGPoint & -The vector whose x- and y-coordinates are to be added to those of each point in the geometry.

- GDegrees -The number of degrees to rotate the graphic.
- const TGPoint & =TGPoint :: kOrigin -The point around which the polygon is rotated.

- Takes no parameters.

- const TGrafPort * =NIL -The graphics port used for accessing hierarchical bundles.

- Takes no parameters.

- unsigned long index -The index into the array of control points. Zero returns the first point.

- TGPointArray & pts -The polygon's control points, returned by reference.

- Takes no parameters.

- Takes no parameters.

- Takes no parameters.

- bool EOFill -true if an even-odd rule should be used for determining what area is filled, and false if a nonzero winding rule should be used.

- const TGPointArray & newPoints -The new control points.

- unsigned long index -The index (whose value must be less than the number of control points).
- const TGPoint & p -The new control point.

- unsigned long index -The index (whose value must be less than the number of control points).
- const TGPoint & tobeadded -The new control point.

- const TGPoint & p -The new control point.

- unsigned long index -The index (whose value must be less than the number of control points).

- Takes no parameters.

- GCoordinate parametric -The parametric value.
- const TGPoint & toPoint -The new point that this polyline passes through.

- const TGPoint & p -The point for which the parametric value is computed.

- const TPolygon & source -The polygon to be copied.

- const TPolygon & source -The polygon to be compared to this polygon.

- const TPolygon & -The polygon to be compared to this polygon.

- TStream & -The stream that the object is streamed out to.

- TStream & -The stream that the object is streamed in from.

- Takes no parameters.

Click the icon to mail questions or corrections about this material to Taligent personnel.

Copyright©1995 Taligent,Inc. All rights reserved.