ClanSoft logo
ClanSoft logo

    CL_Font_Description::CL_Font_Description

Syntax

CL_Font_Description(
         CL_SurfaceProvider *source,
        float trans_limit,
        int space_len,
        int subtract_width,
        const char *letters);

Parameters

source-Image which contain the font letters.
trans_limit-The maximum amount of alpha allowed before a pixel is no longer considered transparent.
space_len-Pixel width of the space character.
subtract_width-Width to subtract from each letter when drawing the font (aka. font kerning).
letters-String containing all the letters listed in the image file. Must be ordered in the same way as in the image file.

Description

This constructs a font description using the new alpha cutter method.

Please have a look on the class overview reference page for more information.


Back to index



This page was built using the Perceps documentation system.