Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
TCHUNK_SPECS Struct Reference

Information for a single text object. More...

#include <text_reassemble.h>

Public Attributes

uint8_tstring
 UTF-8 text

 
double ori
 Orientation, angle of characters with respect to baseline in degrees.
 
double fs
 font size of text

 
double x
 x coordinate, relative to TR_INFO x,y, in points

 
double y
 y coordinate, relative to TR_INFO x,y, in points

 
double xkern
 x kern relative to preceding text chunk in complex (if any)

 
double ykern
 y kern relative to preceding text chunk in complex (if any)

 
double boff
 Y LL corner - boff finds baseline

 
double vadvance
 Line spacing typically 1.25 or 1.2, only set on the first text element in a complex

 
TRCOLORREF color
 RGB

 
int taln
 text alignment with respect to x,y

 
int ldir
 language direction LDIR_*

 
int italics
 italics, as in FontConfig

 
int weight
 weight, as in FontConfig

 
int condensed
 condensed, as in FontConfig

 
int decoration
 text decorations, ignored during assembly, used during output

 
int spaces
 count of spaces converted from wide kerning (1 or 2)

 
TRCOLORREF decColor
 text decoration color, ignored during assembly, used during output

 
int co
 condensed override, if set Font name included narrow

 
int rt_tidx
 index of rectangle that contains it

 
int fi_idx
 index of the font it uses

 

Detailed Description

Information for a single text object.

Definition at line 184 of file text_reassemble.h.

Member Data Documentation

◆ boff

double TCHUNK_SPECS::boff

Y LL corner - boff finds baseline

Definition at line 192 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), and Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ co

int TCHUNK_SPECS::co

condensed override, if set Font name included narrow

Definition at line 204 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), and Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ color

◆ condensed

int TCHUNK_SPECS::condensed

◆ decColor

TRCOLORREF TCHUNK_SPECS::decColor

text decoration color, ignored during assembly, used during output

Definition at line 203 of file text_reassemble.h.

◆ decoration

int TCHUNK_SPECS::decoration

text decorations, ignored during assembly, used during output

Definition at line 201 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), and Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ fi_idx

int TCHUNK_SPECS::fi_idx

◆ fs

double TCHUNK_SPECS::fs

◆ italics

int TCHUNK_SPECS::italics

◆ ldir

int TCHUNK_SPECS::ldir

◆ ori

double TCHUNK_SPECS::ori

Orientation, angle of characters with respect to baseline in degrees.

Definition at line 186 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), and Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ rt_tidx

int TCHUNK_SPECS::rt_tidx

index of rectangle that contains it

Definition at line 205 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ spaces

int TCHUNK_SPECS::spaces

count of spaces converted from wide kerning (1 or 2)

Definition at line 202 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), and Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ string

◆ taln

int TCHUNK_SPECS::taln

text alignment with respect to x,y

Definition at line 196 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), and Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ vadvance

double TCHUNK_SPECS::vadvance

Line spacing typically 1.25 or 1.2, only set on the first text element in a complex

Definition at line 193 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), and Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ weight

int TCHUNK_SPECS::weight

◆ x

double TCHUNK_SPECS::x

x coordinate, relative to TR_INFO x,y, in points

Definition at line 188 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), and Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ xkern

double TCHUNK_SPECS::xkern

x kern relative to preceding text chunk in complex (if any)

Definition at line 190 of file text_reassemble.h.

◆ y

double TCHUNK_SPECS::y

y coordinate, relative to TR_INFO x,y, in points

Definition at line 189 of file text_reassemble.h.

Referenced by Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), and Inkscape::Extension::Internal::Wmf::myMetaFileProc().

◆ ykern

double TCHUNK_SPECS::ykern

y kern relative to preceding text chunk in complex (if any)

Definition at line 191 of file text_reassemble.h.


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