Constructors & DestructorUse the functions in this group to construct and destroy objects of class IStatefulGrafPort.
![]() |
public:
virtual ~IStatefulGrafPort()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
IStatefulGrafPort(IBaseRootGrafPort* root)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Accessing the PortUse the function in this group to access the stateful graphics port.
![]() |
public:
virtual const IGrafPort* portForStateUsage() const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Adopting and Releasing a Device ContextUse the functions in this group to assume and release ownership of a device context.
![]() |
public:
void adoptDeviceContext(IPresSpaceHandle)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
IPresSpaceHandle orphanDeviceContext()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Converting from Pixel to PointsizeUse 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 |
Inverting the Device TransformationUse the function in this group to invert the device transform to the logical coordinate system.
![]() |
public:
virtual const IGrafMatrix& invertedDeviceTransform() const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Marking the Graphics StateUse the functions in this group to mark the graphics state as in use or not.
![]() |
public:
virtual void doneWithState() const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual void useState() const
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Setting Graphics Port Substate Values Use the functions in this group to set the graphics port substate bundle, clipping area, and matrix.
![]() |
public:
void setBundle(const IGrafBundle& bundle)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
void setClipArea(const IGArea& clipArea)
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
void setMatrix( EMatrixKind matrixKind, const IGrafMatrix& matrix )
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
virtual ~IGrafPort()
const IAttributeState* attributes() const
const IGArea* clipArea() const
virtual IGRect2D convertRect(const IRectangle) const
virtual const IPresSpaceHandle& deviceContext()
virtual _XDisplay* display() const
virtual void doneWithState() const = 0
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 IGImage& theImage, const IGImage& theMask, const IGRect2D& srcBounds )
void draw( const IGImage& theImage, const IGRect2D& srcBounds, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw( const IGPolygon2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw( const IGRect2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw(const IGPolygon2D& geometry)
void draw( const IGLoop2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw(const IGEllipse2D& geometry)
void draw(const IGRect2D& geometry)
void draw(const IGCurve2D& geometry)
void draw(const IGLoop2D& geometry)
void draw(const IGImage& geometry)
void draw(const IGArea& geometry)
void draw( const IGImage& theImage, const IGImage& theMask, const IGRect2D& srcBounds, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw( const IGImage& theImage, const IGRect2D& srcBounds )
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 ( ) )
void draw(const IGLine2D& geometry)
void draw(const IGImage& geometry, const IGImage& theMask)
IGPoint2D draw(const IGTextRun& geometry)
void draw( const IGCurve2D& 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 IGPolyline2D& geometry)
void draw( const IGLine2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
void draw( const IGPolyline2D& geometry, const IAttributeState& attributeState, const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )
virtual unsigned long drawable() const
virtual void flush()
virtual _XGC* gc() const
const IGrafMatrix* matrix(EMatrixKind) 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