GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
FontGlyphBitmap Class Reference

#include <FreeType.hh>

Inheritance diagram for FontGlyphBitmap:
Collaboration diagram for FontGlyphBitmap:

Public Member Functions

 FontGlyphBitmap (GameApi::Env &e, void *priv_, std::string filename, int sx, int sy)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void Prepare ()
void load_glyph (long idx)
void load_glyph_outline (long idx, float sx, float sy)
int bitmap_top (long idx) const
void check_load ()
virtual int SizeX () const
virtual int SizeY () const
virtual int Map (int x, int y) const
virtual int NumLines () const
virtual Point LinePoint (int line, int point) const
std::vector< int > & Types () const
 ~FontGlyphBitmap ()
Public Member Functions inherited from Bitmap< int >
virtual bool ReadyToPrepare () const
virtual ~Bitmap ()
virtual bool IsDirectGltfImage () const
virtual bool HasBatchMap () const
virtual BufferRef BatchMap (int start_x, int end_x, int start_y, int end_y) const
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const
virtual void FirstFrame ()
Public Member Functions inherited from LineCollection
virtual ~LineCollection ()
virtual unsigned int LineColor (int line, int point) const
virtual Point EndLinePoint (int line, int point) const
virtual unsigned int EndLineColor (int line, int point) const

Public Attributes

float m_sx
float m_sy
GameApi::Env & e
std::string filename
long m_idx
void * priv_
int sx
int sy
Point2d move_point
std::vector< int > types
std::vector< Point2d > points
std::vector< Point2d > control1
std::vector< Point2d > control2
int state
long old_idx

Constructor & Destructor Documentation

◆ FontGlyphBitmap()

FontGlyphBitmap::FontGlyphBitmap ( GameApi::Env & e,
void * priv_,
std::string filename,
int sx,
int sy )
Here is the caller graph for this function:

◆ ~FontGlyphBitmap()

FontGlyphBitmap::~FontGlyphBitmap ( )

Member Function Documentation

◆ bitmap_top()

int FontGlyphBitmap::bitmap_top ( long idx) const
Here is the caller graph for this function:

◆ check_load()

void FontGlyphBitmap::check_load ( )
Here is the caller graph for this function:

◆ Collect()

void FontGlyphBitmap::Collect ( CollectVisitor & vis)
inlinevirtual

Implements CollectInterface.

◆ HeavyPrepare()

void FontGlyphBitmap::HeavyPrepare ( )
inlinevirtual

Implements CollectInterface.

◆ LinePoint()

Point FontGlyphBitmap::LinePoint ( int line,
int point ) const
virtual

Implements LineCollection.

◆ load_glyph()

void FontGlyphBitmap::load_glyph ( long idx)

◆ load_glyph_outline()

void FontGlyphBitmap::load_glyph_outline ( long idx,
float sx,
float sy )
Here is the caller graph for this function:

◆ Map()

int FontGlyphBitmap::Map ( int x,
int y ) const
virtual

Implements Bitmap< int >.

◆ NumLines()

int FontGlyphBitmap::NumLines ( ) const
virtual

Implements LineCollection.

◆ Prepare()

void FontGlyphBitmap::Prepare ( )
inlinevirtual

Implements Bitmap< int >.

◆ SizeX()

int FontGlyphBitmap::SizeX ( ) const
virtual

Implements Bitmap< int >.

Here is the caller graph for this function:

◆ SizeY()

int FontGlyphBitmap::SizeY ( ) const
virtual

Implements Bitmap< int >.

Here is the caller graph for this function:

◆ Types()

std::vector< int > & FontGlyphBitmap::Types ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ control1

std::vector<Point2d> FontGlyphBitmap::control1

◆ control2

std::vector<Point2d> FontGlyphBitmap::control2

◆ e

GameApi::Env& FontGlyphBitmap::e

◆ filename

std::string FontGlyphBitmap::filename

◆ m_idx

long FontGlyphBitmap::m_idx

◆ m_sx

float FontGlyphBitmap::m_sx

◆ m_sy

float FontGlyphBitmap::m_sy

◆ move_point

Point2d FontGlyphBitmap::move_point

◆ old_idx

long FontGlyphBitmap::old_idx

◆ points

std::vector<Point2d> FontGlyphBitmap::points

◆ priv_

void* FontGlyphBitmap::priv_

◆ state

int FontGlyphBitmap::state

◆ sx

int FontGlyphBitmap::sx

◆ sy

int FontGlyphBitmap::sy

◆ types

std::vector<int> FontGlyphBitmap::types

The documentation for this class was generated from the following files: