User manual
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
553
SPI_T6963C_rectangle
Prototype
sub procedure SPI_T6963C_rectangle(dim x0, y0, x1, y1 as integer, dim pcolor
as byte)
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: SPI_T6963C_BLACK and SPI_T6963C_WHITE
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_rectangle(20, 20, 219, 107, SPI_T6963C_WHITE)
Notes None.
SPI_T6963C_rectangle_round_edges
Prototype
sub procedure SPI_T6963C_rectangle_round_edges(dim x0 as integer, dim y0 as
integer, dim x1 as integer, dim y1 as integer, dim radius as integer, dim
pcolor as byte)
Description Draws a rounded edge 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
- round_radius: radius of the rounded edge.
- pcolor: color parameter. Valid values: SPI_T6963C_BLACK and SPI_T6963C_WHITE
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_rectangle_round_edges(20, 20, 219, 107, 12, SPI_T6963C_WHITE)
Notes None.