w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

graphite2::Slot Class Reference

#include <Slot.h>

Inheritance diagram for graphite2::Slot:
[legend]
Collaboration diagram for graphite2::Slot:
[legend]

Public Member Functions

unsigned short gid () const
 
Position origin () const
 
float advance () const
 
void advance (Position &val)
 
Position advancePos () const
 
int before () const
 
int after () const
 
uint32 index () const
 
void index (uint32 val)
 
 Slot (int16 *m_userAttr=NULL)
 
void set (const Slot &slot, int charOffset, size_t numUserAttr, size_t justLevels, size_t numChars)
 
Slotnext () const
 
void next (Slot *s)
 
Slotprev () const
 
void prev (Slot *s)
 
uint16 glyph () const
 
void setGlyph (Segment *seg, uint16 glyphid, const GlyphFace *theGlyph=NULL)
 
void setRealGid (uint16 realGid)
 
void adjKern (const Position &pos)
 
void origin (const Position &pos)
 
void originate (int ind)
 
int original () const
 
void before (int ind)
 
void after (int ind)
 
bool isBase () const
 
void update (int numSlots, int numCharInfo, Position &relpos)
 
Position finalise (const Segment *seg, const Font *font, Position &base, Rect &bbox, uint8 attrLevel, float &clusterMin, bool rtl, bool isFinal, int depth=0)
 
bool isDeleted () const
 
void markDeleted (bool state)
 
bool isCopied () const
 
void markCopied (bool state)
 
bool isPositioned () const
 
void markPositioned (bool state)
 
bool isInsertBefore () const
 
uint8 getBidiLevel () const
 
void setBidiLevel (uint8 level)
 
int8 getBidiClass (const Segment *seg)
 
int8 getBidiClass () const
 
void setBidiClass (int8 cls)
 
int16userAttrs () const
 
void userAttrs (int16 *p)
 
void markInsertBefore (bool state)
 
void setAttr (Segment *seg, attrCode ind, uint8 subindex, int16 val, const SlotMap &map)
 
int getAttr (const Segment *seg, attrCode ind, uint8 subindex) const
 
int getJustify (const Segment *seg, uint8 level, uint8 subindex) const
 
void setJustify (Segment *seg, uint8 level, uint8 subindex, int16 value)
 
bool isLocalJustify () const
 
void attachTo (Slot *ap)
 
SlotattachedTo () const
 
Position attachOffset () const
 
SlotfirstChild () const
 
void firstChild (Slot *ap)
 
bool child (Slot *ap)
 
SlotnextSibling () const
 
void nextSibling (Slot *ap)
 
bool sibling (Slot *ap)
 
bool removeChild (Slot *ap)
 
int32 clusterMetric (const Segment *seg, uint8 metric, uint8 attrLevel, bool rtl)
 
void positionShift (Position a)
 
void floodShift (Position adj, int depth=0)
 
float just () const
 
void just (float j)
 
SlotnextInCluster (const Slot *s) const
 
bool isChildOf (const Slot *base) const
 
unsigned short gid () const
 
Position origin () const
 
float advance () const
 
void advance (Position &val)
 
Position advancePos () const
 
int before () const
 
int after () const
 
uint32 index () const
 
void index (uint32 val)
 
 Slot (int16 *m_userAttr=NULL)
 
void set (const Slot &slot, int charOffset, size_t numUserAttr, size_t justLevels, size_t numChars)
 
Slotnext () const
 
void next (Slot *s)
 
Slotprev () const
 
void prev (Slot *s)
 
uint16 glyph () const
 
void setGlyph (Segment *seg, uint16 glyphid, const GlyphFace *theGlyph=NULL)
 
void setRealGid (uint16 realGid)
 
void adjKern (const Position &pos)
 
void origin (const Position &pos)
 
void originate (int ind)
 
int original () const
 
void before (int ind)
 
void after (int ind)
 
bool isBase () const
 
void update (int numSlots, int numCharInfo, Position &relpos)
 
Position finalise (const Segment *seg, const Font *font, Position &base, Rect &bbox, uint8 attrLevel, float &clusterMin, bool rtl, bool isFinal, int depth=0)
 
bool isDeleted () const
 
void markDeleted (bool state)
 
bool isCopied () const
 
void markCopied (bool state)
 
bool isPositioned () const
 
void markPositioned (bool state)
 
bool isInsertBefore () const
 
uint8 getBidiLevel () const
 
void setBidiLevel (uint8 level)
 
int8 getBidiClass (const Segment *seg)
 
int8 getBidiClass () const
 
void setBidiClass (int8 cls)
 
int16userAttrs () const
 
void userAttrs (int16 *p)
 
void markInsertBefore (bool state)
 
void setAttr (Segment *seg, attrCode ind, uint8 subindex, int16 val, const SlotMap &map)
 
int getAttr (const Segment *seg, attrCode ind, uint8 subindex) const
 
int getJustify (const Segment *seg, uint8 level, uint8 subindex) const
 
void setJustify (Segment *seg, uint8 level, uint8 subindex, int16 value)
 
bool isLocalJustify () const
 
void attachTo (Slot *ap)
 
SlotattachedTo () const
 
Position attachOffset () const
 
SlotfirstChild () const
 
void firstChild (Slot *ap)
 
bool child (Slot *ap)
 
SlotnextSibling () const
 
void nextSibling (Slot *ap)
 
bool sibling (Slot *ap)
 
bool removeChild (Slot *ap)
 
int32 clusterMetric (const Segment *seg, uint8 metric, uint8 attrLevel, bool rtl)
 
void positionShift (Position a)
 
void floodShift (Position adj, int depth=0)
 
float just () const
 
void just (float j)
 
SlotnextInCluster (const Slot *s) const
 
bool isChildOf (const Slot *base) const
 

Private Types

enum  Flag {
  DELETED = 1 , INSERTED = 2 , COPIED = 4 , POSITIONED = 8 ,
  ATTACHED = 16 , DELETED = 1 , INSERTED = 2 , COPIED = 4 ,
  POSITIONED = 8 , ATTACHED = 16
}
 
enum  Flag {
  DELETED = 1 , INSERTED = 2 , COPIED = 4 , POSITIONED = 8 ,
  ATTACHED = 16 , DELETED = 1 , INSERTED = 2 , COPIED = 4 ,
  POSITIONED = 8 , ATTACHED = 16
}
 

Private Attributes

Slotm_next
 
Slotm_prev
 
unsigned short m_glyphid
 
uint16 m_realglyphid
 
uint32 m_original
 
uint32 m_before
 
uint32 m_after
 
uint32 m_index
 
Slotm_parent
 
Slotm_child
 
Slotm_sibling
 
Position m_position
 
Position m_shift
 
Position m_advance
 
Position m_attach
 
Position m_with
 
float m_just
 
uint8 m_flags
 
byte m_attLevel
 
int8 m_bidiCls
 
byte m_bidiLevel
 
int16m_userAttr
 
SlotJustifym_justs
 

Friends

class Segment
 

Detailed Description

Definition at line 58 of file Slot.h.

Member Enumeration Documentation

◆ Flag [1/2]

enum graphite2::Slot::Flag
private
Enumerator
DELETED 
INSERTED 
COPIED 
POSITIONED 
ATTACHED 
DELETED 
INSERTED 
COPIED 
POSITIONED 
ATTACHED 

Definition at line 60 of file Slot.h.

◆ Flag [2/2]

enum graphite2::Slot::Flag
private
Enumerator
DELETED 
INSERTED 
COPIED 
POSITIONED 
ATTACHED 
DELETED 
INSERTED 
COPIED 
POSITIONED 
ATTACHED 

Definition at line 60 of file Slot.h.

Constructor & Destructor Documentation

◆ Slot() [1/2]

Slot::Slot ( int16 m_userAttr = NULL)

Definition at line 37 of file Slot.cpp.

◆ Slot() [2/2]

graphite2::Slot::Slot ( int16 m_userAttr = NULL)

Member Function Documentation

◆ adjKern() [1/2]

void graphite2::Slot::adjKern ( const Position pos)
inline

Definition at line 91 of file Slot.h.

References m_advance, m_shift, and pos.

◆ adjKern() [2/2]

void graphite2::Slot::adjKern ( const Position pos)
inline

