#include "graphite2/Font.h"
#include "inc/Main.h"
#include "inc/Face.h"
#include "inc/GlyphCache.h"
#include "inc/GlyphFace.h"
#include "inc/Endian.h"
#include "inc/bits.h"
usingnamespacegraphite2;
namespace
{
template<typename W>
class _glat_iterator
{ … };
glat_iterator;
glat2_iterator;
}
const SlantBox SlantBox::empty = …;
class GlyphCache::Loader
{ … };
GlyphCache::GlyphCache(const Face & face, const uint32 face_options)
: … { … }
GlyphCache::~GlyphCache()
{ … }
const GlyphFace *GlyphCache::glyph(unsigned short glyphid) const
{ … }
GlyphCache::Loader::Loader(const Face & face)
: … { … }
operator bool()
inline
unsigned short int GlyphCache::Loader::units_per_em() const throw()
{ … }
inline
unsigned short int GlyphCache::Loader::num_glyphs() const throw()
{ … }
inline
unsigned short int GlyphCache::Loader::num_attrs() const throw()
{ … }
inline
bool GlyphCache::Loader::has_boxes () const throw()
{ … }
const GlyphFace * GlyphCache::Loader::read_glyph(unsigned short glyphid, GlyphFace & glyph, int *numsubs) const throw()
{ … }
inline float scale_to(uint8 t, float zmin, float zmax)
{ … }
Rect readbox(Rect &b, uint8 zxmin, uint8 zymin, uint8 zxmax, uint8 zymax)
{ … }
GlyphBox * GlyphCache::Loader::read_box(uint16 gid, GlyphBox *curr, const GlyphFace & glyph) const throw()
{ … }