Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::Text::Layout::InputStreamTextSource Class Reference

Represents a text item in the input stream. More...

#include <Layout-TNG.h>

Inheritance diagram for Inkscape::Text::Layout::InputStreamTextSource:
Inkscape::Text::Layout::InputStreamItem

Public Member Functions

InputStreamItemType Type () const override
 
 ~InputStreamTextSource () override
 
PangoFontDescriptionstyleGetFontDescription () const
 The return value must be freed with pango_font_description_free()
 
std::shared_ptr< FontInstancestyleGetFontInstance () const
 
Direction styleGetBlockProgression () const
 
SPCSSTextOrientation styleGetTextOrientation () const
 
SPCSSBaseline styleGetDominantBaseline () const
 
Alignment styleGetAlignment (Direction para_direction, bool try_text_align) const
 
- Public Member Functions inherited from Inkscape::Text::Layout::InputStreamItem
virtual ~InputStreamItem ()=default
 

Public Attributes

Glib::ustring consttext
 
Glib::ustring::const_iterator text_begin
 owned by the caller
 
Glib::ustring::const_iterator text_end
 
int text_length
 
SPStylestyle
 in characters, from text_start to text_end only
 
sigc::scoped_connection style_conn
 
std::vector< SVGLengthx
 These vectors can (often will) be shorter than the text in this source, but never longer.
 
std::vector< SVGLengthy
 
std::vector< SVGLengthdx
 
std::vector< SVGLengthdy
 
std::vector< SVGLengthrotate
 
SVGLength textLength
 
LengthAdjust lengthAdjust
 
Glib::ustring lang
 
- Public Attributes inherited from Inkscape::Text::Layout::InputStreamItem
SPObjectsource
 

Detailed Description

Represents a text item in the input stream.

See _input_stream. Most of the members are copies of the values passed to appendText().

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

Constructor & Destructor Documentation

◆ ~InputStreamTextSource()

Inkscape::Text::Layout::InputStreamTextSource::~InputStreamTextSource ( )
overridedefault

Member Function Documentation

◆ styleGetAlignment()

◆ styleGetBlockProgression()

◆ styleGetDominantBaseline()

SPCSSBaseline Inkscape::Text::Layout::InputStreamTextSource::styleGetDominantBaseline ( ) const

Definition at line 152 of file Layout-TNG-Input.cpp.

◆ styleGetFontDescription()

PangoFontDescription * Inkscape::Text::Layout::InputStreamTextSource::styleGetFontDescription ( ) const

◆ styleGetFontInstance()

std::shared_ptr< FontInstance > Inkscape::Text::Layout::InputStreamTextSource::styleGetFontInstance ( ) const

◆ styleGetTextOrientation()

SPCSSTextOrientation Inkscape::Text::Layout::InputStreamTextSource::styleGetTextOrientation ( ) const

Definition at line 147 of file Layout-TNG-Input.cpp.

◆ Type()

InputStreamItemType Inkscape::Text::Layout::InputStreamTextSource::Type ( ) const
inlineoverridevirtual

Member Data Documentation

◆ dx

std::vector<SVGLength> Inkscape::Text::Layout::InputStreamTextSource::dx

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

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

◆ dy

std::vector<SVGLength> Inkscape::Text::Layout::InputStreamTextSource::dy

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

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

◆ lang

Glib::ustring Inkscape::Text::Layout::InputStreamTextSource::lang

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

◆ lengthAdjust

LengthAdjust Inkscape::Text::Layout::InputStreamTextSource::lengthAdjust

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

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

◆ rotate

std::vector<SVGLength> Inkscape::Text::Layout::InputStreamTextSource::rotate

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

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

◆ style

SPStyle* Inkscape::Text::Layout::InputStreamTextSource::style

◆ style_conn

sigc::scoped_connection Inkscape::Text::Layout::InputStreamTextSource::style_conn

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

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

◆ text

Glib::ustring const* Inkscape::Text::Layout::InputStreamTextSource::text

◆ text_begin

Glib::ustring::const_iterator Inkscape::Text::Layout::InputStreamTextSource::text_begin

owned by the caller

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

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

◆ text_end

Glib::ustring::const_iterator Inkscape::Text::Layout::InputStreamTextSource::text_end

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

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

◆ text_length

int Inkscape::Text::Layout::InputStreamTextSource::text_length

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

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

◆ textLength

SVGLength Inkscape::Text::Layout::InputStreamTextSource::textLength

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

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

◆ x

std::vector<SVGLength> Inkscape::Text::Layout::InputStreamTextSource::x

These vectors can (often will) be shorter than the text in this source, but never longer.

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

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

◆ y

std::vector<SVGLength> Inkscape::Text::Layout::InputStreamTextSource::y

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

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


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