Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
Stroke.h File Reference

Defines stroke CSS property enums and types, donner::svg::StrokeLinecap, donner::svg::StrokeLinejoin, and donner::svg::StrokeDasharray. More...

#include <ostream>
#include <vector>
#include "donner/base/Length.h"
#include "donner/base/Utils.h"
Include dependency graph for Stroke.h:
This graph shows which files directly or indirectly include this file:

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.
 

Typedefs

using donner::svg::StrokeDasharray = std::vector<Lengthd>
 The parsed result of the 'stroke-dasharray' property, see: https://www.w3.org/TR/SVG2/painting.html#StrokeDasharrayProperty.
 

Enumerations

enum class  donner::svg::StrokeLinecap {
  donner::svg::Butt ,
  donner::svg::Round ,
  donner::svg::Square
}
 The parsed result of the 'stroke-linecap' property, see: https://www.w3.org/TR/SVG2/painting.html#StrokeLinecapProperty. More...
 
enum class  donner::svg::StrokeLinejoin {
  donner::svg::Miter ,
  donner::svg::MiterClip ,
  donner::svg::Round ,
  donner::svg::Bevel ,
  donner::svg::Arcs
}
 The parsed result of the 'stroke-linejoin' property, see: https://www.w3.org/TR/SVG2/painting.html#StrokeLinejoinProperty. More...
 

Functions

std::ostream & donner::svg::operator<< (std::ostream &os, StrokeLinecap value)
 Ostream output operator for StrokeLinecap enum, outputs the CSS value.
 
std::ostream & donner::svg::operator<< (std::ostream &os, StrokeLinejoin value)
 Ostream output operator for StrokeLinejoin enum, outputs the CSS value.
 
std::ostream & donner::svg::operator<< (std::ostream &os, const StrokeDasharray &value)
 Ostream output operator for StrokeDasharray enum, outputs the CSS value.
 

Detailed Description

Defines stroke CSS property enums and types, donner::svg::StrokeLinecap, donner::svg::StrokeLinejoin, and donner::svg::StrokeDasharray.