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

#include <Layout-TNG.h>

Public Member Functions

float width () const
 relative to line baseline (without baseline shift)
 
Chunk const & chunk (Layout const *l) const
 
Line const & line (Layout const *l) const
 
Paragraph const & paragraph (Layout const *l) const
 

Public Attributes

unsigned in_chunk
 
std::shared_ptr< FontInstancefont
 
float font_size
 
float x_start
 
float x_end
 relative to the start of the chunk
 
float y_offset
 relative to the start of the chunk
 
FontMetrics line_height
 
double baseline_shift
 
SPCSSTextOrientation text_orientation
 relative to the line's baseline (CSS)
 
Direction direction
 
Direction block_progression
 See CSS3 section 3.2. Either rtl or ltr.
 
unsigned in_input_stream_item
 See CSS3 section 3.2. The direction in which lines go.
 
Glib::ustring::const_iterator input_stream_first_character
 

Detailed Description

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

Member Function Documentation

◆ chunk()

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

◆ line()

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

◆ paragraph()

Paragraph const & Inkscape::Text::Layout::Span::paragraph ( Layout const *  l) const
inline

◆ width()

float Inkscape::Text::Layout::Span::width ( ) const
inline

relative to line baseline (without baseline shift)

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

References x_end, and x_start.

Member Data Documentation

◆ baseline_shift

double Inkscape::Text::Layout::Span::baseline_shift

◆ block_progression

Direction Inkscape::Text::Layout::Span::block_progression

See CSS3 section 3.2. Either rtl or ltr.

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

◆ direction

Direction Inkscape::Text::Layout::Span::direction

◆ font

◆ font_size

float Inkscape::Text::Layout::Span::font_size

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

◆ in_chunk

unsigned Inkscape::Text::Layout::Span::in_chunk

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

Referenced by chunk(), line(), paragraph(), and Inkscape::Text::Layout::queryCursorShape().

◆ in_input_stream_item

unsigned Inkscape::Text::Layout::Span::in_input_stream_item

See CSS3 section 3.2. The direction in which lines go.

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

Referenced by Inkscape::Text::Layout::bounds(), Inkscape::Text::Layout::print(), and Inkscape::Text::Layout::showGlyphs().

◆ input_stream_first_character

Glib::ustring::const_iterator Inkscape::Text::Layout::Span::input_stream_first_character

◆ line_height

FontMetrics Inkscape::Text::Layout::Span::line_height

◆ text_orientation

SPCSSTextOrientation Inkscape::Text::Layout::Span::text_orientation

relative to the line's baseline (CSS)

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

◆ x_end

float Inkscape::Text::Layout::Span::x_end

relative to the start of the chunk

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

Referenced by Inkscape::Text::Layout::queryCursorShape(), and width().

◆ x_start

float Inkscape::Text::Layout::Span::x_start

◆ y_offset

float Inkscape::Text::Layout::Span::y_offset

relative to the start of the chunk

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

Referenced by Inkscape::Text::Layout::queryCursorShape().


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