home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
games
/
joydraw.zip
/
README.DOC
< prev
Wrap
Text File
|
1987-06-03
|
6KB
|
158 lines
First draft documentaion for GRAPHED.EXE
By STEVEN BACK.
(201) 679-8078 (VOICE ONLY No calls after 10:00 PM)
GRAPHED is a joystick/keybord driven drawing system which borrows
many ideas from the "full powered" mouse driven drawing programs.
It has the following features
Free hand drawing
Circle Ellipse drawing
Line drawing
Box drawing (both filled and frame boxs)
Paint by solid or pattern.
Spray paint ability
Cut/Copy/Move
"Fancy Pen" drawing (draw with edge)
Menu and function keys
The program starts by defalt in keybord state with Free hand drawing mode
active. You can select joystick by hit the J key and return to Keybord mode
with the K key. When joystick is used the menu may be activated with the
M key and disactivated with the N key. Drawing lines or shapes on the menu
is fixed by hitting N followed by M.
Both normal function keys and ALT function keys are used
F1 Free hand drawing mode
F2 select major color from palette. type 0 1 2 or 3 keys
F3 Line drawing
F4 select palette. type 0 or 1 keys
F5 Box drawing.
F6 select background. 00 through 15 (2 digit numbers)
F7 circles and ellipses
F8 Clear Screen
F9 Fancy Pen
F10 Save screen
Alt F1 Paint area with pattern. (must select pattern first)
Alt F2 select pattern. type 0 1 2 3 4 5 6 7 8 or 9 keys
Alt F3 Spray Can
Alt F4 not used
Alt F5 Cut area
Alt F6 not used
Alt F7 copy cut area (must cut area first)
Alt F8 not used
Alt F9 Move cut area (must cut area first)
Alt F10 Load old screen
Most of these function keys also exist on the joystick icon menu
Move the Prime (first) arrow pointer into the menu area you wish to
select and hit the SPACEBAR. Most Function keys are still useable
even when the menu is displayed.
---------------------------------------------------------
The following describe the use of the drawing modes.
On the joystick Button one is the same as the INS key
Button two is the same as the DEL key
Free hand drawing.
Select by F1 or off menu. Drawing starts with first hit of INS.
Drawing stops with second hit. Mode is continious until another
is selected.
Select Color.
You follow f2 by a numnber 0 to 3
off menu select color you wish directly from 4 colored bars 3/4 down menu
Color can be called while in other modes.
Line drawing mode
Select by F3 or from menu. Move First pointer to start of line. Hit INS key
then more second pointer to end of line. Hit INS key again. Del key can be
used to reset first pointer without drawing line. Mode is continious until
another is selected.
Select palette
only by F4. follow by number 0 or 1.
Can be called while in other modes.
Box drawing mode.
Select by F5 or from menu. Move first pointer to one cornor of box. Hit INS
and move second pointer to far diagonal cornor or box. Hit INS for wire
frame box for SPACEBAR for filled in box. Mode is continious until another
is selected.
Select background
Only by F6. Follow by number 00 to 15. Two characters are needed to
register. Can be called while in other modes.
Circles and ellipses mode.
Select by F7 or from menu. Move first pointer to start point. Hit INS to
fix pointer. Move second pointer and select shape you wish. type r d e for
radius circle, diamater circle or ellipse. Mode is continious with pointer
one fixed until another is selected WITH FUNCTION KEYS ONLY.
Clear screen.
Select only by F8. Since this is an early test relise of this program. User
prompts are very basic and you can acadently erase the screen with out
warning so be carfull when hitting F8.
Fancy pen mode.
Select by F9 or by menu. Move first pointer anywhere hit INS, move second
pointer distance and angle you wish for pen's edge. Hit INS again. Move
first pointer as in freehand drawing. INS turns on and off. Mode is
continious until another is selected.
Save drawing mode.
Select by F10 or by menu. You are prompted for a file name by a non
destructive input line. Pathname size is limited. It is reconemended that
if you plan to save in a hard to get at directory you use temporay names
and move the files after exiting the program. Save can be called from any
mode.
Paint area mode.
Select by Alt F1 or by menu. You must have picked a pattern first or this
mode will do nothing. Move pointer to within area to be painted and hit INS
followed by 0 1 2 or 3 which is the boarder color to stop at. Mode is
continious until another is selected.
Select pattern mode
Select by Alt F2 or by menu. (pattern like area) type key 0 1 2 3 4 5 6 7 8
9 to select pattern. 0 to 3 represnt basic solid colors the rest are built
in shape tables. Can be called from any mode.
Spray paint mode.
Select by Alt F3 or by menu. Start spray with INS key stop with same. Mode
is continious until another is selected.
Cut shape mode.
Select by Alt F5 or by menu. Shape is always rectangular. Fix first pointer
with INS. Move second pointer and hit INS. Mode returns to previous mode.
(there is danger that the pointer may not be erased) Shape is always moved
by top left cornor.
Copy Shape mode.
Select by Alt F7 or by menu. (Wide right arrow icon) Copy is made every
time INS is hit. Mode is continious until another is selected.
Move Shape mode.
Select by Alt F9 or by menu. (Paper dolls) Move is made every time INS is
hit. Mode is continious until another is selected.
Load old screen.
Select by Alt F10 or by menu. Same rules about filenames apply as for save.
Format of save file is BLOAD as using by basic. Can be used in basic
program with following code. DEF SEG=&hb800:Bload"Filename",0 'load
DEF SEG=&hb800:Bsave"Filename",0,&h4000 'save
Remember that the when joystick is active INS key is same as button 1.
Special note. Many of the graphic procedures used in this program came from
Advanced IBM PC Graphics, state of the Art by Michael L. Hyman. Published
by Brady Communication Company INC NYNY 10020. It is strongly reconmened
that anyone interested in IBM graphics look this book up.