
Die Klasse Framebuffer kapselt die grundlegende Funktionalität, um den Inhalt eines Stück Speichers als Bitmap zu behandeln. Mehr ...
#include <framebuffer.h>
Öffentliche Typen | |
typedef Pixel< pixel_width > | Pixel_t |
Geschützte Methoden | |
void | set_lfb (void *lfb) |
void | put_pixel (void *pos, const unsigned char red, const unsigned char green, const unsigned char blue) |
void | put_pixel (Pixel_t *pos, const Color &color) |
Color | get_pixel (Pixel_t *pos) |
void | add_pixel (Pixel_t *pos, const struct SpritePixel< RGB, true, 8 > &pixel) |
void | add_pixel (Pixel_t *pos, const struct SpritePixel< RGB, true, 16 > &pixel) |
void | add_pixel (Pixel_t *pos, const struct SpritePixel< GREYSCALE, true, 4 > &pixel) |
void | add_pixel (Pixel_t *pos, const struct SpritePixel< GREYSCALE, true, 8 > &pixel) |
void | add_pixel (Pixel_t *pos, const struct SpritePixel< RGB, false, 8 > &pixel) |
void | add_pixel (Pixel_t *pos, const struct SpritePixel< RGB, false, 16 > &pixel) |
void | add_pixel (Pixel_t *pos, const struct SpritePixel< GREYSCALE, false, 8 > &pixel) |
Pixel_t * | get_pointer (const Point &p) |
void | blit_bitmap (const Point &p, unsigned int width, unsigned int height, void *bitmap, const Color &color) |
Geschützte Attribute | |
unsigned int | x_max |
unsigned int | y_max |
Die Klasse Framebuffer kapselt die grundlegende Funktionalität, um den Inhalt eines Stück Speichers als Bitmap zu behandeln.