Definition at line 91 of file Slot.h.

References m_advance, m_shift, and pos.

◆ advance() [1/4]

float graphite2::Slot::advance ( ) const
inline

Definition at line 74 of file Slot.h.

References m_advance, and graphite2::Position::x.

Referenced by graphite2::Pass::resolveKern(), and setAttr().

◆ advance() [2/4]

float graphite2::Slot::advance ( ) const
inline

Definition at line 74 of file Slot.h.

References m_advance, and graphite2::Position::x.

◆ advance() [3/4]

void graphite2::Slot::advance ( Position val)
inline

Definition at line 75 of file Slot.h.

References m_advance, and val.

◆ advance() [4/4]

void graphite2::Slot::advance ( Position val)
inline

Definition at line 75 of file Slot.h.

References m_advance, and val.

◆ advancePos() [1/2]

Position graphite2::Slot::advancePos ( ) const
inline

Definition at line 76 of file Slot.h.

References m_advance.

Referenced by graphite2::Pass::resolveKern().

◆ advancePos() [2/2]

Position graphite2::Slot::advancePos ( ) const
inline

Definition at line 76 of file Slot.h.

References m_advance.

◆ after() [1/4]

int graphite2::Slot::after ( ) const
inline

Definition at line 78 of file Slot.h.

References m_after.

Referenced by graphite2::Segment::addLineEnd(), and graphite2::Segment::appendSlot().

◆ after() [2/4]

int graphite2::Slot::after ( ) const
inline

Definition at line 78 of file Slot.h.

References m_after.

◆ after() [3/4]

void graphite2::Slot::after ( int  ind)
inline

Definition at line 96 of file Slot.h.

References ind, and m_after.

◆ after() [4/4]

void graphite2::Slot::after ( int  ind)
inline

Definition at line 96 of file Slot.h.

References ind, and m_after.

◆ attachedTo() [1/2]

Slot* graphite2::Slot::attachedTo ( ) const
inline

Definition at line 121 of file Slot.h.

References m_parent.

Referenced by finalise(), graphite2::Segment::freeSlot(), graphite2::Segment::justify(), and setAttr().

◆ attachedTo() [2/2]

Slot* graphite2::Slot::attachedTo ( ) const
inline

Definition at line 121 of file Slot.h.

References m_parent.

◆ attachOffset() [1/2]

Position graphite2::Slot::attachOffset ( ) const
inline

Definition at line 122 of file Slot.h.

References m_attach, and m_with.

◆ attachOffset() [2/2]

Position graphite2::Slot::attachOffset ( ) const
inline

Definition at line 122 of file Slot.h.

References m_attach, and m_with.

◆ attachTo() [1/2]

void graphite2::Slot::attachTo ( Slot ap)
inline

Definition at line 120 of file Slot.h.

References ap, and m_parent.

Referenced by graphite2::Segment::freeSlot(), and setAttr().

◆ attachTo() [2/2]

void graphite2::Slot::attachTo ( Slot ap)
inline

Definition at line 120 of file Slot.h.

References ap, and m_parent.

◆ before() [1/4]

int graphite2::Slot::before ( ) const
inline

Definition at line 77 of file Slot.h.

References m_before.

Referenced by graphite2::Segment::addLineEnd(), and graphite2::Segment::appendSlot().

◆ before() [2/4]

int graphite2::Slot::before ( ) const
inline

Definition at line 77 of file Slot.h.

References m_before.

◆ before() [3/4]

void graphite2::Slot::before ( int  ind)
inline

Definition at line 95 of file Slot.h.

References ind, and m_before.

◆ before() [4/4]

void graphite2::Slot::before ( int  ind)
inline

Definition at line 95 of file Slot.h.

References ind, and m_before.

◆ child() [1/2]

bool Slot::child ( Slot ap)

Definition at line 408 of file Slot.cpp.

References ap, m_child, and sibling().

Referenced by graphite2::Segment::appendSlot(), and setAttr().

◆ child() [2/2]

bool graphite2::Slot::child ( Slot ap)

◆ clusterMetric() [1/2]

◆ clusterMetric() [2/2]

int32 graphite2::Slot::clusterMetric ( const Segment seg,
uint8  metric,
uint8  attrLevel,
bool  rtl 
)

◆ finalise() [1/2]

◆ finalise() [2/2]

Position graphite2::Slot::finalise ( const Segment seg,
const Font font,
Position base,
Rect bbox,
uint8  attrLevel,
float &  clusterMin,
bool  rtl,
bool  isFinal,
int  depth = 0 
)

◆ firstChild() [1/4]

Slot* graphite2::Slot::firstChild ( ) const
inline

Definition at line 123 of file Slot.h.

References m_child.

Referenced by graphite2::Segment::freeSlot(), and graphite2::Pass::resolveCollisions().

◆ firstChild() [2/4]

Slot* graphite2::Slot::firstChild ( ) const
inline

Definition at line 123 of file Slot.h.

References m_child.

◆ firstChild() [3/4]

void graphite2::Slot::firstChild ( Slot ap)
inline

Definition at line 124 of file Slot.h.

References ap, and m_child.

◆ firstChild() [4/4]

void graphite2::Slot::firstChild ( Slot ap)
inline

Definition at line 124 of file Slot.h.

References ap, and m_child.

◆ floodShift() [1/2]

void Slot::floodShift ( Position  adj,
int  depth = 0 
)

Definition at line 484 of file Slot.cpp.

References depth, floodShift(), m_child, m_position, and m_sibling.

Referenced by finalise(), and floodShift().

◆ floodShift() [2/2]

void graphite2::Slot::floodShift ( Position  adj,
int  depth = 0 
)

◆ getAttr() [1/2]

◆ getAttr() [2/2]

int graphite2::Slot::getAttr ( const Segment seg,
attrCode  ind,
uint8  subindex 
) const

◆ getBidiClass() [1/4]

int8 graphite2::Slot::getBidiClass ( ) const
inline

Definition at line 110 of file Slot.h.

References m_bidiCls.

◆ getBidiClass() [2/4]

int8 graphite2::Slot::getBidiClass ( ) const
inline

Definition at line 110 of file Slot.h.

References m_bidiCls.

◆ getBidiClass() [3/4]

int8 graphite2::Slot::getBidiClass ( const Segment seg)

◆ getBidiClass() [4/4]

int8 graphite2::Slot::getBidiClass ( const Segment seg)

◆ getBidiLevel() [1/2]

uint8 graphite2::Slot::getBidiLevel ( ) const
inline

Definition at line 107 of file Slot.h.

References m_bidiLevel.

◆ getBidiLevel() [2/2]

uint8 graphite2::Slot::getBidiLevel ( ) const
inline

Definition at line 107 of file Slot.h.

References m_bidiLevel.

◆ getJustify() [1/2]

◆ getJustify() [2/2]

int graphite2::Slot::getJustify ( const Segment seg,
uint8  level,
uint8  subindex 
) const

◆ gid() [1/2]

◆ gid() [2/2]

unsigned short graphite2::Slot::gid ( ) const
inline

Definition at line 72 of file Slot.h.

References m_glyphid.

◆ glyph() [1/2]

uint16 graphite2::Slot::glyph ( ) const
inline

Definition at line 88 of file Slot.h.

References m_glyphid, and m_realglyphid.

Referenced by clusterMetric(), finalise(), and graphite2::Segment::justify().

◆ glyph() [2/2]

uint16 graphite2::Slot::glyph ( ) const
inline

Definition at line 88 of file Slot.h.

References m_glyphid, and m_realglyphid.

◆ index() [1/4]

uint32 graphite2::Slot::index ( ) const
inline

Definition at line 79 of file Slot.h.

References m_index.

Referenced by glnames.StringNode::locate().

◆ index() [2/4]

uint32 graphite2::Slot::index ( ) const
inline

Definition at line 79 of file Slot.h.

References m_index.

Referenced by glnames.StringNode::locate().

◆ index() [3/4]

void graphite2::Slot::index ( uint32  val)
inline

Definition at line 80 of file Slot.h.

References m_index, and val.

Referenced by glnames.StringNode::locate().

◆ index() [4/4]

void graphite2::Slot::index ( uint32  val)
inline

Definition at line 80 of file Slot.h.

References m_index, and val.

Referenced by glnames.StringNode::locate().

◆ isBase() [1/2]

bool graphite2::Slot::isBase ( ) const
inline

Definition at line 97 of file Slot.h.

References m_parent.

Referenced by graphite2::Segment::justify().

◆ isBase() [2/2]

bool graphite2::Slot::isBase ( ) const
inline

Definition at line 97 of file Slot.h.

References m_parent.

◆ isChildOf() [1/2]

bool Slot::isChildOf ( const Slot base) const

Definition at line 523 of file Slot.cpp.

References base, m_parent, and p.

Referenced by graphite2::Pass::resolveCollisions(), and graphite2::Pass::resolveKern().

◆ isChildOf() [2/2]

bool graphite2::Slot::isChildOf ( const Slot base) const

◆ isCopied() [1/2]

bool graphite2::Slot::isCopied ( ) const
inline

Definition at line 102 of file Slot.h.

References COPIED, m_flags, and true.

◆ isCopied() [2/2]

bool graphite2::Slot::isCopied ( ) const
inline

Definition at line 102 of file Slot.h.

References COPIED, m_flags, and true.

◆ isDeleted() [1/2]

bool graphite2::Slot::isDeleted ( ) const
inline

Definition at line 100 of file Slot.h.

References DELETED, m_flags, and true.

◆ isDeleted() [2/2]

bool graphite2::Slot::isDeleted ( ) const
inline

Definition at line 100 of file Slot.h.

References DELETED, m_flags, and true.

◆ isInsertBefore() [1/2]

bool graphite2::Slot::isInsertBefore ( ) const
inline

Definition at line 106 of file Slot.h.

References INSERTED, and m_flags.

Referenced by getAttr().

◆ isInsertBefore() [2/2]

bool graphite2::Slot::isInsertBefore ( ) const
inline

Definition at line 106 of file Slot.h.

References INSERTED, and m_flags.

◆ isLocalJustify() [1/2]

bool graphite2::Slot::isLocalJustify ( ) const
inline

Definition at line 119 of file Slot.h.

References m_justs, and NULL.

◆ isLocalJustify() [2/2]

bool graphite2::Slot::isLocalJustify ( ) const
inline

Definition at line 119 of file Slot.h.

References m_justs, and NULL.

◆ isPositioned() [1/2]

bool graphite2::Slot::isPositioned ( ) const
inline

Definition at line 104 of file Slot.h.

References m_flags, POSITIONED, and true.

◆ isPositioned() [2/2]

bool graphite2::Slot::isPositioned ( ) const
inline

Definition at line 104 of file Slot.h.

References m_flags, POSITIONED, and true.

◆ just() [1/4]

float graphite2::Slot::just ( ) const
inline

Definition at line 133 of file Slot.h.

References m_just.

Referenced by setAttr().

◆ just() [2/4]

float graphite2::Slot::just ( ) const
inline

Definition at line 133 of file Slot.h.

References m_just.

◆ just() [3/4]

void graphite2::Slot::just ( float  j)
inline

Definition at line 134 of file Slot.h.

References j, and m_just.

◆ just() [4/4]

void graphite2::Slot::just ( float  j)
inline

Definition at line 134 of file Slot.h.

References j, and m_just.

◆ markCopied() [1/2]

void graphite2::Slot::markCopied ( bool  state)
inline

Definition at line 103 of file Slot.h.

References COPIED, and m_flags.

◆ markCopied() [2/2]

void graphite2::Slot::markCopied ( bool  state)
inline

Definition at line 103 of file Slot.h.

References COPIED, and m_flags.

◆ markDeleted() [1/2]

void graphite2::Slot::markDeleted ( bool  state)
inline

Definition at line 101 of file Slot.h.

References DELETED, and m_flags.

◆ markDeleted() [2/2]

void graphite2::Slot::markDeleted ( bool  state)
inline

Definition at line 101 of file Slot.h.

References DELETED, and m_flags.

◆ markInsertBefore() [1/2]

void graphite2::Slot::markInsertBefore ( bool  state)
inline

Definition at line 114 of file Slot.h.

References INSERTED, and m_flags.

Referenced by setAttr().

◆ markInsertBefore() [2/2]

void graphite2::Slot::markInsertBefore ( bool  state)
inline

Definition at line 114 of file Slot.h.

References INSERTED, and m_flags.

◆ markPositioned() [1/2]

void graphite2::Slot::markPositioned ( bool  state)
inline

Definition at line 105 of file Slot.h.

References m_flags, and POSITIONED.

◆ markPositioned() [2/2]

void graphite2::Slot::markPositioned ( bool  state)
inline

Definition at line 105 of file Slot.h.

References m_flags, and POSITIONED.

◆ next() [1/4]

◆ next() [2/4]

Slot* graphite2::Slot::next ( void  ) const
inline

Definition at line 84 of file Slot.h.

References m_next.

◆ next() [3/4]

void graphite2::Slot::next ( Slot s)
inline

Definition at line 85 of file Slot.h.

References m_next, and s.

◆ next() [4/4]

void graphite2::Slot::next ( Slot s)
inline

Definition at line 85 of file Slot.h.

References m_next, and s.

◆ nextInCluster() [1/2]

Slot * Slot::nextInCluster ( const Slot s) const

Definition at line 506 of file Slot.cpp.

References base, NULL, and s.

◆ nextInCluster() [2/2]

Slot* graphite2::Slot::nextInCluster ( const Slot s) const

◆ nextSibling() [1/4]

Slot* graphite2::Slot::nextSibling ( ) const
inline

Definition at line 126 of file Slot.h.

References m_sibling.

Referenced by graphite2::Segment::justify(), and removeChild().

◆ nextSibling() [2/4]

Slot* graphite2::Slot::nextSibling ( ) const
inline

Definition at line 126 of file Slot.h.

References m_sibling.

◆ nextSibling() [3/4]

void graphite2::Slot::nextSibling ( Slot ap)
inline

Definition at line 127 of file Slot.h.

References ap, and m_sibling.

◆ nextSibling() [4/4]

void graphite2::Slot::nextSibling ( Slot ap)
inline

Definition at line 127 of file Slot.h.

References ap, and m_sibling.

◆ origin() [1/4]

◆ origin() [2/4]

Position graphite2::Slot::origin ( ) const
inline

Definition at line 73 of file Slot.h.

References m_position.

◆ origin() [3/4]

void graphite2::Slot::origin ( const Position pos)
inline

Definition at line 92 of file Slot.h.

References m_position, m_shift, and pos.

◆ origin() [4/4]

void graphite2::Slot::origin ( const Position pos)
inline

Definition at line 92 of file Slot.h.

References m_position, m_shift, and pos.

◆ original() [1/2]

int graphite2::Slot::original ( ) const
inline

Definition at line 94 of file Slot.h.

References m_original.

◆ original() [2/2]

int graphite2::Slot::original ( ) const
inline

Definition at line 94 of file Slot.h.

References m_original.

◆ originate() [1/2]

void graphite2::Slot::originate ( int  ind)
inline

Definition at line 93 of file Slot.h.

References ind, and m_original.

Referenced by graphite2::Segment::appendSlot().

◆ originate() [2/2]

void graphite2::Slot::originate ( int  ind)
inline

Definition at line 93 of file Slot.h.

References ind, and m_original.

◆ positionShift() [1/2]

void graphite2::Slot::positionShift ( Position  a)
inline

Definition at line 131 of file Slot.h.

References a, and m_position.

◆ positionShift() [2/2]

void graphite2::Slot::positionShift ( Position  a)
inline

Definition at line 131 of file Slot.h.

References a, and m_position.

◆ prev() [1/4]

◆ prev() [2/4]

Slot* graphite2::Slot::prev ( ) const
inline

Definition at line 86 of file Slot.h.

References m_prev.

◆ prev() [3/4]

void graphite2::Slot::prev ( Slot s)
inline

Definition at line 87 of file Slot.h.

References m_prev, and s.

◆ prev() [4/4]

void graphite2::Slot::prev ( Slot s)
inline

Definition at line 87 of file Slot.h.

References m_prev, and s.

◆ removeChild() [1/2]

bool Slot::removeChild ( Slot ap)

Definition at line 430 of file Slot.cpp.

References ap, m_child, nextSibling(), NULL, and p.

Referenced by graphite2::Segment::freeSlot(), and setAttr().

◆ removeChild() [2/2]

bool graphite2::Slot::removeChild ( Slot ap)

◆ set() [1/2]

void Slot::set ( const Slot slot,
int  charOffset,
size_t  numUserAttr,
size_t  justLevels,
size_t  numChars 
)

◆ set() [2/2]

void graphite2::Slot::set ( const Slot slot,
int  charOffset,
size_t  numUserAttr,
size_t  justLevels,
size_t  numChars 
)

◆ setAttr() [1/2]

◆ setAttr() [2/2]

void graphite2::Slot::setAttr ( Segment seg,
attrCode  ind,
uint8  subindex,
int16  val,
const SlotMap map 
)

◆ setBidiClass() [1/2]

void graphite2::Slot::setBidiClass ( int8  cls)
inline

Definition at line 111 of file Slot.h.

References m_bidiCls.

◆ setBidiClass() [2/2]

void graphite2::Slot::setBidiClass ( int8  cls)
inline

Definition at line 111 of file Slot.h.

References m_bidiCls.

◆ setBidiLevel() [1/2]

void graphite2::Slot::setBidiLevel ( uint8  level)
inline

Definition at line 108 of file Slot.h.

References level, and m_bidiLevel.

◆ setBidiLevel() [2/2]

void graphite2::Slot::setBidiLevel ( uint8  level)
inline

Definition at line 108 of file Slot.h.

References level, and m_bidiLevel.

◆ setGlyph() [1/2]

◆ setGlyph() [2/2]

void graphite2::Slot::setGlyph ( Segment seg,
uint16  glyphid,
const GlyphFace theGlyph = NULL 
)

◆ setJustify() [1/2]

void Slot::setJustify ( Segment seg,
uint8  level,
uint8  subindex,
int16  value 
)

Definition at line 395 of file Slot.cpp.

References j, level, m_justs, graphite2::SlotJustify::NUMJUSTPARAMS, and graphite2::SlotJustify::values.

Referenced by setAttr().

◆ setJustify() [2/2]

void graphite2::Slot::setJustify ( Segment seg,
uint8  level,
uint8  subindex,
int16  value 
)

◆ setRealGid() [1/2]

void graphite2::Slot::setRealGid ( uint16  realGid)
inline

Definition at line 90 of file Slot.h.

References m_realglyphid.

◆ setRealGid() [2/2]

void graphite2::Slot::setRealGid ( uint16  realGid)
inline

Definition at line 90 of file Slot.h.

References m_realglyphid.

◆ sibling() [1/2]

bool Slot::sibling ( Slot ap)

Definition at line 419 of file Slot.cpp.

References ap, m_sibling, and sibling().

Referenced by child(), graphite2::Segment::linkClusters(), and sibling().

◆ sibling() [2/2]

bool graphite2::Slot::sibling ( Slot ap)

◆ update() [1/2]

void Slot::update ( int  numSlots,
int  numCharInfo,
Position relpos 
)

Definition at line 81 of file Slot.cpp.

References m_after, m_before, and m_position.

◆ update() [2/2]

void graphite2::Slot::update ( int  numSlots,
int  numCharInfo,
Position relpos 
)

◆ userAttrs() [1/4]

int16* graphite2::Slot::userAttrs ( ) const
inline

Definition at line 112 of file Slot.h.

References m_userAttr.

Referenced by graphite2::Segment::freeSlot().

◆ userAttrs() [2/4]

int16* graphite2::Slot::userAttrs ( ) const
inline

Definition at line 112 of file Slot.h.

References m_userAttr.

◆ userAttrs() [3/4]

void graphite2::Slot::userAttrs ( int16 p)
inline

Definition at line 113 of file Slot.h.

References m_userAttr, and p.

◆ userAttrs() [4/4]

void graphite2::Slot::userAttrs ( int16 p)
inline

Definition at line 113 of file Slot.h.

References m_userAttr, and p.

Friends And Related Function Documentation

◆ Segment

Segment
friend

Definition at line 165 of file Slot.h.

Member Data Documentation

◆ m_advance

Position graphite2::Slot::m_advance
private

Definition at line 154 of file Slot.h.

Referenced by adjKern(), advance(), advancePos(), finalise(), getAttr(), set(), setAttr(), and setGlyph().

◆ m_after

uint32 graphite2::Slot::m_after
private

Definition at line 147 of file Slot.h.

Referenced by after(), set(), and update().

◆ m_attach

Position graphite2::Slot::m_attach
private

Definition at line 155 of file Slot.h.

Referenced by attachOffset(), finalise(), getAttr(), set(), and setAttr().

◆ m_attLevel

byte graphite2::Slot::m_attLevel
private

Definition at line 159 of file Slot.h.

Referenced by finalise(), getAttr(), set(), and setAttr().

◆ m_before

uint32 graphite2::Slot::m_before
private

Definition at line 146 of file Slot.h.

Referenced by before(), set(), and update().

◆ m_bidiCls

int8 graphite2::Slot::m_bidiCls
private

Definition at line 160 of file Slot.h.

Referenced by getBidiClass(), set(), setBidiClass(), and setGlyph().

◆ m_bidiLevel

byte graphite2::Slot::m_bidiLevel
private

Definition at line 161 of file Slot.h.

Referenced by getAttr(), getBidiLevel(), set(), and setBidiLevel().

◆ m_child

Slot * graphite2::Slot::m_child
private

Definition at line 150 of file Slot.h.

Referenced by child(), finalise(), firstChild(), floodShift(), removeChild(), set(), and setAttr().

◆ m_flags

uint8 graphite2::Slot::m_flags
private

◆ m_glyphid

unsigned short graphite2::Slot::m_glyphid
private

Definition at line 143 of file Slot.h.

Referenced by gid(), glyph(), set(), and setGlyph().

◆ m_index

uint32 graphite2::Slot::m_index
private

Definition at line 148 of file Slot.h.

Referenced by index().

◆ m_just

float graphite2::Slot::m_just
private

Definition at line 157 of file Slot.h.

Referenced by finalise(), getAttr(), and just().

◆ m_justs

SlotJustify * graphite2::Slot::m_justs
private

Definition at line 163 of file Slot.h.

Referenced by getJustify(), isLocalJustify(), set(), and setJustify().

◆ m_next

Slot * graphite2::Slot::m_next
private

Definition at line 141 of file Slot.h.

Referenced by next().

◆ m_original

uint32 graphite2::Slot::m_original
private

Definition at line 145 of file Slot.h.

Referenced by getAttr(), original(), originate(), set(), and setAttr().

◆ m_parent

Slot * graphite2::Slot::m_parent
private

Definition at line 149 of file Slot.h.

Referenced by attachedTo(), attachTo(), finalise(), getAttr(), isBase(), isChildOf(), set(), and setAttr().

◆ m_position

Position graphite2::Slot::m_position
private

Definition at line 152 of file Slot.h.

Referenced by finalise(), floodShift(), getAttr(), origin(), positionShift(), set(), and update().

◆ m_prev

Slot * graphite2::Slot::m_prev
private

Definition at line 142 of file Slot.h.

Referenced by prev().

◆ m_realglyphid

uint16 graphite2::Slot::m_realglyphid
private

Definition at line 144 of file Slot.h.

Referenced by glyph(), set(), setGlyph(), and setRealGid().

◆ m_shift

Position graphite2::Slot::m_shift
private

Definition at line 153 of file Slot.h.

Referenced by adjKern(), finalise(), getAttr(), origin(), set(), and setAttr().

◆ m_sibling

Slot * graphite2::Slot::m_sibling
private

Definition at line 151 of file Slot.h.

Referenced by finalise(), floodShift(), nextSibling(), set(), setAttr(), and sibling().

◆ m_userAttr

int16 * graphite2::Slot::m_userAttr
private

Definition at line 162 of file Slot.h.

Referenced by getAttr(), set(), setAttr(), and userAttrs().

◆ m_with

Position graphite2::Slot::m_with
private

Definition at line 156 of file Slot.h.

Referenced by attachOffset(), finalise(), getAttr(), set(), and setAttr().


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