include/gfx/gfx_hx8347a.h File Reference

Graphic driver for HX8347A compatible displays. More...

Go to the source code of this file.

Defines

Graphics Drawing Primitives

#define gfx_draw_horizontal_line(x, y, length, color)   gfx_generic_draw_horizontal_line(x, y, length, color)
 Draw a horizontal line, one pixel wide.
#define gfx_draw_vertical_line(x, y, length, color)   gfx_generic_draw_vertical_line(x, y, length, color)
 Draw a vertical line, one pixel wide.
#define gfx_draw_line(x1, y1, x2, y2, color)   gfx_generic_draw_line(x1, y1, x2, y2, color)
 Draw a line between two arbitrary points.
#define gfx_draw_rect(x, y, width, height, color)   gfx_generic_draw_rect(x, y, width, height, color)
 Draw an outline of a rectangle.
#define gfx_draw_filled_rect(x, y, width, height, color)   gfx_generic_draw_filled_rect(x, y, width, height, color)
 Draw a filled rectangle.
#define gfx_draw_circle(x, y, radius, color, octant_mask)   gfx_generic_draw_circle(x, y, radius, color, octant_mask)
 Draw an outline of a circle or arc.
#define gfx_draw_filled_circle(x, y, radius, color, quadrant_mask)   gfx_generic_draw_filled_circle(x, y, radius, color, quadrant_mask)
 Draw a filled circle or sector.
#define gfx_get_pixmap(pixmap, map_width, map_x, map_y, x, y, width, height)
 Read a rectangular block of pixels from the screen into data memory.
#define gfx_put_pixmap(pixmap, map_width, map_x, map_y, x, y, width, height)
 Write a rectangular block of pixels stored in data memory to the screen.

Driver-specific Definitions



#define GFX_COLOR(r, g, b)
 Generate a display-native color value from constant RGB components.
#define GFX_COLOR_INVALID   GFX_COLOR(1,2,3)
 Value returned by gfx_get_pixel() for pixels outside clipping region.
#define GFX_COLOR_TRANSPARENT   GFX_COLOR(254,0,0)
 Value used as input to font functions to give a transparent background region.
typedef uint16_t gfx_color_t
 Data type for color values native to the display.
typedef int16_t gfx_coord_t
 Data type representing a coordinate on the screen.

Detailed Description

Graphic driver for HX8347A compatible displays.

Copyright (C) 2009 - 2010 Atmel Corporation. All rights reserved.

Definition in file gfx_hx8347a.h.

Generated on Thu Apr 29 15:18:22 2010 for display-training by  doxygen 1.6.3