| 19 | } |
| 20 | |
| 21 | void Font::initialize(int charsWide, int charsHigh, int charWidth, int charHeight, |
| 22 | float Scale, Camera* pCamera, ScreenRect* pScreen, TileAtlas* ptexatlas) |
| 23 | { |
| 24 | atlas = ptexatlas; |
| 25 | pcamera = pCamera; |
| 26 | pscreen = pScreen; |
| 27 | scaleValue = Scale; |
| 28 | charsXYWH = ScreenRect(charsWide, charsHigh, charWidth, charHeight); |
| 29 | InitSpacings(); |
| 30 | } |
| 31 | |
| 32 | void Font::displayText(float x, float y, float w, float h, |
| 33 | float r, float g, float b, const char *string) |
no test coverage detected