2.1.1.21 ObjectType Enumeration

The ObjectType enumeration defines types of graphics objects that can be created and used in graphics operations.

 typedef  enum 
 {
   ObjectTypeInvalid = 0x00000000,
   ObjectTypeBrush = 0x00000001,
   ObjectTypePen = 0x00000002,
   ObjectTypePath = 0x00000003,
   ObjectTypeRegion = 0x00000004,
   ObjectTypeImage = 0x00000005,
   ObjectTypeFont = 0x00000006,
   ObjectTypeStringFormat = 0x00000007,
   ObjectTypeImageAttributes = 0x00000008,
   ObjectTypeCustomLineCap = 0x00000009
 } ObjectType;

ObjectTypeInvalid:  The object is not a valid object.

ObjectTypeBrush:  An EmfPlusBrush object. Brush objects fill graphics regions.

ObjectTypePen:  An EmfPlusPen object. Pen objects draw graphics lines.

ObjectTypePath:  An EmfPlusPath object. Path objects specify sequences of lines, curves, and shapes.

ObjectTypeRegion:  An EmfPlusRegion object. Region objects specify areas of the output surface.

ObjectTypeImage:  An EmfPlusImage object. Image objects encapsulate bitmaps and metafiles.

ObjectTypeFont:  An EmfPlusFont object. Font objects specify font properties, including typeface style, em size, and font family.

ObjectTypeStringFormat:  An EmfPlusStringFormat object. String format objects specify text layout, including alignment, orientation, tab stops, clipping, and digit substitution for languages that do not use Western European digits.

ObjectTypeImageAttributes:  An EmfPlusImageAttributes object. Image attribute objects specify operations on pixels during image rendering, including color adjustment, grayscale adjustment, gamma correction, and color mapping.

ObjectTypeCustomLineCap:  An EmfPlusCustomLineCap object. Custom line cap objects specify shapes to draw at the ends of a graphics line, including squares, circles, and diamonds.

Graphics objects are specified by EmfPlusObject records.

See section 2.1.1 for the specification of additional enumerations.