SuperTuxKart
Public Member Functions | List of all members
FontWithFace::FontCharCollector Class Referenceabstract

A class for STKTextBillboard to get font info to render billboard text. More...

#include <font_with_face.hpp>

Inheritance diagram for FontWithFace::FontCharCollector:
Inheritance graph
[legend]

Public Member Functions

virtual void collectChar (video::ITexture *texture, const core::rect< float > &destRect, const core::rect< s32 > &sourceRect, const video::SColor *const colors)=0
 Collect the character info for billboard text. More...
 

Detailed Description

A class for STKTextBillboard to get font info to render billboard text.

Member Function Documentation

◆ collectChar()

virtual void FontWithFace::FontCharCollector::collectChar ( video::ITexture *  texture,
const core::rect< float > &  destRect,
const core::rect< s32 > &  sourceRect,
const video::SColor *const  colors 
)
pure virtual

Collect the character info for billboard text.

Parameters
textureThe texture of the character.
destRectThe destination rectangle
sourceRectThe source rectangle in the glyph page
colorsThe color to render it.

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