Packages

 

com.aspose.imaging.fileformats.emf.emf.consts

Class EmfRecordType

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.fileformats.emf.emf.consts.EmfRecordType


  • public final class EmfRecordType
    extends com.aspose.ms.System.Enum

    The RecordType enumeration defines values that uniquely identify EMF records. These values are provided in the Type field of each record.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int EMR_ABORTPATH
      This record aborts a path bracket or discards the path from a closed path bracket.
      static int EMR_ALPHABLEND
      This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, including alpha transparency data, according to a specified blending operation.
      static int EMR_ANGLEARC
      This record defines a line segment of an arc.
      static int EMR_ARC
      This record defines an elliptical arc.
      static int EMR_ARCTO
      This record defines an elliptical arc.
      static int EMR_BEGINPATH
      This record opens a path bracket in the playback device context.
      static int EMR_BITBLT
      This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern, according to a specified raster operation.
      static int EMR_CHORD
      This record defines a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant).
      static int EMR_CLOSEFIGURE
      This record closes an open figure in a path.
      static int EMR_COLORCORRECTPALETTE
      This record specifies how to correct the entries of a logical palette object using Windows Color System (WCS) 1.0 values
      static int EMR_COLORMATCHTOTARGETW
      This record specifies whether to perform color matching with a color profile that is specified in a file with a name consisting of Unicode characters.
      static int EMR_COMMENT
      This record specifies arbitrary private data.
      static int EMR_CREATEBRUSHINDIRECT
      This record defines a logical brush for figure filling in graphics operations.
      static int EMR_CREATECOLORSPACE
      This record creates a logical color space object from a color profile with a name consisting of ASCII characters
      static int EMR_CREATECOLORSPACEW
      This record creates a logical color space object from a color profile with a name consisting of Unicode characters
      static int EMR_CREATEDIBPATTERNBRUSHPT
      This record defines a logical brush that has the pattern specified by the DIB.
      static int EMR_CREATEMONOBRUSH
      This record defines a logical brush with the specified bitmap pattern.
      static int EMR_CREATEPALETTE
      This record defines a LogPalette object.
      static int EMR_CREATEPEN
      This record defines a logical pen that has the specified style, width, and color.
      static int EMR_DELETECOLORSPACE
      This record deletes a logical color space object.
      static int EMR_DELETEOBJECT
      This record deletes a graphics object, clearing its index in the EMF Object Table.
      static int EMR_DRAWESCAPE
      This record passes arbitrary information to the driver.
      static int EMR_ELLIPSE
      This record defines an ellipse.
      static int EMR_ENDPATH
      This record closes a path bracket and selects the path defined by the bracket into the playback device context.
      static int EMR_EOF
      This record indicates the end of the metafile.
      static int EMR_EXCLUDECLIPRECT
      This record defines a new clipping region that consists of the existing clipping region minus the specified rectangle.
      static int EMR_EXTCREATEFONTINDIRECTW
      This record defines a logical font that has the specified characteristics.
      static int EMR_EXTCREATEPEN
      This record defines a logical cosmetic or geometric pen that has the specified style, width, and brush attributes.
      static int EMR_EXTESCAPE
      This record passes arbitrary information to the driver.
      static int EMR_EXTFLOODFILL
      This record fills an area of the display surface with the current brush.
      static int EMR_EXTSELECTCLIPRGN
      This record combines the specified region with the current clip region using the specified mode.
      static int EMR_EXTTEXTOUTA
      This record draws an ASCII text string using the current font and text colors.Note EMR_EXTTEXTOUTA SHOULD be emulated with an EMR_EXTTEXTOUTW record (section 2.3.5.8).
      static int EMR_EXTTEXTOUTW
      This record draws a Unicode text string using the current font and text colors.
      static int EMR_FILLPATH
      This record closes any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode.
      static int EMR_FILLRGN
      This record fills the specified region by using the specified brush.
      static int EMR_FLATTENPATH
      This record transforms any curve in the path that is selected into the playback device context, turning each curve into a sequence of lines.
      static int EMR_FORCEUFIMAPPING
      This record forces the font mapper to match fonts based on their UniversalFontId in preference to their LogFont information.
      static int EMR_FRAMERGN
      This record draws a border around the specified region using the specified brush.
      static int EMR_GLSBOUNDEDRECORD
      This record specifies an OpenGL function with a bounding rectangle for output.
      static int EMR_GLSRECORD
      This record specifies an OpenGL function.
      static int EMR_GRADIENTFILL
      This record specifies filling rectangles or triangles with gradients of color
      static int EMR_HEADER
      This record defines the start of the metafile and specifies its characteristics; its contents, including the dimensions of the embedded image; the number of records in the metafile; and the resolution of the device on which the embedded image was created.
      static int EMR_INTERSECTCLIPRECT
      This record defines a new clipping region from the intersection of the current clipping region and the specified rectangle.
      static int EMR_INVERTRGN
      This record inverts the colors in the specified region.
      static int EMR_LINETO
      This record defines a line from the current position up to, but not including, the specified point.
      static int EMR_MASKBLT
      This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern and with the application of a color mask bitmap, according to specified foreground and background raster operations.
      static int EMR_MODIFYWORLDTRANSFORM
      This record redefines the world transformation for the playback device context using the specified mode.
      static int EMR_MOVETOEX
      This record defines coordinates of the new current position, in logical units.
      static int EMR_NAMEDESCAPE
      This record passes arbitrary information to the given named driver.
      static int EMR_OFFSETCLIPRGN
      This record redefines the clipping region of the playback device context by the specified offsets.
      static int EMR_PAINTRGN
      This record paints the specified region by using the brush currently selected into the playback device context.
      static int EMR_PIE
      This record defines a pie-shaped wedge bounded by the intersection of an ellipse and two radials.
      static int EMR_PIXELFORMAT
      This record specifies the pixel format to use for graphics operations
      static int EMR_PLGBLT
      This record specifies a block transfer of pixels from a source bitmap to a destination parallelogram, with the application of a color mask bitmap.
      static int EMR_POLYBEZIER
      This record defines one or more Bezier curves.
      static int EMR_POLYBEZIER16
      This record defines one or more Bezier curves.
      static int EMR_POLYBEZIERTO
      This record defines one or more Bezier curves based upon the current position.
      static int EMR_POLYBEZIERTO16
      This record defines one or more Bezier curves based on the current position.
      static int EMR_POLYDRAW
      This record defines a set of line segments and Bezier curves.
      static int EMR_POLYDRAW16
      This record defines a set of line segments and Bezier curves.
      static int EMR_POLYGON
      This record defines a polygon consisting of two or more vertexes connected by straight lines.
      static int EMR_POLYGON16
      This record defines a polygon consisting of two or more vertexes connected by straight lines.
      static int EMR_POLYLINE
      This record defines a series of line segments by connecting the points in the specified array.
      static int EMR_POLYLINE16
      This record defines a series of line segments by connecting the points in the specified array.
      static int EMR_POLYLINETO
      This record defines one or more straight lines based upon the current position.
      static int EMR_POLYLINETO16
      This record defines one or more straight lines based upon the current position.
      static int EMR_POLYPOLYGON
      This record defines a series of closed polygons.
      static int EMR_POLYPOLYGON16
      This record defines a series of closed polygons.
      static int EMR_POLYPOLYLINE
      This record defines multiple series of connected line segments.
      static int EMR_POLYPOLYLINE16
      This record defines multiple series of connected line segments.
      static int EMR_POLYTEXTOUTA
      This record draws one or more ASCII text strings using the current font and text colors.
      static int EMR_POLYTEXTOUTW
      This record draws one or more Unicode text strings using the current font and text colors.
      static int EMR_REALIZEPALETTE
      This record maps entries from the current logical palette to the system palette.
      static int EMR_RECTANGLE
      This record defines a rectangle.
      static int EMR_RESIZEPALETTE
      This record increases or decreases the size of a logical palette.
      static int EMR_RESTOREDC
      This record restores the playback device context to the specified saved state.
      static int EMR_ROUNDRECT
      This record defines a rectangle with rounded corners.
      static int EMR_SAVEDC
      This record saves the current state of the playback device context by copying data describing selected objects and graphic modes—including the bitmap, brush, palette, font, pen, region, drawing mode, and mapping mode—to a stack of saved device contexts.
      static int EMR_SCALEVIEWPORTEXTEX
      This record redefines the viewport for the playback device context using the ratios formed by the specified multiplicands and divisors.
      static int EMR_SCALEWINDOWEXTEX
      This record redefines the window for the playback device context using the ratios formed by the specified multiplicands and divisors.
      static int EMR_SELECTCLIPPATH
      This record defines the current path as a clipping region for the playback device context, combining the new region with any existing clipping region using the specified mode.
      static int EMR_SELECTOBJECT
      This record adds an object to the playback device context, identifying it by its index in the EMF Object Table (section 3.1.1.1).
      static int EMR_SELECTPALETTE
      This record adds a LogPalette (section 2.2.17) object to the playback device context, identifying it by its index in the EMF Object Table.
      static int EMR_SETARCDIRECTION
      This record defines the drawing direction to be used for arc and rectangle operations.
      static int EMR_SETBKCOLOR
      This record defines the background color.
      static int EMR_SETBKMODE
      This record defines the background mix mode of the playback device context.
      static int EMR_SETBRUSHORGEX
      This record defines the origin of the current brush.
      static int EMR_SETCOLORADJUSTMENT
      This record defines the color adjustment values for the playback device context using the specified values.
      static int EMR_SETCOLORSPACE
      This record defines the current logical color space object for graphics operations.
      static int EMR_SETDIBITSTODEVICE
      This record specifies a block transfer of pixels from specified scan lines of a source bitmap to a destination rectangle.
      static int EMR_SETICMMODE
      This record specifies the mode of Image Color Management (ICM) for graphics operations.
      static int EMR_SETICMPROFILEA
      This record specifies a color profile in a file with a name consisting of ASCII characters, for graphics output.
      static int EMR_SETICMPROFILEW
      This record specifies a color profile in a file with a name consisting of Unicode characters, for graphics output
      static int EMR_SETLAYOUT
      This record specifies the order in which text and graphics are drawn
      static int EMR_SETLINKEDUFIS
      This record sets the UniversalFontIds of linked fonts to use during character lookup.
      static int EMR_SETMAPMODE
      This record defines the mapping mode of the playback device context.
      static int EMR_SETMAPPERFLAGS
      This record specifies parameters of the process of matching logical fonts to physical fonts, which is performed by the font mapper.
      static int EMR_SETMETARGN
      This record intersects the current clipping region for the playback device context with the current meta region and saves the combined region as the new meta region.
      static int EMR_SETMITERLIMIT
      This record defines the limit for the length of miter joins for the playback device context.
      static int EMR_SETPALETTEENTRIES
      This record defines RGB (red-green-blue) color values in a range of entries in a LogPalette object.
      static int EMR_SETPIXELV
      This record defines the color of the pixel at the specified logical coordinates.
      static int EMR_SETPOLYFILLMODE
      This record defines polygon fill mode.
      static int EMR_SETROP2
      This record defines binary raster operation mode.
      static int EMR_SETSTRETCHBLTMODE
      This record defines bitmap stretch mode.
      static int EMR_SETTEXTALIGN
      This record defines text alignment.
      static int EMR_SETTEXTCOLOR
      This record defines the current text color.
      static int EMR_SETTEXTJUSTIFICATION
      This record specifies the amount of extra space to add to break characters for justification purposes.
      static int EMR_SETVIEWPORTEXTEX
      This record defines the viewport extent.
      static int EMR_SETVIEWPORTORGEX
      This record defines the viewport origin.
      static int EMR_SETWINDOWEXTEX
      This record defines the window extent.
      static int EMR_SETWINDOWORGEX
      This record defines the window origin.
      static int EMR_SETWORLDTRANSFORM
      This record defines a two-dimensional linear transformation between world space and page space (for more information, see [MSDN-WRLDPGSPC]) for the playback device context.
      static int EMR_SMALLTEXTOUT
      This record outputs a string.
      static int EMR_STRETCHBLT
      This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern, according to a specified raster operation, stretching or compressing the output to fit the dimensions of the destination, if necessary.
      static int EMR_STRETCHDIBITS
      This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern, according to a specified raster operation, stretching or compressing the output to fit the dimensions of the destination, if necessary.
      static int EMR_STROKEANDFILLPATH
      This record closes any open figures in a path, strokes the outline of the path by using the current pen, and fills its interior by using the current brush.
      static int EMR_STROKEPATH
      This record renders the specified path by using the current pen.
      static int EMR_TRANSPARENTBLT
      This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, treating a specified color as transparent, stretching or compressing the output to fit the dimensions of the destination, if necessary
      static int EMR_WIDENPATH
      This record redefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the playback device context.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
    • Field Detail

      • EMR_HEADER

        public static final int EMR_HEADER

        This record defines the start of the metafile and specifies its characteristics; its contents, including the dimensions of the embedded image; the number of records in the metafile; and the resolution of the device on which the embedded image was created. These values make it possible for the metafile to be device-independent.

        See Also:
        Constant Field Values
      • EMR_POLYBEZIER

        public static final int EMR_POLYBEZIER

        This record defines one or more Bezier curves. Cubic Bezier curves are defined using specified endpoints and control points, and are stroked with the current pen.

        See Also:
        Constant Field Values
      • EMR_POLYGON

        public static final int EMR_POLYGON

        This record defines a polygon consisting of two or more vertexes connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. The polygon is closed automatically by drawing a line from the last vertex to the first.

        See Also:
        Constant Field Values
      • EMR_POLYLINE

        public static final int EMR_POLYLINE

        This record defines a series of line segments by connecting the points in the specified array.

        See Also:
        Constant Field Values
      • EMR_POLYBEZIERTO

        public static final int EMR_POLYBEZIERTO

        This record defines one or more Bezier curves based upon the current position.

        See Also:
        Constant Field Values
      • EMR_POLYLINETO

        public static final int EMR_POLYLINETO

        This record defines one or more straight lines based upon the current position. A line is drawn from the current position to the first point specified by the points field by using the current pen. For each additional line, drawing is performed from the ending point of the previous line to the next point specified by points.

        See Also:
        Constant Field Values
      • EMR_POLYPOLYLINE

        public static final int EMR_POLYPOLYLINE

        This record defines multiple series of connected line segments. The line segments are drawn by using the current pen. The figures formed by the segments are not filled. T he current position is neither used nor updated by this record.

        See Also:
        Constant Field Values
      • EMR_POLYPOLYGON

        public static final int EMR_POLYPOLYGON

        This record defines a series of closed polygons. Each polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. The polygons defined by this record can overlap.

        See Also:
        Constant Field Values
      • EMR_SETWINDOWEXTEX

        public static final int EMR_SETWINDOWEXTEX

        This record defines the window extent.

        See Also:
        Constant Field Values
      • EMR_SETWINDOWORGEX

        public static final int EMR_SETWINDOWORGEX

        This record defines the window origin.

        See Also:
        Constant Field Values
      • EMR_SETVIEWPORTEXTEX

        public static final int EMR_SETVIEWPORTEXTEX

        This record defines the viewport extent.

        See Also:
        Constant Field Values
      • EMR_SETVIEWPORTORGEX

        public static final int EMR_SETVIEWPORTORGEX

        This record defines the viewport origin.

        See Also:
        Constant Field Values
      • EMR_SETBRUSHORGEX

        public static final int EMR_SETBRUSHORGEX

        This record defines the origin of the current brush.

        See Also:
        Constant Field Values
      • EMR_EOF

        public static final int EMR_EOF

        This record indicates the end of the metafile.

        See Also:
        Constant Field Values
      • EMR_SETPIXELV

        public static final int EMR_SETPIXELV

        This record defines the color of the pixel at the specified logical coordinates.

        See Also:
        Constant Field Values
      • EMR_SETMAPPERFLAGS

        public static final int EMR_SETMAPPERFLAGS

        This record specifies parameters of the process of matching logical fonts to physical fonts, which is performed by the font mapper.

        See Also:
        Constant Field Values
      • EMR_SETMAPMODE

        public static final int EMR_SETMAPMODE

        This record defines the mapping mode of the playback device context. The mapping mode defines the unit of measure used to transform page space units into device space units, and also defines the orientation of the device's x-axis and y-axis.

        See Also:
        Constant Field Values
      • EMR_SETBKMODE

        public static final int EMR_SETBKMODE

        This record defines the background mix mode of the playback device context. The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines.

        See Also:
        Constant Field Values
      • EMR_SETPOLYFILLMODE

        public static final int EMR_SETPOLYFILLMODE

        This record defines polygon fill mode.

        See Also:
        Constant Field Values
      • EMR_SETROP2

        public static final int EMR_SETROP2

        This record defines binary raster operation mode.

        See Also:
        Constant Field Values
      • EMR_SETSTRETCHBLTMODE

        public static final int EMR_SETSTRETCHBLTMODE

        This record defines bitmap stretch mode.

        See Also:
        Constant Field Values
      • EMR_SETTEXTALIGN

        public static final int EMR_SETTEXTALIGN

        This record defines text alignment.

        See Also:
        Constant Field Values
      • EMR_SETCOLORADJUSTMENT

        public static final int EMR_SETCOLORADJUSTMENT

        This record defines the color adjustment values for the playback device context using the specified values.

        See Also:
        Constant Field Values
      • EMR_SETTEXTCOLOR

        public static final int EMR_SETTEXTCOLOR

        This record defines the current text color.

        See Also:
        Constant Field Values
      • EMR_SETBKCOLOR

        public static final int EMR_SETBKCOLOR

        This record defines the background color.

        See Also:
        Constant Field Values
      • EMR_OFFSETCLIPRGN

        public static final int EMR_OFFSETCLIPRGN

        This record redefines the clipping region of the playback device context by the specified offsets.

        See Also:
        Constant Field Values
      • EMR_MOVETOEX

        public static final int EMR_MOVETOEX

        This record defines coordinates of the new current position, in logical units.

        See Also:
        Constant Field Values
      • EMR_SETMETARGN

        public static final int EMR_SETMETARGN

        This record intersects the current clipping region for the playback device context with the current meta region and saves the combined region as the new meta region. The clipping region is reset to a null region.

        See Also:
        Constant Field Values
      • EMR_EXCLUDECLIPRECT

        public static final int EMR_EXCLUDECLIPRECT

        This record defines a new clipping region that consists of the existing clipping region minus the specified rectangle.

        See Also:
        Constant Field Values
      • EMR_INTERSECTCLIPRECT

        public static final int EMR_INTERSECTCLIPRECT

        This record defines a new clipping region from the intersection of the current clipping region and the specified rectangle.

        See Also:
        Constant Field Values
      • EMR_SCALEVIEWPORTEXTEX

        public static final int EMR_SCALEVIEWPORTEXTEX

        This record redefines the viewport for the playback device context using the ratios formed by the specified multiplicands and divisors.

        See Also:
        Constant Field Values
      • EMR_SCALEWINDOWEXTEX

        public static final int EMR_SCALEWINDOWEXTEX

        This record redefines the window for the playback device context using the ratios formed by the specified multiplicands and divisors.

        See Also:
        Constant Field Values
      • EMR_SAVEDC

        public static final int EMR_SAVEDC

        This record saves the current state of the playback device context by copying data describing selected objects and graphic modes—including the bitmap, brush, palette, font, pen, region, drawing mode, and mapping mode—to a stack of saved device contexts.

        See Also:
        Constant Field Values
      • EMR_RESTOREDC

        public static final int EMR_RESTOREDC

        This record restores the playback device context to the specified saved state. The playback device context is restored by popping state information off a stack of saved device contexts created by earlier EMR_SAVEDC (section 2.3.11) records.

        See Also:
        Constant Field Values
      • EMR_SETWORLDTRANSFORM

        public static final int EMR_SETWORLDTRANSFORM

        This record defines a two-dimensional linear transformation between world space and page space (for more information, see [MSDN-WRLDPGSPC]) for the playback device context. This transformation can be used to scale, rotate, shear, or translate graphics output.

        See Also:
        Constant Field Values
      • EMR_MODIFYWORLDTRANSFORM

        public static final int EMR_MODIFYWORLDTRANSFORM

        This record redefines the world transformation for the playback device context using the specified mode.

        See Also:
        Constant Field Values
      • EMR_SELECTOBJECT

        public static final int EMR_SELECTOBJECT

        This record adds an object to the playback device context, identifying it by its index in the EMF Object Table (section 3.1.1.1).

        See Also:
        Constant Field Values
      • EMR_CREATEPEN

        public static final int EMR_CREATEPEN

        This record defines a logical pen that has the specified style, width, and color. The pen can subsequently be selected into the playback device context and used to draw lines and curves.

        See Also:
        Constant Field Values
      • EMR_CREATEBRUSHINDIRECT

        public static final int EMR_CREATEBRUSHINDIRECT

        This record defines a logical brush for figure filling in graphics operations.

        See Also:
        Constant Field Values
      • EMR_DELETEOBJECT

        public static final int EMR_DELETEOBJECT

        This record deletes a graphics object, clearing its index in the EMF Object Table. If the deleted object is selected in the playback device context, the default object for that context property MUST be restored.

        See Also:
        Constant Field Values
      • EMR_ANGLEARC

        public static final int EMR_ANGLEARC

        This record defines a line segment of an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles.

        See Also:
        Constant Field Values
      • EMR_ELLIPSE

        public static final int EMR_ELLIPSE

        This record defines an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.

        See Also:
        Constant Field Values
      • EMR_RECTANGLE

        public static final int EMR_RECTANGLE

        This record defines a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.

        See Also:
        Constant Field Values
      • EMR_ROUNDRECT

        public static final int EMR_ROUNDRECT

        This record defines a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.

        See Also:
        Constant Field Values
      • EMR_ARC

        public static final int EMR_ARC

        This record defines an elliptical arc.

        See Also:
        Constant Field Values
      • EMR_CHORD

        public static final int EMR_CHORD

        This record defines a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush.

        See Also:
        Constant Field Values
      • EMR_PIE

        public static final int EMR_PIE

        This record defines a pie-shaped wedge bounded by the intersection of an ellipse and two radials. The pie is outlined by using the current pen and filled by using the current brush.

        See Also:
        Constant Field Values
      • EMR_SELECTPALETTE

        public static final int EMR_SELECTPALETTE

        This record adds a LogPalette (section 2.2.17) object to the playback device context, identifying it by its index in the EMF Object Table.

        See Also:
        Constant Field Values
      • EMR_CREATEPALETTE

        public static final int EMR_CREATEPALETTE

        This record defines a LogPalette object.

        See Also:
        Constant Field Values
      • EMR_SETPALETTEENTRIES

        public static final int EMR_SETPALETTEENTRIES

        This record defines RGB (red-green-blue) color values in a range of entries in a LogPalette object.

        See Also:
        Constant Field Values
      • EMR_RESIZEPALETTE

        public static final int EMR_RESIZEPALETTE

        This record increases or decreases the size of a logical palette.

        See Also:
        Constant Field Values
      • EMR_REALIZEPALETTE

        public static final int EMR_REALIZEPALETTE

        This record maps entries from the current logical palette to the system palette.

        See Also:
        Constant Field Values
      • EMR_EXTFLOODFILL

        public static final int EMR_EXTFLOODFILL

        This record fills an area of the display surface with the current brush.

        See Also:
        Constant Field Values
      • EMR_LINETO

        public static final int EMR_LINETO

        This record defines a line from the current position up to, but not including, the specified point. It resets the current position to the specified point.

        See Also:
        Constant Field Values
      • EMR_ARCTO

        public static final int EMR_ARCTO

        This record defines an elliptical arc. It resets the current position to the end point of the arc.

        See Also:
        Constant Field Values
      • EMR_POLYDRAW

        public static final int EMR_POLYDRAW

        This record defines a set of line segments and Bezier curves.

        See Also:
        Constant Field Values
      • EMR_SETARCDIRECTION

        public static final int EMR_SETARCDIRECTION

        This record defines the drawing direction to be used for arc and rectangle operations.

        See Also:
        Constant Field Values
      • EMR_SETMITERLIMIT

        public static final int EMR_SETMITERLIMIT

        This record defines the limit for the length of miter joins for the playback device context.

        See Also:
        Constant Field Values
      • EMR_BEGINPATH

        public static final int EMR_BEGINPATH

        This record opens a path bracket in the playback device context.

        After a path bracket is open, an application can begin processing records to define the points that lie in the path. An application MUST close an open path bracket by processing the EMR_ENDPATH record. When an application processes the EMR_BEGINPATH record, all previous paths MUST be discarded from the playback device context.

        See Also:
        Constant Field Values
      • EMR_ENDPATH

        public static final int EMR_ENDPATH

        This record closes a path bracket and selects the path defined by the bracket into the playback device context.

        See Also:
        Constant Field Values
      • EMR_CLOSEFIGURE

        public static final int EMR_CLOSEFIGURE

        This record closes an open figure in a path.

        Processing the EMR_CLOSEFIGURE record MUST close the figure by drawing a line from the current position to the first point of the figure, and then it MUST connect the lines by using the line join style. If a figure is closed by processing the EMR_LINETO record instead of the EMR_CLOSEFIGURE record, end caps are used to create the corner instead of a join. EMR_LINETO is specified in section 2.3.5.13. The EMR_CLOSEFIGURE record SHOULD only be used if there is an open path bracket in the playback device context. A figure in a path is open unless it is explicitly closed by processing this record. Note: A figure can be open even if the current point and the starting point of the figure are the same. After processing the EMR_CLOSEFIGURE record, adding a line or curve to the path MUST start a new figure.

        See Also:
        Constant Field Values
      • EMR_FILLPATH

        public static final int EMR_FILLPATH

        This record closes any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode.

        See Also:
        Constant Field Values
      • EMR_STROKEANDFILLPATH

        public static final int EMR_STROKEANDFILLPATH

        This record closes any open figures in a path, strokes the outline of the path by using the current pen, and fills its interior by using the current brush.

        See Also:
        Constant Field Values
      • EMR_STROKEPATH

        public static final int EMR_STROKEPATH

        This record renders the specified path by using the current pen.

        See Also:
        Constant Field Values
      • EMR_FLATTENPATH

        public static final int EMR_FLATTENPATH

        This record transforms any curve in the path that is selected into the playback device context, turning each curve into a sequence of lines.

        See Also:
        Constant Field Values
      • EMR_WIDENPATH

        public static final int EMR_WIDENPATH

        This record redefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the playback device context.

        See Also:
        Constant Field Values
      • EMR_SELECTCLIPPATH

        public static final int EMR_SELECTCLIPPATH

        This record defines the current path as a clipping region for the playback device context, combining the new region with any existing clipping region using the specified mode.

        See Also:
        Constant Field Values
      • EMR_ABORTPATH

        public static final int EMR_ABORTPATH

        This record aborts a path bracket or discards the path from a closed path bracket.

        See Also:
        Constant Field Values
      • EMR_COMMENT

        public static final int EMR_COMMENT

        This record specifies arbitrary private data.

        See Also:
        Constant Field Values
      • EMR_FILLRGN

        public static final int EMR_FILLRGN

        This record fills the specified region by using the specified brush.

        See Also:
        Constant Field Values
      • EMR_FRAMERGN

        public static final int EMR_FRAMERGN

        This record draws a border around the specified region using the specified brush.

        See Also:
        Constant Field Values
      • EMR_INVERTRGN

        public static final int EMR_INVERTRGN

        This record inverts the colors in the specified region.

        See Also:
        Constant Field Values
      • EMR_PAINTRGN

        public static final int EMR_PAINTRGN

        This record paints the specified region by using the brush currently selected into the playback device context.

        See Also:
        Constant Field Values
      • EMR_EXTSELECTCLIPRGN

        public static final int EMR_EXTSELECTCLIPRGN

        This record combines the specified region with the current clip region using the specified mode.

        See Also:
        Constant Field Values
      • EMR_BITBLT

        public static final int EMR_BITBLT

        This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern, according to a specified raster operation.

        See Also:
        Constant Field Values
      • EMR_STRETCHBLT

        public static final int EMR_STRETCHBLT

        This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern, according to a specified raster operation, stretching or compressing the output to fit the dimensions of the destination, if necessary.

        See Also:
        Constant Field Values
      • EMR_MASKBLT

        public static final int EMR_MASKBLT

        This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern and with the application of a color mask bitmap, according to specified foreground and background raster operations.

        See Also:
        Constant Field Values
      • EMR_PLGBLT

        public static final int EMR_PLGBLT

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

        See Also:
        Constant Field Values
      • EMR_SETDIBITSTODEVICE

        public static final int EMR_SETDIBITSTODEVICE

        This record specifies a block transfer of pixels from specified scan lines of a source bitmap to a destination rectangle.

        See Also:
        Constant Field Values
      • EMR_STRETCHDIBITS

        public static final int EMR_STRETCHDIBITS

        This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern, according to a specified raster operation, stretching or compressing the output to fit the dimensions of the destination, if necessary.

        See Also:
        Constant Field Values
      • EMR_EXTCREATEFONTINDIRECTW

        public static final int EMR_EXTCREATEFONTINDIRECTW

        This record defines a logical font that has the specified characteristics. The font can subsequently be selected as the current font for the playback device context.

        See Also:
        Constant Field Values
      • EMR_EXTTEXTOUTA

        public static final int EMR_EXTTEXTOUTA

        This record draws an ASCII text string using the current font and text colors.Note EMR_EXTTEXTOUTA SHOULD be emulated with an EMR_EXTTEXTOUTW record (section 2.3.5.8). This requires the ASCII text string in the EmrText object to be converted to Unicode UTF16-LE encoding.

        See Also:
        Constant Field Values
      • EMR_EXTTEXTOUTW

        public static final int EMR_EXTTEXTOUTW

        This record draws a Unicode text string using the current font and text colors.

        See Also:
        Constant Field Values
      • EMR_POLYBEZIER16

        public static final int EMR_POLYBEZIER16

        This record defines one or more Bezier curves. The curves are drawn using the current pen.

        See Also:
        Constant Field Values
      • EMR_POLYGON16

        public static final int EMR_POLYGON16

        This record defines a polygon consisting of two or more vertexes connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. The polygon is closed automatically by drawing a line from the last vertex to the first.

        See Also:
        Constant Field Values
      • EMR_POLYLINE16

        public static final int EMR_POLYLINE16

        This record defines a series of line segments by connecting the points in the specified array.

        See Also:
        Constant Field Values
      • EMR_POLYBEZIERTO16

        public static final int EMR_POLYBEZIERTO16

        This record defines one or more Bezier curves based on the current position.

        See Also:
        Constant Field Values
      • EMR_POLYLINETO16

        public static final int EMR_POLYLINETO16

        This record defines one or more straight lines based upon the current position. A line is drawn from the current position to the first point specified by the Points field by using the current pen. For each additional line, drawing is performed from the ending point of the previous line to the next point specified by Points.

        See Also:
        Constant Field Values
      • EMR_POLYPOLYLINE16

        public static final int EMR_POLYPOLYLINE16

        This record defines multiple series of connected line segments.

        See Also:
        Constant Field Values
      • EMR_POLYPOLYGON16

        public static final int EMR_POLYPOLYGON16

        This record defines a series of closed polygons. Each polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. The polygons specified by this record can overlap.

        See Also:
        Constant Field Values
      • EMR_POLYDRAW16

        public static final int EMR_POLYDRAW16

        This record defines a set of line segments and Bezier curves.

        See Also:
        Constant Field Values
      • EMR_CREATEMONOBRUSH

        public static final int EMR_CREATEMONOBRUSH

        This record defines a logical brush with the specified bitmap pattern. The bitmap can be a device-independent bitmap (DIB) section bitmap or it can be a device-dependent bitmap.

        See Also:
        Constant Field Values
      • EMR_CREATEDIBPATTERNBRUSHPT

        public static final int EMR_CREATEDIBPATTERNBRUSHPT

        This record defines a logical brush that has the pattern specified by the DIB.

        See Also:
        Constant Field Values
      • EMR_EXTCREATEPEN

        public static final int EMR_EXTCREATEPEN

        This record defines a logical cosmetic or geometric pen that has the specified style, width, and brush attributes.

        See Also:
        Constant Field Values
      • EMR_POLYTEXTOUTA

        public static final int EMR_POLYTEXTOUTA

        This record draws one or more ASCII text strings using the current font and text colors. Note EMR_POLYTEXTOUTA SHOULD be emulated with a series of EMR_EXTTEXTOUTW records, one per string

        See Also:
        Constant Field Values
      • EMR_POLYTEXTOUTW

        public static final int EMR_POLYTEXTOUTW

        This record draws one or more Unicode text strings using the current font and text colors. Note EMR_POLYTEXTOUTW SHOULD be emulated with a series of EMR_EXTTEXTOUTW records, one per string

        See Also:
        Constant Field Values
      • EMR_SETICMMODE

        public static final int EMR_SETICMMODE

        This record specifies the mode of Image Color Management (ICM) for graphics operations.

        See Also:
        Constant Field Values
      • EMR_CREATECOLORSPACE

        public static final int EMR_CREATECOLORSPACE

        This record creates a logical color space object from a color profile with a name consisting of ASCII characters

        See Also:
        Constant Field Values
      • EMR_SETCOLORSPACE

        public static final int EMR_SETCOLORSPACE

        This record defines the current logical color space object for graphics operations.

        See Also:
        Constant Field Values
      • EMR_DELETECOLORSPACE

        public static final int EMR_DELETECOLORSPACE

        This record deletes a logical color space object. Note An EMR_DELETEOBJECT record SHOULD be used instead of EMR_DELETECOLORSPACE to delete a logical color space object

        See Also:
        Constant Field Values
      • EMR_GLSRECORD

        public static final int EMR_GLSRECORD

        This record specifies an OpenGL function.

        See Also:
        Constant Field Values
      • EMR_GLSBOUNDEDRECORD

        public static final int EMR_GLSBOUNDEDRECORD

        This record specifies an OpenGL function with a bounding rectangle for output.

        See Also:
        Constant Field Values
      • EMR_PIXELFORMAT

        public static final int EMR_PIXELFORMAT

        This record specifies the pixel format to use for graphics operations

        See Also:
        Constant Field Values
      • EMR_DRAWESCAPE

        public static final int EMR_DRAWESCAPE

        This record passes arbitrary information to the driver. The intent is that the information will result in drawing being done.

        See Also:
        Constant Field Values
      • EMR_EXTESCAPE

        public static final int EMR_EXTESCAPE

        This record passes arbitrary information to the driver. The intent is that the information will not result in drawing being done.

        See Also:
        Constant Field Values
      • EMR_SMALLTEXTOUT

        public static final int EMR_SMALLTEXTOUT

        This record outputs a string.

        See Also:
        Constant Field Values
      • EMR_FORCEUFIMAPPING

        public static final int EMR_FORCEUFIMAPPING

        This record forces the font mapper to match fonts based on their UniversalFontId in preference to their LogFont information.

        See Also:
        Constant Field Values
      • EMR_NAMEDESCAPE

        public static final int EMR_NAMEDESCAPE

        This record passes arbitrary information to the given named driver.

        See Also:
        Constant Field Values
      • EMR_COLORCORRECTPALETTE

        public static final int EMR_COLORCORRECTPALETTE

        This record specifies how to correct the entries of a logical palette object using Windows Color System (WCS) 1.0 values

        See Also:
        Constant Field Values
      • EMR_SETICMPROFILEA

        public static final int EMR_SETICMPROFILEA

        This record specifies a color profile in a file with a name consisting of ASCII characters, for graphics output.

        See Also:
        Constant Field Values
      • EMR_SETICMPROFILEW

        public static final int EMR_SETICMPROFILEW

        This record specifies a color profile in a file with a name consisting of Unicode characters, for graphics output

        See Also:
        Constant Field Values
      • EMR_ALPHABLEND

        public static final int EMR_ALPHABLEND

        This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, including alpha transparency data, according to a specified blending operation.

        See Also:
        Constant Field Values
      • EMR_SETLAYOUT

        public static final int EMR_SETLAYOUT

        This record specifies the order in which text and graphics are drawn

        See Also:
        Constant Field Values
      • EMR_TRANSPARENTBLT

        public static final int EMR_TRANSPARENTBLT

        This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, treating a specified color as transparent, stretching or compressing the output to fit the dimensions of the destination, if necessary

        See Also:
        Constant Field Values
      • EMR_GRADIENTFILL

        public static final int EMR_GRADIENTFILL

        This record specifies filling rectangles or triangles with gradients of color

        See Also:
        Constant Field Values
      • EMR_SETLINKEDUFIS

        public static final int EMR_SETLINKEDUFIS

        This record sets the UniversalFontIds of linked fonts to use during character lookup.

        See Also:
        Constant Field Values
      • EMR_SETTEXTJUSTIFICATION

        public static final int EMR_SETTEXTJUSTIFICATION

        This record specifies the amount of extra space to add to break characters for justification purposes.

        See Also:
        Constant Field Values
      • EMR_COLORMATCHTOTARGETW

        public static final int EMR_COLORMATCHTOTARGETW

        This record specifies whether to perform color matching with a color profile that is specified in a file with a name consisting of Unicode characters.

        See Also:
        Constant Field Values
      • EMR_CREATECOLORSPACEW

        public static final int EMR_CREATECOLORSPACEW

        This record creates a logical color space object from a color profile with a name consisting of Unicode characters

        See Also:
        Constant Field Values