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)  

gr_segment Struct Reference

#include <Segment.h>

Inheritance diagram for gr_segment:
[legend]
Collaboration diagram for gr_segment:
[legend]

Additional Inherited Members

- Public Types inherited from graphite2::Segment
enum  { SEG_INITCOLLISIONS = 1 , SEG_HASCOLLISIONS = 2 }
 
enum  { SEG_INITCOLLISIONS = 1 , SEG_HASCOLLISIONS = 2 }
 
- Public Member Functions inherited from graphite2::Segment
size_t slotCount () const
 
void extendLength (ptrdiff_t num)
 
Position advance () const
 
bool runGraphite ()
 
void chooseSilf (uint32 script)
 
const Silfsilf () const
 
size_t charInfoCount () const
 
const CharInfocharinfo (unsigned int index) const
 
CharInfocharinfo (unsigned int index)
 
 Segment (size_t numchars, const Face *face, uint32 script, int dir)
 
 ~Segment ()
 
uint8 flags () const
 
void flags (uint8 f)
 
Slotfirst ()
 
void first (Slot *p)
 
Slotlast ()
 
void last (Slot *p)
 
void appendSlot (int i, int cid, int gid, int fid, size_t coffset)
 
SlotnewSlot ()
 
void freeSlot (Slot *)
 
SlotJustifynewJustify ()
 
void freeJustify (SlotJustify *aJustify)
 
Position positionSlots (const Font *font=0, Slot *first=0, Slot *last=0, bool isRtl=false, bool isFinal=true)
 
void associateChars (int offset, size_t num)
 
void linkClusters (Slot *first, Slot *last)
 
uint16 getClassGlyph (uint16 cid, uint16 offset) const
 
uint16 findClassIndex (uint16 cid, uint16 gid) const
 
int addFeatures (const Features &feats)
 
uint32 getFeature (int index, uint8 findex) const
 
void setFeature (int index, uint8 findex, uint32 val)
 
int8 dir () const
 
void dir (int8 val)
 
bool currdir () const
 
uint8 passBits () const
 
void mergePassBits (const uint8 val)
 
int16 glyphAttr (uint16 gid, uint16 gattr) const
 
int32 getGlyphMetric (Slot *iSlot, uint8 metric, uint8 attrLevel, bool rtl) const
 
float glyphAdvance (uint16 gid) const
 
const RecttheGlyphBBoxTemporary (uint16 gid) const
 
SlotfindRoot (Slot *is) const
 
int numAttrs () const
 
int defaultOriginal () const
 
const FacegetFace () const
 
const FeaturesgetFeatures (unsigned int)
 
void bidiPass (int paradir, uint8 aMirror)
 
int8 getSlotBidiClass (Slot *s) const
 
void doMirror (uint16 aMirror)
 
SlotaddLineEnd (Slot *nSlot)
 
void delLineEnd (Slot *s)
 
bool hasJustification () const
 
void reverseSlots ()
 
bool isWhitespace (const int cid) const
 
bool hasCollisionInfo () const
 
SlotCollisioncollisionInfo (const Slot *s) const
 
bool read_text (const Face *face, const Features *pFeats, gr_encform enc, const void *pStart, size_t nChars)
 
void finalise (const Font *font, bool reverse=false)
 
float justify (Slot *pSlot, const Font *font, float width, enum justFlags flags, Slot *pFirst, Slot *pLast)
 
bool initCollisions ()
 
size_t slotCount () const
 
void extendLength (ptrdiff_t num)
 
Position advance () const
 
bool runGraphite ()
 
void chooseSilf (uint32 script)
 
const Silfsilf () const
 
size_t charInfoCount () const
 
const CharInfocharinfo (unsigned int index) const
 
CharInfocharinfo (unsigned int index)
 
 Segment (size_t numchars, const Face *face, uint32 script, int dir)
 
 ~Segment ()
 
uint8 flags () const
 
void flags (uint8 f)
 
Slotfirst ()
 
void first (Slot *p)
 
Slotlast ()
 
void last (Slot *p)
 
void appendSlot (int i, int cid, int gid, int fid, size_t coffset)
 
SlotnewSlot ()
 
void freeSlot (Slot *)
 
SlotJustifynewJustify ()
 
void freeJustify (SlotJustify *aJustify)
 
Position positionSlots (const Font *font=0, Slot *first=0, Slot *last=0, bool isRtl=false, bool isFinal=true)
 
void associateChars (int offset, size_t num)
 
void linkClusters (Slot *first, Slot *last)
 
uint16 getClassGlyph (uint16 cid, uint16 offset) const
 
uint16 findClassIndex (uint16 cid, uint16 gid) const
 
int addFeatures (const Features &feats)
 
uint32 getFeature (int index, uint8 findex) const
 
void setFeature (int index, uint8 findex, uint32 val)
 
int8 dir () const
 
void dir (int8 val)
 
bool currdir () const
 
uint8 passBits () const
 
void mergePassBits (const uint8 val)
 
int16 glyphAttr (uint16 gid, uint16 gattr) const
 
int32 getGlyphMetric (Slot *iSlot, uint8 metric, uint8 attrLevel, bool rtl) const
 
float glyphAdvance (uint16 gid) const
 
const RecttheGlyphBBoxTemporary (uint16 gid) const
 
SlotfindRoot (Slot *is) const
 
int numAttrs () const
 
int defaultOriginal () const
 
const FacegetFace () const
 
const FeaturesgetFeatures (unsigned int)
 
void bidiPass (int paradir, uint8 aMirror)
 
int8 getSlotBidiClass (Slot *s) const
 
void doMirror (uint16 aMirror)
 
SlotaddLineEnd (Slot *nSlot)
 
void delLineEnd (Slot *s)
 
bool hasJustification () const
 
void reverseSlots ()
 
bool isWhitespace (const int cid) const
 
bool hasCollisionInfo () const
 
SlotCollisioncollisionInfo (const Slot *s) const
 
bool read_text (const Face *face, const Features *pFeats, gr_encform enc, const void *pStart, size_t nChars)
 
void finalise (const Font *font, bool reverse=false)
 
float justify (Slot *pSlot, const Font *font, float width, enum justFlags flags, Slot *pFirst, Slot *pLast)
 
bool initCollisions ()
 

Detailed Description

Definition at line 236 of file Segment.h.


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