STM32F413H-Discovery BSP User Manual
|
Functions | |
static void | DrawChar (uint16_t Xpos, uint16_t Ypos, const uint8_t *c) |
Draws a character on LCD. | |
static void | SetDisplayWindow (uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height) |
Sets display window. | |
static void | FillTriangle (uint16_t x1, uint16_t x2, uint16_t x3, uint16_t y1, uint16_t y2, uint16_t y3) |
Fills a triangle (between 3 points). |
Function Documentation
static void DrawChar | ( | uint16_t | Xpos, |
uint16_t | Ypos, | ||
const uint8_t * | c | ||
) | [static] |
Draws a character on LCD.
- Parameters:
-
Xpos,: Line where to display the character shape Ypos,: Start column address c,: Pointer to the character data
Definition at line 975 of file stm32f413h_discovery_lcd.c.
References LCD_DrawPropTypeDef::BackColor, BSP_LCD_DrawPixel(), LCD_DrawPropTypeDef::pFont, and LCD_DrawPropTypeDef::TextColor.
Referenced by BSP_LCD_DisplayChar().
static void FillTriangle | ( | uint16_t | x1, |
uint16_t | x2, | ||
uint16_t | x3, | ||
uint16_t | y1, | ||
uint16_t | y2, | ||
uint16_t | y3 | ||
) | [static] |
Fills a triangle (between 3 points).
- Parameters:
-
x1,: Point 1 X position y1,: Point 1 Y position x2,: Point 2 X position y2,: Point 2 Y position x3,: Point 3 X position y3,: Point 3 Y position
Definition at line 1047 of file stm32f413h_discovery_lcd.c.
References ABS, and BSP_LCD_DrawLine().
Referenced by BSP_LCD_FillPolygon().
static void SetDisplayWindow | ( | uint16_t | Xpos, |
uint16_t | Ypos, | ||
uint16_t | Width, | ||
uint16_t | Height | ||
) | [static] |
Sets display window.
- Parameters:
-
Xpos,: LCD X position Ypos,: LCD Y position Width,: LCD window width Height,: LCD window height
Definition at line 1030 of file stm32f413h_discovery_lcd.c.
References LcdDrv.
Referenced by BSP_LCD_DrawBitmap(), and BSP_LCD_DrawRGBImage().
Generated on Thu Jan 26 2017 16:30:37 for STM32F413H-Discovery BSP User Manual by 1.7.6.1