godot/thirdparty/graphite/src/inc/Segment.h

// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
// Copyright 2010, SIL International, All rights reserved.

#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
{}

} // namespace graphite2

struct gr_segment : public graphite2::Segment {};