Constructors & DestructorUse the constructors and destructor in this group to create and destroy objects of class IGraphicGroup.
![]() |
public:
virtual ~IGraphicGroup()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
IGraphicGroup(IGrafBundle* adoptedBundle)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
public:
IGraphicGroup(const IGraphicGroup&)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
public:
IGraphicGroup()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Adding and Removing Graphics to the GroupUse the functions in this group to change the graphics in the group. For example, you can use these functions to orphan, or release, the first, the last, or a specific IMGraphic object or to adopt an IMGraphic object as the first or the last child in the hierarchy.
![]() |
public:
virtual void adoptFirst(IMGraphic* obj)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual void adoptLast(IMGraphic* obj)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual IMGraphic* orphan(const IMGraphic& obj)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual IMGraphic* orphanFirst()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual IMGraphic* orphanLast()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Assignment OperatorUse the operator in this group to assign the given graphics group to the target one.
![]() |
public:
IGraphicGroup& operator =(const IGraphicGroup& source)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Creating a Graphics Group IteratorUse the function in this group to create a graphics group iterator.
![]() |
public:
virtual IGraphicIterator* createIterator() const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Obtaining Bounding InformationUse the functions in this group to get the bounding information for the graphics group.
![]() |
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 Graphics GroupUse the functions in this group to obtain information about the graphics group, such as how many IMGraphics it contains or if it intersects a given given rectangle or ti obtain its IGrafMatrix.
![]() |
public:
virtual long count() const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual bool intersects(const IGRect2D& rect) const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
const IGrafMatrix* matrix() const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Rendering the Group of GraphicsUse the function in this group to draw the group of graphics to the port.
![]() |
public:
virtual void draw(IGrafPort& port) const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Streaming an Object In and OutUse the functions in this group to stream the graphics group in from and out to the given stream.
![]() |
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 IGraphicGroup and IMDrawable Objects for EqualityUse the function in this group to determine whether the given IMDrawable object and the current IGraphicGroup objects are equal.
![]() |
public:
virtual bool operator ==(const IMDrawable&) const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Transforming the Graphics GroupUse the function in this group to change the shape of the graphics and their positions.
![]() |
public:
virtual void transformBy(const IGrafMatrix&)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
typedef IVPtrDeque < IMGraphic * > GraphicDeque
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
virtual ~IGraphicHierarchy()
virtual IGraphicIterator* createIterator() const = 0
virtual void draw(IGrafPort&) const = 0
virtual IGRect2D geometricBounds() const = 0
virtual IGRect2D looseFitBounds( const IGrafPort* = 0 ) const = 0
virtual void transformBy(const IGrafMatrix&) = 0
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
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 translateBy(const IGPoint2D&)
virtual ~IMStreamable()
void externalizeToStream(IDataStream& towhere) const
void internalizeFromStream(IDataStream& fromwhere)
virtual const ITypeRepresentation& typeRepresentation() const = 0
IGraphicHierarchy(const IGraphicHierarchy&)
IGraphicHierarchy(IGrafBundle* adoptBundle)
IGraphicHierarchy()
IGraphicHierarchy& operator =( const IGraphicHierarchy& source )
IMDrawable(const IMDrawable&)
IMDrawable()
IMDrawable& operator =(const IMDrawable& source)
IMGraphic(const IMGraphic&)
IMGraphic(IGrafBundle* adoptedBundle)
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()
IMStreamable(const IMStreamable& other)
virtual void readFromStream(IDataStream& fromwhere) = 0
virtual void writeToStream(IDataStream& towhere) const = 0