Hash :
019af0d2
Author :
Date :
2001-07-26T05:11:34
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
// Code generated by Object Plant
#include "FTSize.h"
#include "FTGL.h"
//Insert your own code here.
//End of user code.
// OPSignature: FTSize:FTSize()
FTSize::FTSize()
: size(0)
{
//Insert your own code here.
//End of user code.
}
// OPSignature: FTSize:~FTSize()
FTSize::~FTSize()
{
//Insert your own code here.
//End of user code.
}
// OPSignature: bool FTSize:SetCharSize( FT_Face:face int:point_size int:x_resolution int:y_resolution )
bool FTSize::CharSize( FT_Face* face, int point_size, int x_resolution, int y_resolution )
{
size = point_size;
FT_Error err = FT_Set_Char_Size( *face, 0L, point_size * 64, x_resolution, y_resolution);
return !err;
}
// OPSignature: int FTSize:GetAscender()
int FTSize::Ascender() const
{
//Insert your own code here.
//End of user code.
}
// OPSignature: int FTSize:GetDescender()
int FTSize::Descender() const
{
//Insert your own code here.
//End of user code.
}