D2D1_SVG_PAINT_TYPE enumeration

Specifies the paint type for an SVG fill or stroke.

Syntax


typedef enum D2D1_SVG_PAINT_TYPE { 
  D2D1_SVG_PAINT_TYPE_NONE               = 0,
  D2D1_SVG_PAINT_TYPE_COLOR              = 1,
  D2D1_SVG_PAINT_TYPE_CURRENT_COLOR      = 2,
  D2D1_SVG_PAINT_TYPE_URI                = 3,
  D2D1_SVG_PAINT_TYPE_URI_NONE           = 4,
  D2D1_SVG_PAINT_TYPE_URI_COLOR          = 5,
  D2D1_SVG_PAINT_TYPE_URI_CURRENT_COLOR  = 6,
  D2D1_SVG_PAINT_TYPE_FORCE_DWORD        = 0xffffffff
} D2D1_SVG_PAINT_TYPE;

Constants

D2D1_SVG_PAINT_TYPE_NONE

The fill or stroke is not rendered.

D2D1_SVG_PAINT_TYPE_COLOR

A solid color is rendered.

D2D1_SVG_PAINT_TYPE_CURRENT_COLOR

The current color is rendered.

D2D1_SVG_PAINT_TYPE_URI

A paint server, defined by another element in the SVG document, is used.

D2D1_SVG_PAINT_TYPE_URI_NONE

A paint server, defined by another element in the SVG document, is used. If the paint server reference is invalid, fall back to D2D1_SVG_PAINT_TYPE_NONE.

D2D1_SVG_PAINT_TYPE_URI_COLOR

A paint server, defined by another element in the SVG document, is used. If the paint server reference is invalid, fall back to D2D1_SVG_PAINT_TYPE_COLOR.

D2D1_SVG_PAINT_TYPE_URI_CURRENT_COLOR

A paint server, defined by another element in the SVG document, is used. If the paint server reference is invalid, fall back to D2D1_SVG_PAINT_TYPE_CURRENT_COLOR.

D2D1_SVG_PAINT_TYPE_FORCE_DWORD

Requirements

Header

D2d1svg.h

 

 

Show: