27# warning Please use <FTGL/ftgl.h> instead of <FTBuffer.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;
FTBuffer is a helper class for pixel buffers.
FTPoint Pos() const
Get the pen's position in the buffer.
unsigned char * Pixels() const
Get the buffer's direct pixel buffer.
FTBuffer()
Default constructor.
int Width() const
Get the buffer's width.
int Height() const
Get the buffer's height.
void Size(int w, int h)
Set the buffer's size.
void Pos(FTPoint arg)
Set the pen's position in the buffer.
FTPoint class is a basic 3-dimensional point or vector.