51 #ifndef GFX_ILI9341_INCLUDED 52 #define GFX_ILI9341_INCLUDED 60 #define GFX_COLOR(r, g, b) ILI9341_COLOR(r, g, b) 66 #define GFX_COLOR_INVALID GFX_COLOR(5, 5, 5) 73 #define GFX_COLOR_TRANSPARENT GFX_COLOR(240, 0, 240) 150 #define gfx_draw_horizontal_line(x, y, length, color)\ 151 gfx_generic_draw_horizontal_line(x, y, length, color) 157 #define gfx_draw_vertical_line(x, y, length, color)\ 158 gfx_generic_draw_vertical_line(x, y, length, color) 164 #define gfx_draw_line(x1, y1, x2, y2, color)\ 165 gfx_generic_draw_line(x1, y1, x2, y2, color) 171 #define gfx_draw_rect(x, y, width, height, color)\ 172 gfx_generic_draw_rect(x, y, width, height, color) 178 #define gfx_draw_filled_rect(x, y, width, height, color)\ 179 gfx_generic_draw_filled_rect(x, y, width, height, color) 185 #define gfx_draw_circle(x, y, radius, color, octant_mask)\ 186 gfx_generic_draw_circle(x, y, radius, color, octant_mask) 192 #define gfx_draw_filled_circle(x, y, radius, color, quadrant_mask)\ 193 gfx_generic_draw_filled_circle(x, y, radius, color,\ 200 #define gfx_get_pixmap(pixmap, map_width, map_x, map_y, x, y, width, height)\ 201 gfx_generic_get_pixmap(pixmap, map_width, map_x, map_y, x, y,\ 208 #define gfx_put_pixmap(pixmap, map_width, map_x, map_y, x, y, width, height)\ 209 gfx_generic_put_pixmap(pixmap, map_width, map_x, map_y, x, y,\ 216 #define gfx_put_bitmap(bmp, map_x, map_y, x, y, width, height)\ 217 gfx_generic_put_bitmap(bmp, map_x, map_y, x, y, width, height) 223 #define gfx_draw_bitmap_tiled(bmp, x1, y1, x2, y2, tile_origin_x,\ 225 gfx_generic_draw_bitmap_tiled(bmp, x1, y1, x2, y2,\ 226 tile_origin_x, tile_origin_y) 232 #define gfx_draw_bitmap(bmp, x, y) gfx_generic_draw_bitmap(bmp, x, y) 238 #define gfx_set_ext_handler(ext_draw_handler)\ 239 gfx_generic_set_ext_handler(ext_draw_handler) 245 #define gfx_duplicate_pixel(color, count) ili9341_duplicate_pixel(color, count) 251 #define gfx_get_pixel(x, y) gfx_ili9341_get_pixel(x, y) 257 #define gfx_draw_pixel(x, y, color) gfx_ili9341_draw_pixel(x, y, color) 263 #define gfx_draw_line_pixel(x, y, color) gfx_ili9341_draw_line_pixel(x, y,\ 270 #define gfx_set_top_left_limit(x, y) ili9341_set_top_left_limit(x, y) 276 #define gfx_set_bottom_right_limit(x, y) ili9341_set_bottom_right_limit(x, y) 282 #define gfx_set_limits(x1, y1, x2, y2) ili9341_set_limits(x1, y1, x2, y2) 288 #define gfx_copy_pixels_to_screen(pixels, count)\ 289 ili9341_copy_pixels_to_screen(pixels, count) 295 #define gfx_copy_pixels_from_screen(pixels, count)\ 296 ili9341_copy_pixels_from_screen(pixels, count) 302 #define gfx_copy_progmem_pixels_to_screen(pixels, count, swap)\ 303 ili9341_copy_progmem_pixels_to_screen(pixels, count, swap) 309 #define gfx_color(r, g, b) gfx_ili9341_color(r, g, b) 315 #define gfx_set_orientation(flags) gfx_ili9341_set_orientation(flags) 321 #define gfx_init() gfx_ili9341_init() 327 #define gfx_sync() gfx_generic_sync() void gfx_ili9341_draw_pixel(gfx_coord_t x, gfx_coord_t y, gfx_color_t color)
Draw a single pixel on the screen.
void gfx_ili9341_set_orientation(uint8_t flags)
Set display orientation.
gfx_color_t gfx_ili9341_color(uint8_t r, uint8_t g, uint8_t b)
Generate native color value from R/G/B values.
void gfx_ili9341_init(void)
Initialize the ili9341 display controller.
void gfx_ili9341_draw_line_pixel(gfx_coord_t x, gfx_coord_t y, gfx_color_t color)
Draw a single pixel on the screen.
gfx_color_t gfx_ili9341_get_pixel(gfx_coord_t x, gfx_coord_t y)
Get the color of a pixel on the display.
ili9341_coord_t gfx_coord_t
Data type representing a coordinate on the screen.
ILI9341 Display Controller Component Driver aus dem ASF 3.26.0.
ili9341_color_t gfx_color_t
Data type for color values native to the display.