Krita Source Code Documentation
Loading...
Searching...
No Matches
KoFontGlyphModel::Private::GlyphInfo Struct Reference

Public Member Functions

bool compare (const GlyphInfo &other)
 
 GlyphInfo ()
 
 GlyphInfo (uint utf)
 

Public Attributes

QString baseString
 
int featureIndex = -1
 
uint parentUcs = invalidUnicodeCodePoint
 
GlyphType type = Base
 
uint ucs = invalidUnicodeCodePoint
 

Detailed Description

Definition at line 15 of file KoFontGlyphModel.cpp.

Constructor & Destructor Documentation

◆ GlyphInfo() [1/2]

KoFontGlyphModel::Private::GlyphInfo::GlyphInfo ( )
inline

Definition at line 16 of file KoFontGlyphModel.cpp.

17 {
18 }

◆ GlyphInfo() [2/2]

KoFontGlyphModel::Private::GlyphInfo::GlyphInfo ( uint utf)
inline

Definition at line 19 of file KoFontGlyphModel.cpp.

References parentUcs, and ucs.

Member Function Documentation

◆ compare()

bool KoFontGlyphModel::Private::GlyphInfo::compare ( const GlyphInfo & other)
inline

Definition at line 31 of file KoFontGlyphModel.cpp.

31 {
32 return type == other.type
33 && ucs == other.ucs
34 && parentUcs == other.parentUcs
35 && baseString == other.baseString
36 && featureIndex == other.featureIndex;
37 }

References baseString, featureIndex, parentUcs, type, and ucs.

Member Data Documentation

◆ baseString

QString KoFontGlyphModel::Private::GlyphInfo::baseString

Definition at line 28 of file KoFontGlyphModel.cpp.

◆ featureIndex

int KoFontGlyphModel::Private::GlyphInfo::featureIndex = -1

Definition at line 29 of file KoFontGlyphModel.cpp.

◆ parentUcs

uint KoFontGlyphModel::Private::GlyphInfo::parentUcs = invalidUnicodeCodePoint

Definition at line 26 of file KoFontGlyphModel.cpp.

◆ type

GlyphType KoFontGlyphModel::Private::GlyphInfo::type = Base

Definition at line 27 of file KoFontGlyphModel.cpp.

◆ ucs

uint KoFontGlyphModel::Private::GlyphInfo::ucs = invalidUnicodeCodePoint

Definition at line 25 of file KoFontGlyphModel.cpp.


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