Hanna
Sourcecode Batteriemanagementsystem |
Generic graphic primitive routines. Mehr ...
gehe zum Quellcode dieser Datei
Datenstrukturen | |
struct | gfx_bitmap |
Storage structure for bitmap pixel data and metadata. Mehr ... | |
Generic graphic primitive routines.
This files includes the correct header files for the graphics service
Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.
Definiert in Datei gfx_generic.h.
typedef void(* gfx_ext_draw_handler_t) (struct gfx_bitmap const *bmp, gfx_coord_t map_x, gfx_coord_t map_y, gfx_coord_t x, gfx_coord_t y) |
Function pointer type for external bitmap draw handlers.
bmp | Pointer to the bitmap. |
map_x | Start pos x. |
map_y | Start pos y. |
x | Width length. |
y | Height length. |
Definiert in Zeile 113 der Datei gfx_generic.h.
enum gfx_bitmap_type |
Valid bitmap types.
This is a library of generic implementations of various graphics primitives. They are meant to simplify the implementation of the low-level graphics driver by providing generic implementations of primitives that aren't directly supported by the hardware.
Aufzählungswerte | |
---|---|
GFX_BITMAP_SOLID |
Solid color bitmap |
GFX_BITMAP_RAM |
Bitmap stored in SRAM |
GFX_BITMAP_PROGMEM |
Bitmap stored in progmem |
GFX_BITMAP_EXT |
Draw bitmap through extended interface |
Definiert in Zeile 69 der Datei gfx_generic.h.
|
static |
Generic implementation of gfx_draw_bitmap().
Definiert in Zeile 191 der Datei gfx_generic.h.
void gfx_generic_draw_bitmap_tiled | ( | const struct gfx_bitmap * | bmp, |
gfx_coord_t | x1, | ||
gfx_coord_t | y1, | ||
gfx_coord_t | x2, | ||
gfx_coord_t | y2, | ||
gfx_coord_t | tile_origin_x, | ||
gfx_coord_t | tile_origin_y | ||
) |
Generic implementation of gfx_draw_bitmap_tiled().
Definiert in Zeile 595 der Datei gfx_generic.c.
void gfx_generic_draw_circle | ( | gfx_coord_t | x, |
gfx_coord_t | y, | ||
gfx_coord_t | radius, | ||
gfx_color_t | color, | ||
uint8_t | octant_mask | ||
) |
Generic implementation of gfx_draw_circle().
Definiert in Zeile 255 der Datei gfx_generic.c.
void gfx_generic_draw_filled_circle | ( | gfx_coord_t | x, |
gfx_coord_t | y, | ||
gfx_coord_t | radius, | ||
gfx_color_t | color, | ||
uint8_t | quadrant_mask | ||
) |
Generic implementation of gfx_draw_filled_circle().
Definiert in Zeile 333 der Datei gfx_generic.c.
void gfx_generic_draw_filled_rect | ( | gfx_coord_t | x, |
gfx_coord_t | y, | ||
gfx_coord_t | width, | ||
gfx_coord_t | height, | ||
gfx_color_t | color | ||
) |
Generic implementation of gfx_draw_filled_rect().
Definiert in Zeile 97 der Datei gfx_generic.c.
|
static |
Generic implementation of gfx_draw_horizontal_line().
Definiert in Zeile 165 der Datei gfx_generic.h.
void gfx_generic_draw_line | ( | gfx_coord_t | x1, |
gfx_coord_t | y1, | ||
gfx_coord_t | x2, | ||
gfx_coord_t | y2, | ||
gfx_color_t | color | ||
) |
Generic implementation of gfx_draw_line().
Definiert in Zeile 167 der Datei gfx_generic.c.
|
static |
Generic implementation of gfx_draw_rect().
Definiert in Zeile 180 der Datei gfx_generic.h.
|
static |
Generic implementation of gfx_draw_vertical_line().
Definiert in Zeile 173 der Datei gfx_generic.h.
void gfx_generic_get_pixmap | ( | gfx_color_t * | pixmap, |
gfx_coord_t | map_width, | ||
gfx_coord_t | map_x, | ||
gfx_coord_t | map_y, | ||
gfx_coord_t | x, | ||
gfx_coord_t | y, | ||
gfx_coord_t | width, | ||
gfx_coord_t | height | ||
) |
Generic implementation of gfx_get_pixmap().
Definiert in Zeile 395 der Datei gfx_generic.c.
void gfx_generic_put_bitmap | ( | const struct gfx_bitmap * | bmp, |
gfx_coord_t | map_x, | ||
gfx_coord_t | map_y, | ||
gfx_coord_t | x, | ||
gfx_coord_t | y, | ||
gfx_coord_t | width, | ||
gfx_coord_t | height | ||
) |
Generic implementation of gfx_put_bitmap().
Definiert in Zeile 645 der Datei gfx_generic.c.
void gfx_generic_put_pixmap | ( | const gfx_color_t * | pixmap, |
gfx_coord_t | map_width, | ||
gfx_coord_t | map_x, | ||
gfx_coord_t | map_y, | ||
gfx_coord_t | x, | ||
gfx_coord_t | y, | ||
gfx_coord_t | width, | ||
gfx_coord_t | height | ||
) |
Generic implementation of gfx_put_pixmap().
Definiert in Zeile 495 der Datei gfx_generic.c.
void gfx_generic_set_ext_handler | ( | gfx_ext_draw_handler_t | gfx_ext_draw | ) |
Generic implementation of setting external bitmap draw interface.
Definiert in Zeile 818 der Datei gfx_generic.c.
|
static |
Generic implementation of gfx_sync().
Definiert in Zeile 199 der Datei gfx_generic.h.