|
| static void | _drv_fill_frame_buffer (gd_t *Gd, gd_color_e color) |
| |
| static void | _drv_set_pixel (gd_t *Gd, uint32_t x, uint32_t y, gd_color_e color) |
| |
| static void | _drv_set_refresh (gd_t *Gd) |
| |
| static void | _drv_set_constrat (gd_t *Gd, uint8_t value) |
| |
| static void | _drv_set_on (gd_t *Gd, bool On) |
| |
| static void | _mtx_lock (gd_t *Gd) |
| |
| static void | _mtx_unlock (gd_t *Gd) |
| |
| static float | _DegToRad (float par_deg) |
| |
| static uint16_t | _NormalizeTo0_360 (uint16_t par_deg) |
| |
| gd_error_e | GD_Init (gd_t *Gd, gd_params_t *params) |
| | Initializes the Graphic Display module, configured with the parameters provided.
|
| |
| gd_error_e | GD_Fill (gd_t *Gd, gd_color_e color) |
| | Fill the Frame Buffer with the provided color.
|
| |
| gd_error_e | GD_UpdateScreen (gd_t *Gd) |
| | Update and refresh the update screen with the data into Frame Buffer.
|
| |
| gd_error_e | GD_DrawPixel (gd_t *Gd, uint32_t x, uint32_t y, gd_color_e color) |
| | Write a color into the desired pixel in the frame buffer.
|
| |
| gd_error_e | GD_WriteChar (gd_t *Gd, char ch, const gd_font_t *Font, gd_color_e color) |
| | Write a character into a Frame Buffer, with the lines with the desired color.
|
| |
| gd_error_e | GD_WriteString (gd_t *Gd, char *str, const gd_font_t *Font, gd_color_e color) |
| | Write a string into frame buffer, with the character lines with the desired color.
|
| |
| gd_error_e | GD_SetCursor (gd_t *Gd, uint32_t x, uint32_t y) |
| | Set the cursor to the position X,Y.
|
| |
| gd_error_e | GD_Line (gd_t *Gd, uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, gd_color_e color) |
| | Write a line into the frame buffer between (x1,y1) (x2,y2).
|
| |
| gd_error_e | GD_Polyline (gd_t *Gd, gd_vertex_t *par_vertex, uint16_t par_size, gd_color_e color) |
| | Draw a polyline, composed by staigth lines connecting the points given by vertex array.
|
| |
| gd_error_e | GD_DrawArc (gd_t *Gd, uint32_t x, uint32_t y, uint32_t radius, uint16_t start_angle, uint16_t sweep, gd_color_e color) |
| | Draw an arc into the frame buffer with center, radius, start angle, and sweep.
|
| |
| gd_error_e | GD_DrawArcWithRadiusLine (gd_t *Gd, uint32_t x, uint32_t y, uint32_t radius, uint16_t start_angle, uint16_t sweep, gd_color_e color) |
| | Draw an arc into frame buffer with lines in the radius line.
|
| |
| gd_error_e | GD_DrawCircle (gd_t *Gd, uint32_t par_x, uint32_t par_y, uint32_t par_r, gd_color_e par_color) |
| | Draw a complete circle with defined radius.
|
| |
| gd_error_e | GD_FillCircle (gd_t *Gd, uint32_t par_x, uint32_t par_y, uint32_t par_r, gd_color_e par_color) |
| | Draw a circle filled with the provided color.
|
| |
| gd_error_e | GD_DrawRectangle (gd_t *Gd, uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, gd_color_e color) |
| | Draw a Rectangle between the position (x1,y1) and (x2,y2). The rectangle is not filled, just four lines of a thickness of 1px.
|
| |
| gd_error_e | GD_FillRectangle (gd_t *Gd, uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, gd_error_e color) |
| | Draw a filled rectangle between the pointes (x1,y1) and (x2,y2).
|
| |
| gd_error_e | GD_DrawBitmap (gd_t *Gd, uint32_t x, uint32_t y, const unsigned char *bitmap, uint32_t w, uint32_t h, gd_color_e color) |
| | Draw a bitmap into the Frame Buffer. The bitmap is an array with the pixels on/off.
|
| |
| gd_error_e | GD_SetContrast (gd_t *Gd, uint8_t value) |
| | Set the contrast of the display, if are supported. If display doesn't have this routine, nothing will happens.
|
| |
| gd_error_e | GD_SetDisplayOn (gd_t *Gd, bool on) |
| | Set display On or Off, if the display implements this routine.
|
| |
| bool | GD_GetDisplayOn (gd_t *Gd) |
| | Gets the display On/Off state.
|
| |