Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBFontEffect Class Reference

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...
 
TBFontGlyphDataRender (TBGlyphMetrics *metrics, const TBFontGlyphData *src)
 

Detailed Description

TBFontEffect applies an effect on each glyph that is rendered in a TBFontFace.

Member Function Documentation

bool tb::TBFontEffect::RendersInRGB ( ) const
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.


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