Swiftray  1.0
Parser::StylableContext Class Reference

#include <stylable-context.h>

Inheritance diagram for Parser::StylableContext:
Parser::PaintContext< svgpp::tag::attribute::stroke > Parser::PaintContext< svgpp::tag::attribute::fill > Parser::BaseContext Parser::CSSContext Parser::GroupContext Parser::ImageContext Parser::ReferencedSymbolOrSvgContext Parser::ShapeContext Parser::TextContext Parser::UseContext

Public Types

typedef PaintContext< svgpp::tag::attribute::fill > fill_paint
 
typedef PaintContext< svgpp::tag::attribute::stroke > stroke_paint
 

Public Member Functions

 StylableContext ()
 
 StylableContext (StylableContext const &src)
 
QString fillColor ()
 
template<class IRI >
void set (svgpp::tag::attribute::clip_path, IRI const &)
 
template<class IRI >
void set (svgpp::tag::attribute::clip_path, svgpp::tag::iri_fragment, IRI const &fragment)
 
void set (svgpp::tag::attribute::clip_path, svgpp::tag::value::inherit val)
 
void set (svgpp::tag::attribute::clip_path, svgpp::tag::value::none val)
 
void set (svgpp::tag::attribute::color, color_t val)
 
void set (svgpp::tag::attribute::display, svgpp::tag::value::inherit)
 
void set (svgpp::tag::attribute::display, svgpp::tag::value::none)
 
template<class ValueTag >
void set (svgpp::tag::attribute::display, ValueTag)
 
void set (svgpp::tag::attribute::fill_opacity, double val)
 
void set (svgpp::tag::attribute::fill_rule, svgpp::tag::value::evenodd)
 
void set (svgpp::tag::attribute::fill_rule, svgpp::tag::value::nonzero)
 
template<class IRI >
void set (svgpp::tag::attribute::filter, IRI const &)
 
template<class IRI >
void set (svgpp::tag::attribute::filter, svgpp::tag::iri_fragment, IRI const &fragment)
 
void set (svgpp::tag::attribute::filter, svgpp::tag::value::inherit)
 
void set (svgpp::tag::attribute::filter, svgpp::tag::value::none val)
 
template<class IRI >
void set (svgpp::tag::attribute::marker, IRI const &)
 
template<class IRI >
void set (svgpp::tag::attribute::marker, svgpp::tag::iri_fragment, IRI const &fragment)
 
void set (svgpp::tag::attribute::marker, svgpp::tag::value::none)
 
template<class IRI >
void set (svgpp::tag::attribute::marker_end, IRI const &)
 
template<class IRI >
void set (svgpp::tag::attribute::marker_end, svgpp::tag::iri_fragment, IRI const &fragment)
 
void set (svgpp::tag::attribute::marker_end, svgpp::tag::value::none)
 
template<class IRI >
void set (svgpp::tag::attribute::marker_mid, IRI const &)
 
template<class IRI >
void set (svgpp::tag::attribute::marker_mid, svgpp::tag::iri_fragment, IRI const &fragment)
 
void set (svgpp::tag::attribute::marker_mid, svgpp::tag::value::none)
 
template<class IRI >
void set (svgpp::tag::attribute::marker_start, IRI const &)
 
template<class IRI >
void set (svgpp::tag::attribute::marker_start, svgpp::tag::iri_fragment, IRI const &fragment)
 
void set (svgpp::tag::attribute::marker_start, svgpp::tag::value::none)
 
template<class IRI >
void set (svgpp::tag::attribute::mask, IRI const &)
 
template<class IRI >
void set (svgpp::tag::attribute::mask, svgpp::tag::iri_fragment, IRI const &fragment)
 
void set (svgpp::tag::attribute::mask, svgpp::tag::value::inherit val)
 
void set (svgpp::tag::attribute::mask, svgpp::tag::value::none val)
 
void set (svgpp::tag::attribute::opacity, double val)
 
void set (svgpp::tag::attribute::opacity, svgpp::tag::value::inherit)
 
void set (svgpp::tag::attribute::overflow, svgpp::tag::value::auto_)
 
void set (svgpp::tag::attribute::overflow, svgpp::tag::value::hidden)
 
void set (svgpp::tag::attribute::overflow, svgpp::tag::value::inherit)
 
void set (svgpp::tag::attribute::overflow, svgpp::tag::value::scroll)
 
void set (svgpp::tag::attribute::overflow, svgpp::tag::value::visible)
 
template<class Range >
void set (svgpp::tag::attribute::stroke_dasharray, Range const &range)
 
void set (svgpp::tag::attribute::stroke_dasharray, svgpp::tag::value::none)
 
void set (svgpp::tag::attribute::stroke_dashoffset, double val)
 
void set (svgpp::tag::attribute::stroke_linecap, svgpp::tag::value::butt)
 
void set (svgpp::tag::attribute::stroke_linecap, svgpp::tag::value::round)
 
void set (svgpp::tag::attribute::stroke_linecap, svgpp::tag::value::square)
 
void set (svgpp::tag::attribute::stroke_linejoin, svgpp::tag::value::bevel)
 
void set (svgpp::tag::attribute::stroke_linejoin, svgpp::tag::value::miter)
 
void set (svgpp::tag::attribute::stroke_linejoin, svgpp::tag::value::round)
 
void set (svgpp::tag::attribute::stroke_miterlimit, double val)
 
void set (svgpp::tag::attribute::stroke_opacity, double val)
 
void set (svgpp::tag::attribute::stroke_width, double val)
 
QString strokeColor ()
 
Stylestyle ()
 
Style const & style () const
 
- Public Member Functions inherited from Parser::PaintContext< svgpp::tag::attribute::stroke >
 PaintContext (SVGPPPaint &paint)
 
void set (svgpp::tag::attribute::stroke tag, IRI const &, color_t val, svgpp::tag::skip_icc_color=svgpp::tag::skip_icc_color())
 
void set (svgpp::tag::attribute::stroke tag, IRI const &, svgpp::tag::value::currentColor val)
 
void set (svgpp::tag::attribute::stroke tag, IRI const &, svgpp::tag::value::none val)
 
void set (svgpp::tag::attribute::stroke tag, IRI const &iri)
 
void set (svgpp::tag::attribute::stroke tag, svgpp::tag::iri_fragment, IRI const &fragment)
 
void set (svgpp::tag::attribute::stroke tag, svgpp::tag::iri_fragment, IRI const &fragment, color_t val, svgpp::tag::skip_icc_color=svgpp::tag::skip_icc_color())
 
void set (svgpp::tag::attribute::stroke tag, svgpp::tag::iri_fragment, IRI const &fragment, svgpp::tag::value::currentColor val)
 
void set (svgpp::tag::attribute::stroke tag, svgpp::tag::iri_fragment, IRI const &fragment, svgpp::tag::value::none val)
 
void set (svgpp::tag::attribute::stroke, color_t color, svgpp::tag::skip_icc_color=svgpp::tag::skip_icc_color())
 
void set (svgpp::tag::attribute::stroke, svgpp::tag::value::currentColor)
 
void set (svgpp::tag::attribute::stroke, svgpp::tag::value::none)
 
- Public Member Functions inherited from Parser::PaintContext< svgpp::tag::attribute::fill >
 PaintContext (SVGPPPaint &paint)
 
void set (svgpp::tag::attribute::fill tag, IRI const &, color_t val, svgpp::tag::skip_icc_color=svgpp::tag::skip_icc_color())
 
void set (svgpp::tag::attribute::fill tag, IRI const &, svgpp::tag::value::currentColor val)
 
void set (svgpp::tag::attribute::fill tag, IRI const &, svgpp::tag::value::none val)
 
void set (svgpp::tag::attribute::fill tag, IRI const &iri)
 
void set (svgpp::tag::attribute::fill tag, svgpp::tag::iri_fragment, IRI const &fragment)
 
void set (svgpp::tag::attribute::fill tag, svgpp::tag::iri_fragment, IRI const &fragment, color_t val, svgpp::tag::skip_icc_color=svgpp::tag::skip_icc_color())
 
void set (svgpp::tag::attribute::fill tag, svgpp::tag::iri_fragment, IRI const &fragment, svgpp::tag::value::currentColor val)
 
void set (svgpp::tag::attribute::fill tag, svgpp::tag::iri_fragment, IRI const &fragment, svgpp::tag::value::none val)
 
void set (svgpp::tag::attribute::fill, color_t color, svgpp::tag::skip_icc_color=svgpp::tag::skip_icc_color())
 
void set (svgpp::tag::attribute::fill, svgpp::tag::value::currentColor)
 
void set (svgpp::tag::attribute::fill, svgpp::tag::value::none)
 

Additional Inherited Members

- Protected Attributes inherited from Parser::PaintContext< svgpp::tag::attribute::stroke >
SVGPPPaintpaint_
 
- Protected Attributes inherited from Parser::PaintContext< svgpp::tag::attribute::fill >
SVGPPPaintpaint_
 

Member Typedef Documentation

◆ fill_paint

typedef PaintContext<svgpp::tag::attribute::fill> Parser::StylableContext::fill_paint

◆ stroke_paint

typedef PaintContext<svgpp::tag::attribute::stroke> Parser::StylableContext::stroke_paint

Constructor & Destructor Documentation

◆ StylableContext() [1/2]

Parser::StylableContext::StylableContext ( )
inline

◆ StylableContext() [2/2]

Parser::StylableContext::StylableContext ( StylableContext const &  src)
inline

Member Function Documentation

◆ fillColor()

QString Parser::StylableContext::fillColor ( )
inline

◆ set() [1/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::clip_path  ,
IRI const &   
)
inline

◆ set() [2/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::clip_path  ,
svgpp::tag::iri_fragment  ,
IRI const &  fragment 
)
inline

