#include <PkFont.h>
|  | 
|  | PkRasterdata (Byte opcode, const Byte *rasterdata, unsigned int len, unsigned int w, unsigned int h) | 
|  | Creates a Rasterdata object representing the provided data.  More... 
 | 
|  | 
| const Byte * | bitmap () | 
|  | Returns the bitmap corresponding to the input rasterdata.  More... 
 | 
|  | 
      
        
          | PkRasterdata::PkRasterdata | ( | Byte | opcode, | 
        
          |  |  | const Byte * | rasterdata, | 
        
          |  |  | unsigned int | len, | 
        
          |  |  | unsigned int | w, | 
        
          |  |  | unsigned int | h | 
        
          |  | ) |  |  | 
      
 
Creates a Rasterdata object representing the provided data. 
The raster data read from the PK file needs to be decoded into a bitmap, and this is the function of this class.
- Parameters
- 
  
    | opcode | the character code of this glyph |  | rasterdata | the rastered glyph, in the format described in the PK file documentation |  | len | the number of bytes in the rasterdata stream |  | w | the width of the resulting bitmap |  | h | the number of rows in the resulting bitmap |  
 
 
 
  
  | 
        
          | const Byte* PkRasterdata::bitmap | ( | ) |  |  |  | inline | 
 
Returns the bitmap corresponding to the input rasterdata. 
- Returns
- the bitmap, as an array of size [0..w-1][0..h-1]
Referenced by PkGlyph::bitmap().
 
 
Sets the verbosity of this module. 
- Parameters
- 
  
    | level | the required verbosity |  
 
- Returns
- the previous verbosity level 
Referenced by main().
 
 
The documentation for this class was generated from the following files: