EasyManuals Logo

CipherLab 8200 User Manual

CipherLab 8200
263 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #146 background imageLoading...
Page #146 background image
134
CipherLab BASIC Programming Part I
CIRCLE
Purpose To draw a circle on the LCD.
Syntax CIRCLE(cx%, cy%, r%, type%, mode%)
Remarks cx%, cy%
are integer variables, indicating the x, y coordinates of the
center of a circle.
r%is an integer variable, indicating the radius of a circle in pixels.
type%is an integer variable, indicating the type of a circle.
TYPE%
Meaning
0 SHAPE_NORMAL Hollow object
1 SHAPE_FILLL Solid object
mode%is an integer variable, indicating the state of a pixel.
MODE%
Meaning
-1 DOT_REVERSE Dot in Reverse mode
0 DOT_CLEAR Dot being cleared
1 DOT_MARK Dot being marked
Example
CIRCLE(80, 120, 8, 1, 1)
' draw a solid circle centered at
(8,120) with radius of 8 pixels
See Also CLS, LINE, PUT_PIXEL, RECTANGLE
LINE
Purpose To draw a line on the LCD.
Syntax LINE(x1%, y1%, x2%, y2%, mode%)
Remarks x1%, y1%
are integer variables, indicating the x, y coordinates of where a
line starts.
x2%, y2%
are integer variables, indicating the x, y coordinates of where a
line ends.
mode%is an integer variable, indicating the state of a pixel.
MODE%
Meaning
-1 DOT_REVERSE Dot in Reverse mode
0 DOT_CLEAR Dot being cleared
1 DOT_MARK Dot being marked
Example
LINE(10, 10, 120, 10, 1)
LINE(80, 120, 10, 10, 1)
' draw a horizontal line
' draw an oblique line
See Also CIRCLE, CLS, PUT_PIXEL, RECTANGLE

Table of Contents

Other manuals for CipherLab 8200

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the CipherLab 8200 and is the answer not in the manual?

CipherLab 8200 Specifications

General IconGeneral
IP RatingIP54
Display TypeLCD
Barcode ScannerLaser
ConnectivityRS-232
I/O PortsRS-232

Related product manuals