#pragma once
#include "inc/Main.h"
#include <cassert>
#include "inc/CharInfo.h"
#include "inc/Face.h"
#include "inc/FeatureVal.h"
#include "inc/GlyphCache.h"
#include "inc/GlyphFace.h"
#include "inc/Slot.h"
#include "inc/Position.h"
#include "inc/List.h"
#include "inc/Collider.h"
#define MAX_SEG_GROWTH_FACTOR …
namespace graphite2 {
FeatureList;
SlotRope;
AttributeRope;
JustifyRope;
class Font;
class Segment;
class Silf;
enum SpliceParam { … };
enum justFlags { … };
class SegmentScopeState
{ … };
class Segment
{ … };
inline
int8 Segment::getSlotBidiClass(Slot *s) const
{ … }
inline
void Segment::finalise(const Font *font, bool reverse)
{ … }
inline
int32 Segment::getGlyphMetric(Slot *iSlot, uint8 metric, uint8 attrLevel, bool rtl) const { … }
inline
bool Segment::isWhitespace(const int cid) const
{ … }
}
struct gr_segment : public graphite2::Segment { … };