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

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

#pragma once


#include "graphite2/Font.h"
#include "inc/Main.h"
#include "inc/Position.h"
#include "inc/GlyphFace.h"

namespace graphite2 {

class Face;
class FeatureVal;
class Segment;


struct SlantBox
{};


struct BBox
{};


class GlyphBox
{};

class GlyphCache
{};

inline
unsigned short GlyphCache::numGlyphs() const throw()
{}

inline
unsigned short GlyphCache::numAttrs() const throw()
{}

inline
unsigned short  GlyphCache::unitsPerEm() const throw()
{}

inline
bool GlyphCache::check(unsigned short glyphid) const
{}

inline
const GlyphFace *GlyphCache::glyphSafe(unsigned short glyphid) const
{}

inline
float GlyphCache::getBoundingMetric(unsigned short glyphid, uint8 metric) const
{}

inline const SlantBox &GlyphCache::getBoundingSlantBox(unsigned short glyphid) const
{}

inline const BBox &GlyphCache::getBoundingBBox(unsigned short glyphid) const
{}

inline
float GlyphCache::getSubBoundingMetric(unsigned short glyphid, uint8 subindex, uint8 metric) const
{}

inline const SlantBox &GlyphCache::getSubBoundingSlantBox(unsigned short glyphid, uint8 subindex) const
{}

inline const BBox &GlyphCache::getSubBoundingBBox(unsigned short glyphid, uint8 subindex) const
{}

inline
uint8 GlyphCache::numSubBounds(unsigned short glyphid) const
{}

} // namespace graphite2