Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::Text::Layout::Glyph Struct Reference

#include <Layout-TNG.h>

Public Member Functions

std::vector< gunichar > const characters (Layout const *l) const
 to implement lengthAdjust="spacingAndGlyphs" that must scale glyphs only horizontally; instead we change font size and then undo that change vertically only
 
Span constspan (Layout const *l) const
 
Chunk constchunk (Layout const *l) const
 
Line constline (Layout const *l) const
 
Geom::Affine transform (Layout const &layout) const
 

Public Attributes

unsigned int glyph
 
unsigned in_character
 
bool hidden
 
float x
 
float y
 relative to the start of the chunk
 
float rotation
 relative to the current line's baseline
 
Orientation orientation
 absolute, modulo any object transforms, which we don't know about
 
float advance
 Orientation of glyph in vertical text.
 
float vertical_scale
 for positioning next glyph
 

Detailed Description

Definition at line 814 of file Layout-TNG.h.

Member Function Documentation

◆ characters()

std::vector< gunichar > const Inkscape::Text::Layout::Glyph::characters ( Layout const l) const
inline

to implement lengthAdjust="spacingAndGlyphs" that must scale glyphs only horizontally; instead we change font size and then undo that change vertically only

Definition at line 824 of file Layout-TNG.h.

References Inkscape::Text::Layout::_characters, in_character, and x.

◆ chunk()

Chunk const & Inkscape::Text::Layout::Glyph::chunk ( Layout const l) const
inline

◆ line()

Line const & Inkscape::Text::Layout::Glyph::line ( Layout const l) const
inline

◆ span()

Span const & Inkscape::Text::Layout::Glyph::span ( Layout const l) const
inline

◆ transform()

Geom::Affine Inkscape::Text::Layout::Glyph::transform ( Layout const layout) const

Member Data Documentation

◆ advance

float Inkscape::Text::Layout::Glyph::advance

Orientation of glyph in vertical text.

Definition at line 822 of file Layout-TNG.h.

◆ glyph

unsigned int Inkscape::Text::Layout::Glyph::glyph

Definition at line 815 of file Layout-TNG.h.

◆ hidden

bool Inkscape::Text::Layout::Glyph::hidden

Definition at line 817 of file Layout-TNG.h.

◆ in_character

unsigned Inkscape::Text::Layout::Glyph::in_character

Definition at line 816 of file Layout-TNG.h.

Referenced by characters(), chunk(), line(), and span().

◆ orientation

Orientation Inkscape::Text::Layout::Glyph::orientation

absolute, modulo any object transforms, which we don't know about

Definition at line 821 of file Layout-TNG.h.

◆ rotation

float Inkscape::Text::Layout::Glyph::rotation

relative to the current line's baseline

Definition at line 820 of file Layout-TNG.h.

◆ vertical_scale

float Inkscape::Text::Layout::Glyph::vertical_scale

for positioning next glyph

Definition at line 823 of file Layout-TNG.h.

◆ x

float Inkscape::Text::Layout::Glyph::x

Definition at line 818 of file Layout-TNG.h.

Referenced by characters().

◆ y

float Inkscape::Text::Layout::Glyph::y

relative to the start of the chunk

Definition at line 819 of file Layout-TNG.h.


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