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

#include <svgelement.h>

Public Member Functions

 SVGLayoutState ()=default
 
 SVGLayoutState (const SVGLayoutState &parent, const SVGElement *element)
 
const SVGLayoutState * parent () const
 
const SVGElement * element () const
 
const Paint & fill () const
 
const Paint & stroke () const
 
const Color & color () const
 
const Color & stop_color () const
 
float opacity () const
 
MixBlendMode mix_blend_mode () const
 
float stop_opacity () const
 
float fill_opacity () const
 
float stroke_opacity () const
 
float stroke_miterlimit () const
 
float font_size () const
 
const Length & letter_spacing () const
 
const Length & word_spacing () const
 
const BaselineShift & baseline_shift () const
 
const Length & stroke_width () const
 
const Length & stroke_dashoffset () const
 
const LengthList & stroke_dasharray () const
 
LineCap stroke_linecap () const
 
LineJoin stroke_linejoin () const
 
FillRule fill_rule () const
 
FillRule clip_rule () const
 
FontWeight font_weight () const
 
FontStyle font_style () const
 
AlignmentBaseline alignment_baseline () const
 
DominantBaseline dominant_baseline () const
 
TextAnchor text_anchor () const
 
WhiteSpace white_space () const
 
WritingMode writing_mode () const
 
TextOrientation text_orientation () const
 
Direction direction () const
 
Display display () const
 
Visibility visibility () const
 
Overflow overflow () const
 
PointerEvents pointer_events () const
 
MaskType mask_type () const
 
const std::string & mask () const
 
const std::string & clip_path () const
 
const std::string & filter () const
 
const std::string & marker_start () const
 
const std::string & marker_mid () const
 
const std::string & marker_end () const
 
const std::string & font_family () const
 
Font font () const
 

Detailed Description

Definition at line 2182 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGLayoutState() [1/2]

novasvg::SVGLayoutState::SVGLayoutState ( )
default

◆ SVGLayoutState() [2/2]

NOVASVG_INLINE novasvg::SVGLayoutState::SVGLayoutState ( const SVGLayoutState &  parent,
const SVGElement *  element 
)

Definition at line 4850 of file svgelement.h.

References novasvg::Alignment_Baseline, novasvg::Allow, novasvg::SVGElement::attributes(), novasvg::Baseline_Shift, novasvg::Color::Black, novasvg::Clip_Path, novasvg::Clip_Rule, novasvg::Color, novasvg::Direction, novasvg::Display, novasvg::Dominant_Baseline, element(), novasvg::Fill, novasvg::Fill_Opacity, novasvg::Fill_Rule, novasvg::Filter, novasvg::Font_Family, novasvg::Font_Size, novasvg::Font_Style, novasvg::Font_Weight, novasvg::Forbid, novasvg::Letter_Spacing, novasvg::Marker_End, novasvg::Marker_Mid, novasvg::Marker_Start, novasvg::Mask, novasvg::Mask_Type, novasvg::Mix_Blend_Mode, novasvg::None, novasvg::Opacity, novasvg::Overflow, novasvg::parseAlignmentBaseline(), novasvg::parseBaselineShift(), novasvg::parseColor(), novasvg::parseDashArray(), novasvg::parseDirection(), novasvg::parseDisplay(), novasvg::parseDominantBaseline(), novasvg::parseFillRule(), novasvg::parseFontSize(), novasvg::parseFontStyle(), novasvg::parseFontWeight(), novasvg::parseLength(), novasvg::parseLengthOrNormal(), novasvg::parseLineCap(), novasvg::parseLineJoin(), novasvg::parseMaskType(), novasvg::parseMixBlendMode(), novasvg::parseNumberOrPercentage(), novasvg::parseOverflow(), novasvg::parsePaint(), novasvg::parsePointerEvents(), novasvg::parseTextAnchor(), novasvg::parseTextOrientation(), novasvg::parseUrl(), novasvg::parseVisibility(), novasvg::parseWhiteSpace(), novasvg::parseWritingMode(), novasvg::Pointer_Events, novasvg::Stop_Color, novasvg::Stop_Opacity, novasvg::stripLeadingAndTrailingSpaces(), novasvg::Stroke, novasvg::Stroke_Dasharray, novasvg::Stroke_Dashoffset, novasvg::Stroke_Linecap, novasvg::Stroke_Linejoin, novasvg::Stroke_Miterlimit, novasvg::Stroke_Opacity, novasvg::Stroke_Width, novasvg::Text_Anchor, novasvg::Text_Orientation, novasvg::Color::Transparent, novasvg::Visibility, novasvg::White_Space, novasvg::Word_Spacing, and novasvg::Writing_Mode.

