image.cpp File Reference

#include "qtbc.h"
#include "image.h"
#include "pngenc.h"
#include <qglobal.h>

Go to the source code of this file.

Variables

const int charSetWidth = 80
const int charHeight = 12
const int numChars = 96
unsigned short charPos [numChars]
unsigned char charWidth [numChars]
unsigned char fontRaw [charSetWidth *charHeight]


Variable Documentation

const int charHeight = 12

Definition at line 25 of file image.cpp.

Referenced by Image::writeChar().

unsigned short charPos[numChars]

Initial value:

 
  {   
      0,  5,  8, 13, 20, 27, 38, 47, 
     50, 54, 58, 65, 72, 76, 83, 87, 
     91, 98,105,112,119,126,133,140,
    147,154,161,164,167,174,181,188,
    195,207,216,224,233,242,250,258,
    267,276,279,286,294,301,312,321,
    331,339,349,357,365,372,380,389,
    400,409,418,427,430,434,437,443,
    450,453,460,467,474,481,488,492,
    499,506,509,512,518,521,530,537,
    544,551,557,562,568,571,578,585,
    594,600,607,613,617,620,624,631
  }

Definition at line 28 of file image.cpp.

Referenced by Image::writeChar().

const int charSetWidth = 80

Definition at line 24 of file image.cpp.

Referenced by Image::writeChar().

unsigned char charWidth[numChars]

Initial value:

 
  {
     5, 3, 5, 7, 7,11, 9, 3,
     4, 4, 7, 7, 4, 7, 4, 4,

     7, 7, 7, 7, 7, 7, 7, 7,
     7, 7, 3, 3, 7, 7, 7, 7,
    12, 9, 8, 9, 9, 8, 8, 9,
     9, 3, 7, 8, 7,11, 9,10,
     8,10, 8, 8, 7, 8, 9,11,
     9, 9, 9, 3, 4, 3, 6, 7,
     3, 7, 7, 7, 7, 7, 4, 7,
     7, 3, 3, 6, 3, 9, 7, 7,
     7, 6, 5, 6, 3, 7, 7, 9,
     6, 7, 6, 4, 3, 4, 7, 5   
  }

Definition at line 44 of file image.cpp.

Referenced by Image::writeChar(), and Image::writeString().

unsigned char fontRaw[charSetWidth *charHeight]

Definition at line 61 of file image.cpp.

Referenced by Image::writeChar().

const int numChars = 96

Definition at line 26 of file image.cpp.



Generated on Mon Mar 31 10:58:52 2008 by  doxygen 1.5.1