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_drawRoundRect (int x, int y, int w, int h, int r, unsigned int color) |
Draws a rectangle with rounded corners on the screen in the specified color. More... | |
void oledc_drawRoundRect | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
int | r, | ||
unsigned int | color | ||
) |
Draws a rectangle with rounded corners on the screen in the specified color.
x | Starting horizontal coordinate of the rectangle, counted from the left side of the screen. |
y | Starting vertical coordinate of the rectangle, counted down from the top of the screen. |
w | Width of the rectangle. |
h | Height of the rectangle. |
r | Radius of the rounded corners. |
color | Color of the rectangle, in r5g6b5 format. |