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

#include <svgelement.h>

Collaboration diagram for novasvg::SVGTextFragment:

Public Member Functions

 SVGTextFragment (const SVGTextPositioningElement *element)
 

Public Attributes

const SVGTextPositioningElement * element
 
Transform lengthAdjustTransform
 
size_t offset = 0
 
size_t length = 0
 
bool startsNewTextChunk = false
 
float x = 0
 
float y = 0
 
float width = 0
 
float height = 0
 
float angle = 0
 

Detailed Description

Definition at line 2062 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGTextFragment()

novasvg::SVGTextFragment::SVGTextFragment ( const SVGTextPositioningElement *  element)
inlineexplicit

Definition at line 2063 of file svgelement.h.

Member Data Documentation

◆ angle

float novasvg::SVGTextFragment::angle = 0

Definition at line 2073 of file svgelement.h.

Referenced by novasvg::SVGTextFragmentsBuilder::build().

◆ element

const SVGTextPositioningElement* novasvg::SVGTextFragment::element

Definition at line 2064 of file svgelement.h.

Referenced by novasvg::handleTextChunk().

◆ height

float novasvg::SVGTextFragment::height = 0

◆ length

size_t novasvg::SVGTextFragment::length = 0

◆ lengthAdjustTransform

Transform novasvg::SVGTextFragment::lengthAdjustTransform

Definition at line 2065 of file svgelement.h.

Referenced by novasvg::handleTextChunk().

◆ offset

size_t novasvg::SVGTextFragment::offset = 0

Definition at line 2066 of file svgelement.h.

Referenced by novasvg::SVGTextFragmentsBuilder::build().

◆ startsNewTextChunk

bool novasvg::SVGTextFragment::startsNewTextChunk = false

Definition at line 2068 of file svgelement.h.

Referenced by novasvg::SVGTextFragmentsBuilder::build().

◆ width

float novasvg::SVGTextFragment::width = 0

◆ x

float novasvg::SVGTextFragment::x = 0

◆ y

float novasvg::SVGTextFragment::y = 0

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