Constructors & DestructorUse the functions in this group to construct and destroy objects of class IPolygon.
![]() |
public:
virtual ~IPolygon()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
IPolygon(const IPolygon&)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
public:
IPolygon( IGPolygon2D* adoptPolygon, IGrafBundle* adoptBundle = 0 )
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
public:
IPolygon()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Adopting and Releasing the GeometryUse the functions in this group to take ownership of the polygon geometry or to return it to the caller.
![]() |
public:
virtual void adoptGeometry(IGPolygon2D*)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual IGPolygon2D* orphanGeometry()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Assignment OperatorUse the function in this group to assign the given IPolygon object to the target one.
![]() |
public:
IPolygon& operator =(const IPolygon& source)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Drawing the PolygonUse the function in this group to draw the polygon to the given graphics port.
![]() |
public:
virtual void draw(IGrafPort&) const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Obtaining an Alias to Counterpart GeometryUse the function in this group to obtain an alias for accessing the counterpart geometry.
![]() |
public:
virtual const IGPolygon2D* geometry()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Obtaining Bounding InformationUse the functions in this group to obtain the bounding rectangle of the geometry or to obtain its the device-dependent bounds.
![]() |
public:
virtual IGRect2D geometricBounds() const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual IGRect2D looseFitBounds(const IGrafPort* = 0) const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Obtaining Information About the PolygonUse the function in this group to determine if the polygon intersects the given rectangle.
![]() |
public:
virtual bool intersects(const IGRect2D& rect) const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Streaming an Object In and OutUse the functions in this group to read the IPolygon object in from the specified stream or write it out to it.
![]() |
protected:
virtual void readFromStream(IDataStream& toWhere)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
protected:
virtual void writeToStream(IDataStream& toWhere) const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Testing the IPolygon and IMDrawable Objects for EqualityUse the function in this group to compare the IPolygon object with the IMDrawable one for equality.
![]() |
public:
virtual bool operator ==(const IMDrawable&) const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Transforming the PolygonUse the function in this group to change the graphic's shape and position using the transformation matrix.
![]() |
public:
virtual void transformBy(const IGrafMatrix&)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
virtual ~IMDrawable()
bool operator !=(const IMDrawable&) const
virtual ~IMGraphic()
virtual void adoptAttributeState( IAttributeState* adoptedAttributeState )
virtual void adoptBundle(IGrafBundle* adoptedBundle)
virtual const IAttributeState* attributeState() const
virtual const IGrafBundle* bundle() const
virtual void draw(IGrafPort& port) const = 0
virtual IGRect2D geometricBounds() const = 0
IMGraphic()
virtual IAttributeState* orphanAttributeState()
virtual IGrafBundle* orphanBundle()
virtual void rotateBy( GDegrees, const IGPoint2D& centerOfRotation = IGPoint2D::origin ( ) )
virtual void scaleBy( const IGPoint2D&, const IGPoint2D& centerOfScale = IGPoint2D::origin ( ) )
virtual void transformBy(const IGrafMatrix&) = 0
virtual void translateBy(const IGPoint2D&)
virtual ~IMStreamable()
void externalizeToStream(IDataStream& towhere) const
void internalizeFromStream(IDataStream& fromwhere)
virtual const ITypeRepresentation& typeRepresentation() const = 0
IMDrawable()
IMDrawable(const IMDrawable&)
IMDrawable& operator =(const IMDrawable& source)
IMGraphic(IGrafBundle* adoptedBundle)
IMGraphic(const IMGraphic&)
IMGraphic& operator =(const IMGraphic& source)
virtual void resetTimeStamp()
void setHit(bool flag)
virtual void setTimeStamp(const unsigned long&)
virtual unsigned long timeStamp() const
virtual void updateTimeStamp()
IMStreamable(const IMStreamable& other)
IMStreamable()
virtual void readFromStream(IDataStream& fromwhere) = 0
virtual void writeToStream(IDataStream& towhere) const = 0