Specifications

402
Syntax: CALL "CONSOLE.FN3" .fcDtLine RECT%(),PTN%,
ATTRIB%,COLOR%
Description:
This function draws a dotted line specified by PTN% between two
points specified by
RECT%() according to the attributes specified by
ATTRIB% and COLOR% on the LCD.
Parameter: RECT%() Coordinates to define a line
PTN% 2-byte (16-bit) dot pattern (The MSB is the head of
the pattern.)
If "0" is set to
ATTRIB%: In the 16 bits, all bits already set to "1" will
be manipulated in the color specified by
COLOR%, from the MSB to
LSB.
If "1" is set to
ATTRIB%: In the 16 bits, all bits already set to "1" will
be manipulated in the reversed display of the current color, from the
MSB to LSB.
(Example) If
PTN%=&HCCCC
In hex.
C C C C
In binary 1100110011001100
BBWWBBWWBBWWBBWW
...
(where B is black and W is white)
The above 16-bit pattern is repeated to produce a dotted line.
ATTRIB% Drawing attributes*
COLOR% Color*
*
COLOR% is valid only when "0" is set to ATTRIB%.
Returned value: (None)
.fcDtLine Draw a dotted line
RECT%(0) Initial X-coordinate (0RECT%(0)199)
RECT%(1) Initial Y-coordinate (0RECT%(1)303)
RECT%(2) Final X-coordinate (0RECT%(2)199)
RECT%(3) Final Y-coordinate (0RECT%(3)303)
.cnColor 0 Draw a line in the color specified by
COLOR%
.cnInvert 1 Draw a line in reverse display in the cur-
rent color
.cnBlack 0 In black
.cnDGray 64 In dark gray
.cnLGray 128 In light gray
.cnWhite 255 In white