Member Function Documentation

◆ alignment_baseline()

AlignmentBaseline novasvg::SVGLayoutState::alignment_baseline ( ) const
inline

Definition at line 2221 of file svgelement.h.

◆ baseline_shift()

const BaselineShift & novasvg::SVGLayoutState::baseline_shift ( ) const
inline

Definition at line 2207 of file svgelement.h.

◆ clip_path()

const std::string & novasvg::SVGLayoutState::clip_path ( ) const
inline

Definition at line 2237 of file svgelement.h.

◆ clip_rule()

FillRule novasvg::SVGLayoutState::clip_rule ( ) const
inline

Definition at line 2216 of file svgelement.h.

◆ color()

const Color & novasvg::SVGLayoutState::color ( ) const
inline

Definition at line 2193 of file svgelement.h.

◆ direction()

Direction novasvg::SVGLayoutState::direction ( ) const
inline

Definition at line 2228 of file svgelement.h.

◆ display()

Display novasvg::SVGLayoutState::display ( ) const
inline

Definition at line 2230 of file svgelement.h.

◆ dominant_baseline()

DominantBaseline novasvg::SVGLayoutState::dominant_baseline ( ) const
inline

Definition at line 2222 of file svgelement.h.

◆ element()

const SVGElement * novasvg::SVGLayoutState::element ( ) const
inline

Definition at line 2188 of file svgelement.h.

Referenced by SVGLayoutState().

◆ fill()

const Paint & novasvg::SVGLayoutState::fill ( ) const
inline

Definition at line 2190 of file svgelement.h.

◆ fill_opacity()

float novasvg::SVGLayoutState::fill_opacity ( ) const
inline

Definition at line 2199 of file svgelement.h.

◆ fill_rule()

FillRule novasvg::SVGLayoutState::fill_rule ( ) const
inline

Definition at line 2215 of file svgelement.h.

◆ filter()

const std::string & novasvg::SVGLayoutState::filter ( ) const
inline

Definition at line 2238 of file svgelement.h.

◆ font()

NOVASVG_INLINE Font novasvg::SVGLayoutState::font ( ) const

Definition at line 5040 of file svgelement.h.

References novasvg::Bold, novasvg::Italic, and novasvg::makeFont().

◆ font_family()

const std::string & novasvg::SVGLayoutState::font_family ( ) const
inline

Definition at line 2242 of file svgelement.h.

◆ font_size()

float novasvg::SVGLayoutState::font_size ( ) const
inline

Definition at line 2202 of file svgelement.h.

◆ font_style()

FontStyle novasvg::SVGLayoutState::font_style ( ) const
inline

Definition at line 2219 of file svgelement.h.

◆ font_weight()

FontWeight novasvg::SVGLayoutState::font_weight ( ) const
inline

Definition at line 2218 of file svgelement.h.

◆ letter_spacing()

const Length & novasvg::SVGLayoutState::letter_spacing ( ) const
inline

Definition at line 2204 of file svgelement.h.

◆ marker_end()

const std::string & novasvg::SVGLayoutState::marker_end ( ) const
inline

Definition at line 2241 of file svgelement.h.

◆ marker_mid()

const std::string & novasvg::SVGLayoutState::marker_mid ( ) const
inline

Definition at line 2240 of file svgelement.h.

◆ marker_start()

const std::string & novasvg::SVGLayoutState::marker_start ( ) const
inline

Definition at line 2239 of file svgelement.h.

◆ mask()

const std::string & novasvg::SVGLayoutState::mask ( ) const
inline

Definition at line 2236 of file svgelement.h.

◆ mask_type()

MaskType novasvg::SVGLayoutState::mask_type ( ) const
inline

Definition at line 2234 of file svgelement.h.

◆ mix_blend_mode()

MixBlendMode novasvg::SVGLayoutState::mix_blend_mode ( ) const
inline

Definition at line 2197 of file svgelement.h.

◆ opacity()

float novasvg::SVGLayoutState::opacity ( ) const
inline

Definition at line 2196 of file svgelement.h.

◆ overflow()

Overflow novasvg::SVGLayoutState::overflow ( ) const
inline

Definition at line 2232 of file svgelement.h.

◆ parent()

const SVGLayoutState * novasvg::SVGLayoutState::parent ( ) const
inline

Definition at line 2187 of file svgelement.h.

◆ pointer_events()

PointerEvents novasvg::SVGLayoutState::pointer_events ( ) const
inline

Definition at line 2233 of file svgelement.h.

◆ stop_color()

const Color & novasvg::SVGLayoutState::stop_color ( ) const
inline

Definition at line 2194 of file svgelement.h.

◆ stop_opacity()

float novasvg::SVGLayoutState::stop_opacity ( ) const
inline

Definition at line 2198 of file svgelement.h.

◆ stroke()

const Paint & novasvg::SVGLayoutState::stroke ( ) const
inline

Definition at line 2191 of file svgelement.h.

◆ stroke_dasharray()

const LengthList & novasvg::SVGLayoutState::stroke_dasharray ( ) const
inline

Definition at line 2210 of file svgelement.h.

◆ stroke_dashoffset()

const Length & novasvg::SVGLayoutState::stroke_dashoffset ( ) const
inline

Definition at line 2209 of file svgelement.h.

◆ stroke_linecap()

LineCap novasvg::SVGLayoutState::stroke_linecap ( ) const
inline

Definition at line 2212 of file svgelement.h.

◆ stroke_linejoin()

LineJoin novasvg::SVGLayoutState::stroke_linejoin ( ) const
inline

Definition at line 2213 of file svgelement.h.

◆ stroke_miterlimit()

float novasvg::SVGLayoutState::stroke_miterlimit ( ) const
inline

Definition at line 2201 of file svgelement.h.

◆ stroke_opacity()

float novasvg::SVGLayoutState::stroke_opacity ( ) const
inline

Definition at line 2200 of file svgelement.h.

◆ stroke_width()

const Length & novasvg::SVGLayoutState::stroke_width ( ) const
inline

Definition at line 2208 of file svgelement.h.

◆ text_anchor()

TextAnchor novasvg::SVGLayoutState::text_anchor ( ) const
inline

Definition at line 2224 of file svgelement.h.

◆ text_orientation()

TextOrientation novasvg::SVGLayoutState::text_orientation ( ) const
inline

Definition at line 2227 of file svgelement.h.

◆ visibility()

Visibility novasvg::SVGLayoutState::visibility ( ) const
inline

Definition at line 2231 of file svgelement.h.

◆ white_space()

WhiteSpace novasvg::SVGLayoutState::white_space ( ) const
inline

Definition at line 2225 of file svgelement.h.

◆ word_spacing()

const Length & novasvg::SVGLayoutState::word_spacing ( ) const
inline

Definition at line 2205 of file svgelement.h.

◆ writing_mode()

WritingMode novasvg::SVGLayoutState::writing_mode ( ) const
inline

Definition at line 2226 of file svgelement.h.


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