◆ set() [3/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::clip_path  ,
svgpp::tag::value::inherit  val 
)
inline

◆ set() [4/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::clip_path  ,
svgpp::tag::value::none  val 
)
inline

◆ set() [5/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::color  ,
color_t  val 
)
inline

◆ set() [6/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::display  ,
svgpp::tag::value::inherit   
)
inline

◆ set() [7/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::display  ,
svgpp::tag::value::none   
)
inline

◆ set() [8/50]

template<class ValueTag >
void Parser::StylableContext::set ( svgpp::tag::attribute::display  ,
ValueTag   
)
inline

◆ set() [9/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::fill_opacity  ,
double  val 
)
inline

◆ set() [10/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::fill_rule  ,
svgpp::tag::value::evenodd   
)
inline

◆ set() [11/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::fill_rule  ,
svgpp::tag::value::nonzero   
)
inline

◆ set() [12/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::filter  ,
IRI const &   
)
inline

◆ set() [13/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::filter  ,
svgpp::tag::iri_fragment  ,
IRI const &  fragment 
)
inline

◆ set() [14/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::filter  ,
svgpp::tag::value::inherit   
)
inline

◆ set() [15/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::filter  ,
svgpp::tag::value::none  val 
)
inline

◆ set() [16/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::marker  ,
IRI const &   
)
inline

◆ set() [17/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::marker  ,
svgpp::tag::iri_fragment  ,
IRI const &  fragment 
)
inline

◆ set() [18/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::marker  ,
svgpp::tag::value::none   
)
inline

◆ set() [19/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::marker_end  ,
IRI const &   
)
inline

◆ set() [20/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::marker_end  ,
svgpp::tag::iri_fragment  ,
IRI const &  fragment 
)
inline

◆ set() [21/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::marker_end  ,
svgpp::tag::value::none   
)
inline

◆ set() [22/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::marker_mid  ,
IRI const &   
)
inline

◆ set() [23/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::marker_mid  ,
svgpp::tag::iri_fragment  ,
IRI const &  fragment 
)
inline

◆ set() [24/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::marker_mid  ,
svgpp::tag::value::none   
)
inline

◆ set() [25/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::marker_start  ,
IRI const &   
)
inline

◆ set() [26/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::marker_start  ,
svgpp::tag::iri_fragment  ,
IRI const &  fragment 
)
inline

◆ set() [27/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::marker_start  ,
svgpp::tag::value::none   
)
inline

◆ set() [28/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::mask  ,
IRI const &   
)
inline

◆ set() [29/50]

template<class IRI >
void Parser::StylableContext::set ( svgpp::tag::attribute::mask  ,
svgpp::tag::iri_fragment  ,
IRI const &  fragment 
)
inline

◆ set() [30/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::mask  ,
svgpp::tag::value::inherit  val 
)
inline

◆ set() [31/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::mask  ,
svgpp::tag::value::none  val 
)
inline

◆ set() [32/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::opacity  ,
double  val 
)
inline

◆ set() [33/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::opacity  ,
svgpp::tag::value::inherit   
)
inline

◆ set() [34/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::overflow  ,
svgpp::tag::value::auto_   
)
inline

◆ set() [35/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::overflow  ,
svgpp::tag::value::hidden   
)
inline

◆ set() [36/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::overflow  ,
svgpp::tag::value::inherit   
)
inline

◆ set() [37/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::overflow  ,
svgpp::tag::value::scroll   
)
inline

◆ set() [38/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::overflow  ,
svgpp::tag::value::visible   
)
inline

◆ set() [39/50]

template<class Range >
void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_dasharray  ,
Range const &  range 
)
inline

◆ set() [40/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_dasharray  ,
svgpp::tag::value::none   
)
inline

◆ set() [41/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_dashoffset  ,
double  val 
)
inline

◆ set() [42/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_linecap  ,
svgpp::tag::value::butt   
)
inline

◆ set() [43/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_linecap  ,
svgpp::tag::value::round   
)
inline

◆ set() [44/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_linecap  ,
svgpp::tag::value::square   
)
inline

◆ set() [45/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_linejoin  ,
svgpp::tag::value::bevel   
)
inline

◆ set() [46/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_linejoin  ,
svgpp::tag::value::miter   
)
inline

◆ set() [47/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_linejoin  ,
svgpp::tag::value::round   
)
inline

◆ set() [48/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_miterlimit  ,
double  val 
)
inline

◆ set() [49/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_opacity  ,
double  val 
)
inline

◆ set() [50/50]

void Parser::StylableContext::set ( svgpp::tag::attribute::stroke_width  ,
double  val 
)
inline

◆ strokeColor()

QString Parser::StylableContext::strokeColor ( )
inline

◆ style() [1/2]

Style& Parser::StylableContext::style ( )
inline

◆ style() [2/2]

Style const& Parser::StylableContext::style ( ) const
inline

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