
GraphicsPrinter implementiert die Zeichenmethoden, die von VESAScreen und schlussendlich VESAGraphics angeboten werden. Mehr ...
#include <graphicsprinter.h>
Ö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 (int x, 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_image (const Point &p, PNG &image, unsigned width=0, unsigned height=0, unsigned offset_x=0, unsigned offset_y=0) |
void | print_image (const Point &p, const GIMP &image, unsigned width=0, unsigned height=0, unsigned offset_x=0, unsigned offset_y=0) |
void | print_image (const Point &p, const SpritePixelRGB8 *image, unsigned width, unsigned height, unsigned offset_x=0, unsigned offset_y=0) |
void | print_image (const Point &p, const SpritePixelRGBA8 *image, unsigned width, unsigned height, unsigned offset_x=0, unsigned offset_y=0) |
![]() | |
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) |
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) |
![]() | |
unsigned int | x_max |
unsigned int | y_max |
GraphicsPrinter implementiert die Zeichenmethoden, die von VESAScreen und schlussendlich VESAGraphics angeboten werden.