Back to index

Public Member Functions | Public Attributes
std_font_glyphs_rep Struct Reference
Inheritance diagram for std_font_glyphs_rep:
Inheritance graph
Collaboration diagram for std_font_glyphs_rep:
Collaboration graph

List of all members.

Public Member Functions

 std_font_glyphs_rep (string name, glyph *fng, int bc, int ec)
glyphget (int char_code)

Public Attributes

int bc
int ec
bool bad_font_glyphs
string res_name

Detailed Description

Definition at line 79 of file bitmap_font.cpp.

Constructor & Destructor Documentation

std_font_glyphs_rep::std_font_glyphs_rep ( string  name,
glyph fng,
int  bc,
int  ec 

Definition at line 87 of file bitmap_font.cpp.

    font_glyphs_rep (name), bc (bc2), ec (ec2), fng (fng2) {}

Member Function Documentation

glyph & std_font_glyphs_rep::get ( int  char_code) [virtual]

Implements font_glyphs_rep.

Definition at line 92 of file bitmap_font.cpp.

  if ((c<bc) || (c>ec)) return error_glyph;
  return fng [c-bc];

Member Data Documentation

Definition at line 100 of file bitmap_font.hpp.

Definition at line 80 of file bitmap_font.cpp.

Definition at line 80 of file bitmap_font.cpp.

Definition at line 81 of file bitmap_font.cpp.

string rep< font_glyphs >::res_name [inherited]

Definition at line 17 of file resource.hpp.

The documentation for this struct was generated from the following file: