EasyManuals Logo

CipherLab 8 Series User Manual

CipherLab 8 Series
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 #147 background imageLoading...
Page #147 background image
135
Chapter 4 BASIC Commands
PUT_PIXEL
Purpose To mark a pixel (or a dot) on the LCD.
Syntax PUT_PIXEL(x%, y%, mode%)
Remarks x%, y%are integer variables, indicating the x, y coordinates of a pixel.
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
PUT_PIXEL(80, 120, 1) ' mark a pixel at (80, 120)
See Also CIRCLE, CLS, LINE, RECTANGLE
RECTANGLE
Purpose To draw a rectangle on the LCD.
Syntax RECTANGLE(x1%, y1%, x2%, y2%, type%, mode%)
Remarks x1%, y1%
are integer variables, indicating the x, y coordinates of where a
diagonal starts.
x2%, y2%are integer variables, indicating the x, y coord
inates of where a
diagonal ends.
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
RECTANGLE(10, 20, 80, 100, 1, 1)
RECTANGLE(10, 100, 80, 20, 1, 1)
' draw a rectangle
' same rectangle as above
See Also CIRCLE, CLS, LINE, PUT_PIXEL

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

CipherLab 8 Series Specifications

General IconGeneral
BrandCipherLab
Model8 Series
CategoryPDA
LanguageEnglish

Related product manuals