27 # warning Please use <FTGL/ftgl.h> instead of <FTBuffer.h>.
84 void Size(
int w,
int h);
91 inline int Width()
const {
return width; }
98 inline int Height()
const {
return height; }
105 inline unsigned char *
Pixels()
const {
return pixels; }
116 unsigned char *pixels;
126 #endif // __FTBuffer__
int Width() const
Get the buffer's width.
unsigned char * Pixels() const
Get the buffer's direct pixel buffer.
FTBuffer is a helper class for pixel buffers.
void Pos(FTPoint arg)
Set the pen's position in the buffer.
FTPoint class is a basic 3-dimensional point or vector.
int Height() const
Get the buffer's height.
FTPoint Pos() const
Get the pen's position in the buffer.