Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfPlgBlt

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable


    public final class EmfPlgBlt
    extends EmfBitmapRecordType

    The EMR_PLGBLT record specifies a block transfer of pixels from a source bitmap to a destination parallelogram, with the application of a color mask bitmap.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfPlgBlt(EmfRecord source)
      Initializes a new instance of the EmfPlgBlt class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Point[] getAptlDest()
      Gets or sets an array of three WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies three corners a parallelogram destination area for the block transfer.
      int getBkSrcArgb32Color()
      Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the background color of the source bitmap.
      Rectangle getBounds()
      Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the bounding rectangle, in device units, for output to the destination.
      int getCxSrc()
      Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.
      int getCySrc()
      Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle.
      WmfDeviceIndependentBitmap getMaskBitmap()
      Gets or sets a buffer containing the mask bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other.
      WmfDeviceIndependentBitmap getSourceBitmap()
      Gets or sets a buffer containing the source bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other.
      int getUsageMask()
      Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the mask bitmap header.
      int getUsageSrc()
      Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header.
      Matrix getXFormSrc()
      Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.
      int getXMask()
      Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap.
      int getXSrc()
      Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.
      int getYMask()
      Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap.
      int getYSrc()
      Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.
      void setAptlDest(Point[] value)
      Gets or sets an array of three WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies three corners a parallelogram destination area for the block transfer.
      void setBkSrcArgb32Color(int value)
      Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the background color of the source bitmap.
      void setBounds(Rectangle value)
      Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the bounding rectangle, in device units, for output to the destination.
      void setCxSrc(int value)
      Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.
      void setCySrc(int value)
      Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle.
      void setMaskBitmap(WmfDeviceIndependentBitmap value)
      Gets or sets a buffer containing the mask bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other.
      void setSourceBitmap(WmfDeviceIndependentBitmap value)
      Gets or sets a buffer containing the source bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other.
      void setUsageMask(int value)
      Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the mask bitmap header.
      void setUsageSrc(int value)
      Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header.
      void setXFormSrc(Matrix value)
      Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.
      void setXMask(int value)
      Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap.
      void setXSrc(int value)
      Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.
      void setYMask(int value)
      Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap.
      void setYSrc(int value)
      Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.
    • Constructor Detail

      • EmfPlgBlt

        public EmfPlgBlt(EmfRecord source)

        Initializes a new instance of the EmfPlgBlt class.

        Parameters:
        source - The source.
    • Method Detail

      • getBounds

        public Rectangle getBounds()

        Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the bounding rectangle, in device units, for output to the destination.

      • setBounds

        public void setBounds(Rectangle value)

        Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the bounding rectangle, in device units, for output to the destination.

      • getAptlDest

        public Point[] getAptlDest()

        Gets or sets an array of three WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies three corners a parallelogram destination area for the block transfer. The upper-left corner of the source rectangle is mapped to the first point in this array, the upper-right corner to the second point, and the lower-left corner to the third point. The lower-right corner of the source rectangle is mapped to the implicit fourth point in the parallelogram, which is computed from the first three points (A, B, and C) by treating them as vectors. D = B + C A

      • setAptlDest

        public void setAptlDest(Point[] value)

        Gets or sets an array of three WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies three corners a parallelogram destination area for the block transfer. The upper-left corner of the source rectangle is mapped to the first point in this array, the upper-right corner to the second point, and the lower-left corner to the third point. The lower-right corner of the source rectangle is mapped to the implicit fourth point in the parallelogram, which is computed from the first three points (A, B, and C) by treating them as vectors. D = B + C A

      • getXSrc

        public int getXSrc()

        Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.

      • setXSrc

        public void setXSrc(int value)

        Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.

      • getYSrc

        public int getYSrc()

        Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.

      • setYSrc

        public void setYSrc(int value)

        Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.

      • getCxSrc

        public int getCxSrc()

        Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.

      • setCxSrc

        public void setCxSrc(int value)

        Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.

      • getCySrc

        public int getCySrc()

        Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle.

      • setCySrc

        public void setCySrc(int value)

        Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle.

      • getXFormSrc

        public Matrix getXFormSrc()

        Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.

      • setXFormSrc

        public void setXFormSrc(Matrix value)

        Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.

      • getBkSrcArgb32Color

        public int getBkSrcArgb32Color()

        Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the background color of the source bitmap.

      • setBkSrcArgb32Color

        public void setBkSrcArgb32Color(int value)

        Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the background color of the source bitmap.

      • getUsageSrc

        public int getUsageSrc()

        Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header. This value MUST be in the DIBColors enumeration

      • setUsageSrc

        public void setUsageSrc(int value)

        Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header. This value MUST be in the DIBColors enumeration

      • getXMask

        public int getXMask()

        Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap.

      • setXMask

        public void setXMask(int value)

        Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap.

      • getYMask

        public int getYMask()

        Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap.

      • setYMask

        public void setYMask(int value)

        Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap.

      • getUsageMask

        public int getUsageMask()

        Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the mask bitmap header. This value MUST be in the DIBColors enumeration.

      • setUsageMask

        public void setUsageMask(int value)

        Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the mask bitmap header. This value MUST be in the DIBColors enumeration.

      • getSourceBitmap

        public WmfDeviceIndependentBitmap getSourceBitmap()

        Gets or sets a buffer containing the source bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. Accordingly, fields in this buffer that are labeled "UndefinedSpace" are optional and MUST be ignored.

      • setSourceBitmap

        public void setSourceBitmap(WmfDeviceIndependentBitmap value)

        Gets or sets a buffer containing the source bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. Accordingly, fields in this buffer that are labeled "UndefinedSpace" are optional and MUST be ignored.

      • getMaskBitmap

        public WmfDeviceIndependentBitmap getMaskBitmap()

        Gets or sets a buffer containing the mask bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. Accordingly, fields in this buffer that are labeled "UndefinedSpace" are optional and MUST be ignored.

      • setMaskBitmap

        public void setMaskBitmap(WmfDeviceIndependentBitmap value)

        Gets or sets a buffer containing the mask bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. Accordingly, fields in this buffer that are labeled "UndefinedSpace" are optional and MUST be ignored.