0.95-inch RGB OLED Display library  0.5
Library for the 0.95-inch RGB OLED Display library (Parallax Part #28087)
Functions | Variables
oledc_fillRect.c File Reference
#include "oledc_.h"

Functions

void oledc_fillRect (int x0, int y0, int w, int h, unsigned int color)
 Draws a filled rectangle on the screen in the specified color. More...
 

Variables

char TFTROTATION
 
int _width
 
int _height
 

Function Documentation

void oledc_fillRect ( int  x,
int  y,
int  w,
int  h,
unsigned int  color 
)

Draws a filled rectangle on the screen in the specified color.

Parameters
xStarting horizontal coordinate of the rectangle, counted from the left side of the screen.
yStarting vertical coordinate of the rectangle, counted down from the top of the screen.
wWidth of the rectangle.
hHeight of the rectangle.
colorColor of the rectangle, in r5g6b5 format.

Variable Documentation

int _height
int _width
char TFTROTATION