16.42.8 <draw:marker>
The <draw:marker> element represents a marker, which is used to draw polygons at the start or end point of a stroke depending on whether it is referenced by a draw:marker-start or draw:marker-end attribute.
Marker geometry is defined by a svg:d attribute and in conjunction with a svg:viewBox attribute.
When the marker is painted, its geometry is first mapped to the stroke start or end point as follows:
If a marker is referenced by a draw:marker-start attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-start-width attribute. If the marker is referenced by a draw:marker-end attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-end-width attribute. The aspect ratio of the geometry is kept in both cases.
For the marker a local coordinate system is assumed, where the x-axis is horizontal from left to right and the y-axis is vertical from top to bottom. In case of
the origin of this local coordinate system is the center of the bounding box of the marker geometry. In case of
the origin is the center of the top side of the bounding box.
Editorial note: Preformatted text should be inline, but the Wiki Markdown formatter gets confused by combinations of asterisks and hyphens in inline text. See attachment for the remainder of the new text for section 16.42.8.
20.147 draw:marker-end-center
The draw:marker-end-center attribute specifies whether an end marker is centered at the end of a stroke.
The defined values for the draw:marker-end-center attribute are:
- false: an end marker should not be centered at the end of a stroke. It is the default value.
- true: an end marker should be centered at the end of a stroke.
Details are described in <draw:marker> 16.42.8.
20.150 draw:marker-start-center
The draw:marker-start-center attribute specifies whether a start marker is centered at the start of a stroke.
The defined values for the draw:marker-start-center attribute are:
- false: a start marker should not be centered at the start of a stroke.
- true: a start marker should be centered at the start of a stroke.
Details are described in <draw:marker> 16.42.8.