NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
novasvg::SVGMarkerPosition Class Reference

#include <svgelement.h>

Public Member Functions

 SVGMarkerPosition (const SVGMarkerElement *element, const Point &origin, float angle)
 
const SVGMarkerElement * element () const
 
const Point & origin () const
 
float angle () const
 
Rect markerBoundingBox (float strokeWidth) const
 
void renderMarker (SVGRenderState &state, float strokeWidth) const
 

Detailed Description

Definition at line 1906 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGMarkerPosition()

novasvg::SVGMarkerPosition::SVGMarkerPosition ( const SVGMarkerElement *  element,
const Point &  origin,
float  angle 
)
inline

Definition at line 1908 of file svgelement.h.

Member Function Documentation

◆ angle()

float novasvg::SVGMarkerPosition::angle ( ) const
inline

Definition at line 1914 of file svgelement.h.

◆ element()

const SVGMarkerElement * novasvg::SVGMarkerPosition::element ( ) const
inline

Definition at line 1912 of file svgelement.h.

◆ markerBoundingBox()

NOVASVG_INLINE Rect novasvg::SVGMarkerPosition::markerBoundingBox ( float  strokeWidth) const

Definition at line 3537 of file svgelement.h.

References novasvg::SVGMarkerElement::markerBoundingBox().

◆ origin()

const Point & novasvg::SVGMarkerPosition::origin ( ) const
inline

Definition at line 1913 of file svgelement.h.

◆ renderMarker()

NOVASVG_INLINE void novasvg::SVGMarkerPosition::renderMarker ( SVGRenderState &  state,
float  strokeWidth 
) const

Definition at line 3542 of file svgelement.h.

References novasvg::SVGMarkerElement::renderMarker().


The documentation for this class was generated from the following file: