svgPathSegType enumeration

Defines the path segment types.

Syntax


typedef enum _svgPathSegType { 
  PATHSEG_UNKNOWN                       = 0,
  PATHSEG_CLOSEPATH                     = 1,
  PATHSEG_MOVETO_ABS                    = 2,
  PATHSEG_MOVETO_REL                    = 3,
  PATHSEG_LINETO_ABS                    = 4,
  PATHSEG_LINETO_REL                    = 5,
  PATHSEG_CURVETO_CUBIC_ABS             = 6,
  PATHSEG_CURVETO_CUBIC_REL             = 7,
  PATHSEG_CURVETO_QUADRATIC_ABS         = 8,
  PATHSEG_CURVETO_QUADRATIC_REL         = 9,
  PATHSEG_ARC_ABS                       = 10,
  PATHSEG_ARC_REL                       = 11,
  PATHSEG_LINETO_HORIZONTAL_ABS         = 12,
  PATHSEG_LINETO_HORIZONTAL_REL         = 13,
  PATHSEG_LINETO_VERTICAL_ABS           = 14,
  PATHSEG_LINETO_VERTICAL_REL           = 15,
  PATHSEG_CURVETO_CUBIC_SMOOTH_ABS      = 16,
  PATHSEG_CURVETO_CUBIC_SMOOTH_REL      = 17,
  PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS  = 18,
  PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL  = 19,
  svgPathSegType_Max                    = 2147483647L
} svgPathSegType;

Constants

PATHSEG_UNKNOWN

The type is not one of the predefined types.

Note  Do not try to define a new value of this type. Do not switch an existing value to this type.

PATHSEG_CLOSEPATH

A closepath (z) path data command.

PATHSEG_MOVETO_ABS

An absolute moveto (M) path data command.

PATHSEG_MOVETO_REL

A relative moveto (m) path data command..

PATHSEG_LINETO_ABS

An absolute lineto (L) path data command.

PATHSEG_LINETO_REL

A relative lineto (I) path data command.

PATHSEG_CURVETO_CUBIC_ABS

An absolute cubic Bézier curveto (C) path data command.

PATHSEG_CURVETO_CUBIC_REL

A relative cubic Bézier curveto (c) path data command.

PATHSEG_CURVETO_QUADRATIC_ABS

An absolute quadratic Bézier curveto (Q) path data command.

PATHSEG_CURVETO_QUADRATIC_REL

A relative quadratic Bézier curveto (q) path data command.

PATHSEG_ARC_ABS

An absolute arcto (A) path data command.

PATHSEG_ARC_REL

A relative arcto (a) path data command.

PATHSEG_LINETO_HORIZONTAL_ABS

An absolute horizontal lineto (H) path data command.

PATHSEG_LINETO_HORIZONTAL_REL

A relative horizontal lineto (h) path data command.

PATHSEG_LINETO_VERTICAL_ABS

An absolute vertical lineto (V) path data command.

PATHSEG_LINETO_VERTICAL_REL

A relative vertical lineto (v) path data command.

PATHSEG_CURVETO_CUBIC_SMOOTH_ABS

An absolute smooth cubic curveto (S) path data command.

PATHSEG_CURVETO_CUBIC_SMOOTH_REL

A relative smooth cubic curveto (s) path data command.

PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS

An absolute smooth quadratic curveto (T) path data command.

PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL

A relative smooth quadratic curveto (t) path data command.

svgPathSegType_Max

Reserved

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

 

 

Show:
© 2014 Microsoft