GraphicsPrinter< pixel_width, red_offset, green_offset, blue_offset, red_size, green_size, blue_size > Template-Klassenreferenz
GraphicsPrinter implementiert die Zeichenmethoden, die von VESAScreen und schlussendlich VESAGraphics angeboten werden. Mehr ...
#include <graphicsprinter.h>
Klassendiagramm für GraphicsPrinter< pixel_width, red_offset, green_offset, blue_offset, red_size, green_size, blue_size >:

Zusammengehörigkeiten von GraphicsPrinter< pixel_width, red_offset, green_offset, blue_offset, red_size, green_size, blue_size >:

Öffentliche Typen | |
typedef Pixel< pixel_width > | Pixel_t |
![]() | |
typedef Pixel< pixel_width > | Pixel_t |
Öffentliche Methoden | |
void | init (unsigned int x_max, unsigned int y_max) |
void | set_lfb (void *lfb) |
void | clear_screen () |
void | print_pixel (unsigned int x, unsigned int y, unsigned char red, unsigned char green, unsigned char blue) |
void | print_line (const Point &start, const Point &end, const Color &color) |
void | print_rectangle (const Point &top_left, const Point &bottom_right, const Color &color, bool filled) |
void | set_font (const Font &new_font) |
void | get_pos (Point &p) |
void | set_pos (const Point &p) |
void | print_text (char *string, int len, const Color &color) |
void | print_text (char *string, int len, const Color &color, const Point &pos) |
void | print_sprite_alpha (const Point &p, int sprite_width, int sprite_height, const SpritePixel *sprite) |
![]() | |
void | init (unsigned int x_max, unsigned int y_max) |
void | put_pixel (const unsigned int x, const unsigned int y, const unsigned char red, const unsigned char green, const unsigned char blue) |
Weitere Geerbte Elemente | |
![]() | |
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) |
Pixel_t * | get_pointer (const Point &p) |
void | blit_bitmap (const Point &p, unsigned int width, unsigned int height, void *bitmap, const Color &color) |
![]() | |
unsigned int | x_max |
unsigned int | y_max |
Ausführliche Beschreibung
template<unsigned int pixel_width, unsigned char red_offset, unsigned char green_offset, unsigned char blue_offset, unsigned char red_size, unsigned char green_size, unsigned char blue_size>
class GraphicsPrinter< pixel_width, red_offset, green_offset, blue_offset, red_size, green_size, blue_size >
GraphicsPrinter implementiert die Zeichenmethoden, die von VESAScreen und schlussendlich VESAGraphics angeboten werden.
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- object/graphicsprinter.h