Class HwmfFill.WmfStretchDib

java.lang.Object
org.apache.poi.hwmf.record.HwmfFill.WmfStretchDib
All Implemented Interfaces:
GenericRecord, HwmfFill.HwmfImageRecord, HwmfRecord
Direct Known Subclasses:
HemfFill.EmfStretchBlt, HemfFill.EmfStretchDiBits
Enclosing class:
HwmfFill

public static class HwmfFill.WmfStretchDib extends Object implements HwmfRecord, HwmfFill.HwmfImageRecord
The META_STRETCHDIB record specifies the transfer of color data from a block of pixels in device independent format according to a raster operation, with possible expansion or contraction. The source of the color data is a DIB, and the destination of the transfer is the current output region in the playback device context.
  • Field Details

    • rasterOperation

      protected HwmfTernaryRasterOp rasterOperation
      A 32-bit unsigned integer that defines how the source pixels, the current brush in the playback device context, and the destination pixels are to be combined to form the new image.
    • colorUsage

      protected HwmfFill.ColorUsage colorUsage
      A 16-bit unsigned integer that defines whether the Colors field of the DIB contains explicit RGB values or indexes into a palette.
    • srcBounds

      protected final Rectangle2D srcBounds
      the source rectangle.
    • dstBounds

      protected final Rectangle2D dstBounds
      the destination rectangle.
    • bitmap

      protected final HwmfBitmapDib bitmap
      A variable-sized DeviceIndependentBitmap Object (section 2.2.2.9) that is the source of the color data.
  • Constructor Details

    • WmfStretchDib

      public WmfStretchDib()
  • Method Details