|
0.95-inch RGB OLED Display library
0.5
Library for the 0.95-inch RGB OLED Display library (Parallax Part #28087)
|
#include "oledc_.h"Functions | |
| void | oledc_fillTriangle (int x0, int y0, int x1, int y1, int x2, int y2, unsigned int color) |
| Draws a filled triangle with on the screen in the specified color. More... | |
| void oledc_fillTriangle | ( | int | x0, |
| int | y0, | ||
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| unsigned int | color | ||
| ) |
Draws a filled triangle with on the screen in the specified color.
| x0 | Horizontal coordinate of the first vertex (corner) of the triangle, counted from the left side of the screen. |
| y0 | Vertical coordinate of the first vertex (corner) of the triangle, counted down from the top of the screen. |
| x1 | Horizontal coordinate of the second vertex of the triangle. |
| y1 | Vertical coordinate of the first vertex of the triangle. |
| x2 | Horizontal coordinate of the third vertex of the triangle. |
| y2 | Vertical coordinate of the third vertex of the triangle. |
| color | Color of the triangle, in r5g6b5 format. |
1.8.11