Example #1
0
float FTTextureFont::Advance(const char* string, const int len,
                             FTPoint spacing)
{
    /* The chars need to be unsigned because they are cast to int later */
    const unsigned char *ustring = (const unsigned char *)string;
    return AdvanceI(ustring, len, spacing);
}
Example #2
0
float FTFontImpl::Advance(const wchar_t* string, const int len, FTPoint spacing)
{
    return AdvanceI(string, len, spacing);
}
Example #3
0
float FTFontImpl::Advance(const char* string, const int len, FTPoint spacing)
{
    /* The chars need to be unsigned because they are cast to int later */
    return AdvanceI((const unsigned char *)string, len, spacing);
}