svgMarkerOrientAttribute enumeration

Defines how the marker element is rotated.

Syntax


typedef enum _svgMarkerOrientAttribute { 
  svgMarkerOrientAttributeAuto  = 0,
  svgMarkerOrientAttribute_Max  = 2147483647L
} svgMarkerOrientAttribute;

Constants

svgMarkerOrientAttributeAuto

The marker element is oriented so the positive x-axis is pointing as follows:

  • If a path segment enters the vertex and another path segment exits the vertex, the marker's positive x-axis points toward the angle bisector for the angle at the given vertex, where that angle has one side that consists of the tangent vector for the path segment that enters the vertex and the other side the tangent vector for the path segment that exits the vertex.
    Note  If the tangent vectors are the same, the angle bisector equals the two tangent vectors.
     
  • If a path segment only enters the vertex (for example, the last vertex on an open path), the marker's positive x-axis points in the same direction as the tangent vector for the path segment that enters the vertex.
  • If a path segment only exits the vertex (for example, the first vertex on an open path), the marker's positive x-axis points in the same direction as the tangent vector for the path segment that exits the vertex.
svgMarkerOrientAttribute_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: