Mikroelektronika MIKROE-738 Datenbogen
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
318
mikoC PRO for PIC32
MikroElektronika
S1D13700_Box
Prototype
void S1D13700_Rectangle(unsigned int x0, unsigned int y0, unsigned int x1,
unsigned int y1, unsigned char pcolor);
Returns
Nothing.
Description Draws a rectangle on Glcd.
Parameters:
-
x0
: x coordinate of the upper left rectangle corner.
-
y0
: y coordinate of the upper left rectangle corner.
-
x1
: x coordinate of the lower right rectangle corner.
-
y1
: y coordinate of the lower right rectangle corner.
-
pcolor
: color parameter. Valid values :
Requires
Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
S1D13700_Box(0, 119, 239, 127, S1D13700_WHITE);
Value
Description
S1D13700_BLACK
Black color.
S1D13700_WHITE
White color.
S1D13700_Rectangle_Round_Edges
Prototype
void S1D13700_Rectangle_Round_Edges(unsigned int x_upper_left, unsigned int
y_upper_left, unsigned int x_bottom_right, unsigned int y_bottom_right,
unsigned short round_radius, unsigned short color);
Returns
Nothing.
Description Draws a rounded edge rectangle on Glcd.
Parameters:
-
x_upper_left
: x coordinate of the upper left rectangle corner.
-
y_upper_left
: y coordinate of the upper left rectangle corner.
-
x_bottom_right
: x coordinate of the lower right rectangle corner.
-
y_bottom_right
: y coordinate of the lower right rectangle corner.
-
round_radius
: radius of the rounded edge.
-
pcolor
: color parameter. Valid values:
Requires
Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
S1D13700_Rectangle_Round_Edges(20, 20, 219, 107, 12, S1D13700_WHITE);
Value
Description
S1D13700_BLACK
Black color.
S1D13700_WHITE
White color.