Mikroelektronika MIKROE-724 データシート
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
577
T6963C_rectangle_round_edges_fill
T6963C_box
T6963C_circle
Prototype
sub procedure T6963C_rectangle_round_edges_fill(dim x0, y0, x1, y1, radius
as integer, dim pcolor as byte)
Description Draws a filled rounded edge rectangle on Glcd.
Parameters -
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
-
round_radius
: radius of the rounded edge
-
pcolor
: color parameter. Valid values:
T6963C_BLACK
and
T6963C_WHITE
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
T6963C_rectangle_round_edges_fill(20, 20, 219, 107, 12, T6963C_WHITE)
Notes
None.
Prototype
sub procedure T6963C_box(dim x0, y0, x1, y1 as integer, dim pcolor as
byte)
Description Draws a box on Glcd
Parameters -
Parameters -
x0
: x coordinate of the upper left box corner
-
y0
: y coordinate of the upper left box corner
-
x1
: x coordinate of the lower right box corner
-
y1
: y coordinate of the lower right box corner
-
pcolor
: color parameter. Valid values: T6963C_BLACK and T6963C_WHITE
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
T6963C_box(0, 119, 239, 127, T6963C_WHITE)
Notes
None.
Prototype
sub procedure T6963C_circle(dim x, y as integer, dim r as longint, dim
pcolor as word)
Description Draws a circle on Glcd.
Parameters -
Parameters -
x
: x coordinate of the circle center
-
y
: y coordinate of the circle center
-
r
: radius size
-
pcolor
: color parameter. Valid values: T6963C_BLACK and T6963C_WHITE
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
T6963C_circle(120, 64, 110, T6963C_WHITE)
Notes
None.