Logo Search packages:      
Sourcecode: blender version File versions  Download package

float FTSize::Ascender (  )  const

Gets the global ascender height for the face in pixels.

Returns:
Ascender height

Definition at line 43 of file FTSize.cpp.

References ftSize.

Referenced by FTFont::Ascender().

{
    return ftSize == 0 ? 0.0f : static_cast<float>( ftSize->metrics.ascender) / 64.0f;
}


Generated by  Doxygen 1.6.0   Back to index