| FTGL
    2.4.0
    | 
FTBuffer is a helper class for pixel buffers. More...
#include <FTBuffer.h>
| Public Member Functions | |
| FTBuffer () | |
| Default constructor.  More... | |
| ~FTBuffer () | |
| Destructor.  More... | |
| FTPoint | Pos () const | 
| Get the pen's position in the buffer.  More... | |
| void | Pos (FTPoint arg) | 
| Set the pen's position in the buffer.  More... | |
| void | Size (int w, int h) | 
| Set the buffer's size.  More... | |
| int | Width () const | 
| Get the buffer's width.  More... | |
| int | Height () const | 
| Get the buffer's height.  More... | |
| unsigned char * | Pixels () const | 
| Get the buffer's direct pixel buffer.  More... | |
FTBuffer is a helper class for pixel buffers.
It provides the interface between FTBufferFont and FTBufferGlyph to optimise rendering operations.
Definition at line 45 of file FTBuffer.h.
| FTBuffer::FTBuffer | ( | ) | 
Default constructor.
| FTBuffer::~FTBuffer | ( | ) | 
Destructor.
| 
 | inline | 
Get the buffer's height.
Definition at line 98 of file FTBuffer.h.
| 
 | inline | 
Get the buffer's direct pixel buffer.
Definition at line 105 of file FTBuffer.h.
| 
 | inline | 
Get the pen's position in the buffer.
Definition at line 63 of file FTBuffer.h.
| 
 | inline | 
Set the pen's position in the buffer.
| arg | An FTPoint object with the desired pen's position. | 
Definition at line 73 of file FTBuffer.h.
| void FTBuffer::Size | ( | int | w, | 
| int | h | ||
| ) | 
Set the buffer's size.
| w | The buffer's desired width, in pixels. | 
| h | The buffer's desired height, in pixels. | 
| 
 | inline | 
Get the buffer's width.
Definition at line 91 of file FTBuffer.h.
 1.8.15
 1.8.15