Hasty Badger
Small UI library (a branch of Turbo Badger)
|
TBFontEffect applies an effect on each glyph that is rendered in a TBFontFace. More...
#include <tb_font_renderer.h>
Public Member Functions | |
void | SetBlurRadius (int blur_radius) |
Set blur radius. More... | |
bool | RendersInRGB () const |
Returns true if the result is in RGB and should not be painted using the color parameter given to DrawString. More... | |
TBFontGlyphData * | Render (TBGlyphMetrics *metrics, const TBFontGlyphData *src) |
TBFontEffect applies an effect on each glyph that is rendered in a TBFontFace.
|
inline |
Returns true if the result is in RGB and should not be painted using the color parameter given to DrawString.
In other words: It's a color glyph.
void tb::TBFontEffect::SetBlurRadius | ( | int | blur_radius | ) |
Set blur radius.
0 means no blur.