0.95-inch RGB OLED Display library  0.5
Library for the 0.95-inch RGB OLED Display library (Parallax Part #28087)
Functions
oledc_fillTriangle.c File Reference
#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...
 

Function Documentation

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.

Parameters
x0Horizontal coordinate of the first vertex (corner) of the triangle, counted from the left side of the screen.
y0Vertical coordinate of the first vertex (corner) of the triangle, counted down from the top of the screen.
x1Horizontal coordinate of the second vertex of the triangle.
y1Vertical coordinate of the first vertex of the triangle.
x2Horizontal coordinate of the third vertex of the triangle.
y2Vertical coordinate of the third vertex of the triangle.
colorColor of the triangle, in r5g6b5 format.