This class drives the LCD display (RK043FN48H-CT672B 4,3" 480x272 pixels device) present on DISCO_F746NG board.
Fork of LCD_DISCO_F746NG by
Diff: LCD_DISCO_F746NG.cpp
- Revision:
- 1:c7db3cc2453e
- Parent:
- 0:d44525b1de98
--- a/LCD_DISCO_F746NG.cpp Mon Sep 28 13:34:04 2015 +0000 +++ b/LCD_DISCO_F746NG.cpp Tue Aug 01 17:33:30 2017 +0000 @@ -245,6 +245,12 @@ BSP_LCD_FillPolygon(Points, PointCount); } +//Marcus +void LCD_DISCO_F746NG::FillTriangle(uint16_t x1, uint16_t x2, uint16_t x3, uint16_t y1, uint16_t y2,uint16_t y3) +{ + BSP_LCD_FillTriangle(x1, x2, x3, y1, y2, y3); +} + void LCD_DISCO_F746NG::FillEllipse(int Xpos, int Ypos, int XRadius, int YRadius) { BSP_LCD_FillEllipse(Xpos, Ypos, XRadius, YRadius);