Use these functions to construct and destroy IBaseRootGrafPort objects.
![]() |
public:
virtual ~IBaseRootGrafPort()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
IBaseRootGrafPort( const IPresSpaceHandle& deviceContextToBeAdopted, IColorMap* colormap = & ( IColorMap::defaultColorMap ( ) ) )
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the functions in this group to convert coordinates from pixels to points.
![]() |
public:
virtual const IGrafMatrix& pixelToPointSize() const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the function in this group to set up the coordinate system for the top graphics port in a port hierarchy.
![]() |
protected:
void setupCoordinateSystem(int coordinateSystem)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the function in this group to invert the device transformation to its logical coordinate system.
![]() |
public:
virtual const IGrafMatrix& invertedDeviceTransform() const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the functions in this group to mark the graphics state as either in use or not in use.
![]() |
public:
virtual void doneWithState() const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual void useState() const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the function in this group to obtain the bounding rectangle of a graphics device.
![]() |
public:
IGRect2D worldBounds() const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the functions in this group to obtain IXDC information on AIX.
![]() |
public:
virtual _XDisplay* display() const
Gets the IXDC display information.
Windows | OS/2 | AIX |
No | No | Yes |
![]() |
public:
virtual unsigned long drawable() const
Gets the IXDC drawable information.
Windows | OS/2 | AIX |
No | No | Yes |
![]() |
public:
virtual _XGC* gc() const
Gets the IXDC gc information.
Windows | OS/2 | AIX |
No | No | Yes |
virtual ~IGrafPort()
void adoptDeviceContext(IPresSpaceHandle)
const IAttributeState* attributes() const
const IGArea* clipArea() const
virtual IGRect2D convertRect(const IRectangle) const
virtual const IPresSpaceHandle& deviceContext()
virtual void doneWithState() const = 0
void draw( const IGImage& theImage, const IGImage& theMask, const IGRect2D& srcBounds )
void draw( const IGPolyline2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw(const IGLine2D& geometry)
void draw( const IGCurve2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw(const IGRect2D& geometry)
void draw( const IGImage& theImage, const IGRect2D& srcBounds, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw(const IGImage& geometry, const IGImage& theMask)
IGPoint2D draw(const IGTextRun& geometry)
void draw( const IGRect2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw(const IGPolygon2D& geometry)
void draw(const IGEllipse2D& geometry)
void draw( const IGPolygon2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw(const IGPolyline2D& geometry)
void draw(const IGArea& geometry)
void draw( const IGLine2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw( const IGEllipse2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw( const IGImage& theImage, const IGImage& theMask, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw( const IGLoop2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw( const IGImage& theImage, const IGRect2D& srcBounds )
void draw(const IGImage& geometry)
void draw(const IGLoop2D& geometry)
void draw( const IGArea& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw( const IGImage& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
IGPoint2D draw( const IGTextRun& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw(const IGCurve2D& geometry)
void draw( const IGImage& theImage, const IGImage& theMask, const IGRect2D& srcBounds, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
virtual void flush()
const IGrafMatrix* matrix(EMatrixKind) const
IPresSpaceHandle orphanDeviceContext()
virtual const IGrafPort* portForStateUsage() const
const IString* portType() const
virtual void useState() const = 0
void adoptOrphanedGrafState(IGrafState* orphan)
IGrafDevice* device()
IGrafPort( IGrafDevice* referencedDevice, IColorMap* colormap = & ( IColorMap::defaultColorMap ( ) ) )
IGrafPort()
void setDevice(IGrafDevice* device)
void setState(IGrafState* state)
const IGrafState* state() const