### IExtendedRootGrafPort

  IExtendedRootGrafPort is an extended IBaseRootGrafPort.It defines the coordinate system and mapping mode of the device. IExtendedRootGrafPort is an extended IBaseRootGrafPort. However, IExtendedRootGrafPort uses device coordinate which is in pixels to draw all the graphics except text which is specified in point size only. IExtendedRootGrafPort defines the coordinate system and mapping mode of the device.

### IExtendedRootGrafPort - Member Functions and Data by Group

### Constructors & Destructor

Use the constructors and destructor in this group to create and destroy objects of class IExtendedRootGrafPort.

~IExtendedRootGrafPort

      public:
      virtual ~IExtendedRootGrafPort()

  Destroys the IExtendedRootGrafPort object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

IExtendedRootGrafPort

  Overload 1
  Creates an IExtendedRootGrafPort with a handle of device context, type of coordinate system, and mapping mode.

      public:
      IExtendedRootGrafPort( IPresSpaceHandle deviceContextToBeAdopted,
                             ICoordinateSystem::EOrientation,
                             EDeviceMappingMode = kPixel )

  deviceContextToBeAdopted
    The handle of the device context to be adopted.
  ICoordinateSystem::EOrientation
    The type of coordinate system.
  EDeviceMappingMode
    The mapping mode. The default value is kPixel.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 2
  Creates an IExtendedRootGrafPort with a handle of device context and mapping mode. The type of coordinate system will be determined by ICoordinateSystem::applicationOrientation settings.

      public:
      IExtendedRootGrafPort( IPresSpaceHandle deviceContextToBeAdopted,
                             EDeviceMappingMode = kPixel )

  deviceContextToBeAdopted
    The handle of the device context to be adopted.
  EDeviceMappingMode
    The mapping mode. The default value is kPixel.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IExtendedRootGrafPort - Inherited Member Functions and Data

#### Inherited Public Functions

  IBaseRootGrafPort

  -     virtual ~IBaseRootGrafPort()

  -     virtual _XDisplay* display() const

  -     virtual void doneWithState() const

  -     virtual unsigned long drawable() const

  -     virtual _XGC* gc() const

  -     IBaseRootGrafPort( const IPresSpaceHandle& deviceContextToBeAdopted,
                           IColorMap* colormap = & ( IColorMap::defaultColorMap ( ) ) )

  -     virtual const IGrafMatrix& invertedDeviceTransform() const

  -     virtual const IGrafMatrix& pixelToPointSize() const

  -     virtual void useState() const

  -     IGRect2D worldBounds() const

  IGrafPort

  -     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,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void draw(const IGPolyline2D& geometry)

  -     void
          draw( const IGImage& theImage,
                const IGImage& theMask,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void
          draw( const IGPolyline2D& geometry,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void
          draw( const IGImage& theImage,
                const IGImage& theMask,
                const IGRect2D& srcBounds )

  -     void
          draw( const IGImage& geometry,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void draw(const IGPolygon2D& geometry)

  -     IGPoint2D draw(const IGTextRun& geometry)

  -     void
          draw( const IGRect2D& geometry,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void
          draw( const IGPolygon2D& geometry,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void
          draw( const IGImage& theImage,
                const IGRect2D& srcBounds,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void draw(const IGCurve2D& geometry)

  -     void
          draw( const IGLine2D& geometry,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void draw(const IGRect2D& geometry)

  -     void
          draw( const IGLoop2D& geometry,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void draw(const IGEllipse2D& geometry)

  -     void
          draw( const IGImage& theImage,
                const IGRect2D& srcBounds )

  -     void draw(const IGArea& geometry)

  -     void
          draw( const IGCurve2D& geometry,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void draw(const IGLine2D& geometry)

  -     void draw(const IGImage& geometry, const IGImage& theMask)

  -     void
          draw( const IGArea& geometry,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void draw(const IGImage& geometry)

  -     void draw(const IGLoop2D& geometry)

  -     IGPoint2D
          draw( const IGTextRun& geometry,
                const IAttributeState& attributeState,
                const IGrafMatrix& modelMatrix = IGrafMatrix::identity ( ) )

  -     void
          draw( const IGEllipse2D& geometry,
                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

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  IGrafPort

  -     void adoptOrphanedGrafState(IGrafState* orphan)

  -     IGrafDevice* device()

  -     IGrafPort()

  -     IGrafPort( IGrafDevice* referencedDevice,
                   IColorMap* colormap = & ( IColorMap::defaultColorMap ( ) ) )

  -     void setDevice(IGrafDevice* device)

  -     void setState(IGrafState* state)

  -     const IGrafState* state() const

  IBaseRootGrafPort

  -     void setupCoordinateSystem(int coordinateSystem)

#### Inherited Protected Data

  - None