Donner 0.5.0
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
StrokeParams.h File Reference
#include <vector>
#include "donner/svg/core/Stroke.h"
Include dependency graph for StrokeParams.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::StrokeParams
 Stroke configuration used for path and primitive drawing. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.

Class Documentation

◆ donner::svg::StrokeParams

struct donner::svg::StrokeParams

Stroke configuration used for path and primitive drawing.

Collaboration diagram for donner::svg::StrokeParams:
[legend]
Class Members
vector< double > dashArray Dash pattern lengths alternating on/off segments.
double dashOffset = 0.0 Dash phase offset.
StrokeLinecap lineCap = StrokeLinecap::Butt
StrokeLinejoin lineJoin = StrokeLinejoin::Miter
double miterLimit = 4.0 Maximum miter ratio before converting to bevel.
double pathLength = 0.0 SVG pathLength attribute value; 0 means unused. When non-zero, dash arrays and offsets are scaled by the ratio of the actual path length to this value.
double strokeWidth = 0.0 Stroke width in user units.