Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::Text Namespace Reference

Classes

class  Layout
 Generates the layout for either wrapped or non-wrapped text and stores the result. More...
 
class  StyleAttachments
 

Functions

bool compareGlyphWidth (const PangoGlyphInfo &a, const PangoGlyphInfo &b)
 
static Layout::Alignment text_anchor_to_alignment (unsigned anchor, Layout::Direction para_direction)
 
char * smuggle_adxkyrtl_in (const char *string, int ndx, float *adx, float ky, float rtl)
 
static char const * direction_to_text (Layout::Direction d)
 
static char const * style_to_text (PangoStyle s)
 
static std::string weight_to_text (PangoWeight w)
 

Function Documentation

◆ compareGlyphWidth()

bool Inkscape::Text::compareGlyphWidth ( const PangoGlyphInfo &  a,
const PangoGlyphInfo &  b 
)

Definition at line 1445 of file Layout-TNG-Compute.cpp.

◆ direction_to_text()

◆ smuggle_adxkyrtl_in()

char * Inkscape::Text::smuggle_adxkyrtl_in ( const char *  string,
int  ndx,
float *  adx,
float  ky,
float  rtl 
)

Definition at line 42 of file Layout-TNG-Output.cpp.

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

◆ style_to_text()

static char const * Inkscape::Text::style_to_text ( PangoStyle  s)
static

Definition at line 546 of file Layout-TNG-Output.cpp.

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

◆ text_anchor_to_alignment()

◆ weight_to_text()

static std::string Inkscape::Text::weight_to_text ( PangoWeight  w)
static

Definition at line 556 of file Layout-TNG-Output.cpp.

References w.

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