home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. CD ROM (Annual Premium Edition)
/
premium.zip
/
premium
/
DOSGRAPH
/
DRAWV221.ZIP
/
DRAW256.DOC
< prev
next >
Wrap
Text File
|
1993-03-12
|
14KB
|
392 lines
Draw256 v2.21 Documentation
March 12, 1993
Draw256 software and manual are copyright (c) 1993
by Matthew Hildebrand. All rights reserved.
Topics covered in this document:
-------------------------------
INTRODUCTION
MAJOR FEATURES OF Draw256
SYSTEM REQUIREMENTS
PACKING LIST
RELEASE NOTES FOR v2.21
User's Guide:
USING Draw256
HELP
AIRBRUSH
CHANGING THE IMAGE DIMENSIONS
EDITING THE COLOUR PALETTE
REGION FILLS
ERASING
SAVING AND LOADING IMAGES
MAGNIFYING PORTIONS OF AN IMAGE
STARTING A NEW IMAGE
THE PALETTE MENU
RANDOM COLOURS
STAMPS
EXITING Draw256
DOS SHELL
CONFIGURING Draw256
TERMS OF USAGE AND DISTRIBUTION
CONTACTING THE AUTHOR
OBTAINING Draw256
REVISION HISTORY
ACKNOWLEDGEMENT
LEGAL MUMBO JUMBO
INTRODUCTION
Draw256 is the result of my efforts to construct an easily available
and free art package for the PC. It incorporates some of the features
that I have looked for in an art package, usually without success.
Draw256 is one of a handful of non-commercial art packages that I know
of. I hope that it will help fill the requirements of users.
MAJOR FEATURES OF Draw256
It's free.
Draw256 uses loadable graphics drivers. This means that Draw256 can
be modified to work with a different video card simply by installing
the appropriate driver.
Both EMS (Expanded) and XMS (Extended) memory are used, making much
more room for image data.
Images varying in size from one pixel by one pixel to the size of
available memory can be manipulated.
The workspace isn't cluttered. I got fed up with art packages that
filled the screen with icons, leaving only a small space in which to
draw. In Draw256, the entire screen is the workspace. Instead of
distracting icons, almost every command is available with a single
keystroke.
Many art packages require that certain palette entries be left
unaltered, so that their system colours remain intact. Draw256 is
adaptive; from any palette, Draw256 will use the colour that most
closely matches the actual colour it needs at the time. This strategy
leaves all palette entries open for editing, and makes palette editing
simpler.
SYSTEM REQUIREMENTS
Draw256 requires: a 286 processor or higher, a Microsoft or
compatible mouse and mouse driver, a VGA or compatible video card, and
about 500 Kb of conventional memory.
Draw256 will be happier if it is run on a 386 or higher processor. In
this case, it will make use of any available EMS and/or XMS memory.
In order to use the 320x240, 320x400, and 360x480 drivers, a register-
compatible VGA card is required. For most users, this requirement
should not present a problem.
PACKING LIST
The current version of Draw256 consists of the following files:
DRAW256.DOC This file
DRAW256.EXE The program code
DRAW256.CFG The configuration file
320X200.DRV Graphics driver for VGA 320x200x256 mode
320X240.DRV Graphics driver for VGA 320x240x256 mode
320X400.DRV Graphics driver for VGA 320x400x256 mode
360X480.DRV Graphics driver for VGA 360x480x256 mode
640X480.DRV Graphics driver for SuperVGA/VESA 640x480x256 mode
(autodetect)
800X600.DRV Graphics driver for SuperVGA/VESA 800x600x256 mode
(autodetect)
1024X768.DRV Graphics driver for SuperVGA/VESA 1024x768x256
mode (autodetect)
ANGULAR.FNT Font definition file
If you did not receive all of these files, you have an illegal copy of
Draw256.
RELEASE NOTES FOR v2.21
Draw256 now has much improved SuperVGA support. Notably, the Trident
bug is dead.
Draw256 may exhibit unusual behaviour when it is run under tight
memory constraints. For best results, give Draw256 plenty of memory.
USING Draw256
Although it may be slightly intimidating at first, Draw256 is easy to
use. Simply run DRAW256.EXE, and it's ready.
To draw, hold down the left mouse button while moving the mouse.
Alternatively, you may use the numeric keypad to draw by pressing any
of the eight direction keys while either NumLock is active or a Shift
key is pressed. To draw a single pixel at the current pointer
position, press the spacebar.
To select a new drawing colour, click the right mouse button. Click
the left button on the colour you wish to draw with. To abort, either
hit ESC or click the right button once again.
When images larger than the screen are being worked with, the portion
of the image being displayed can be changed with Ctrl-key
combinations. Ctrl-left moves left, Ctrl-down moves down, Ctrl-Home
moves to the upper-left, Ctrl-5 moves to the center, Ctrl-PgDn moves
to the lower-right, and so on. All eight direction keys and the 5 on
the numeric keypad can be used.
The other keys are reserved for more specific functions. Read on for
a more detailed description.
HELP
For help, hit the F1 key.
AIRBRUSH
The 'A' key will toggle the airbrush on/off.
CHANGING THE IMAGE DIMENSIONS
Draw256 supports images ranging in size from one pixel to the size of
available memory. To change the dimensions, press 'D', then enter the
new width and depth as prompted. Caution: this procedure will
destroy the current image.
EDITING THE COLOUR PALETTE
The VGA's default palette, is, at best, lousy. Draw256 allows you to
edit each of the 256 available colours to your liking. To do so,
press 'E', then select the colour you wish to edit. Play around with
the up, down, left, and right keys; you'll learn the controls soon
enough.
REGION FILLS
Draw256 allows you to fill a portion of the current image with a
colour. To do so, position the mouse pointer in the region you wish
to fill, then press 'F'. The fill routine I wrote will fill, using
the current drawing colour, until a colour other than that of the
region is encountered.
ERASING
To erase part of the current image, press 'K'. When the left mouse
button is pressed, the area inside the rectangle will be blanked with
the current drawing colour.
SAVING AND LOADING IMAGES
Images may be saved and loaded in either Draw256's own .VGA format, or
the .PCX format. To save, press 'S'; to load, press 'L'. Afterwards,
type in the name of the file. (Caution: if you are saving, and the
file you enter exists, it will be overwritten.)
No extension is necessary on the filenames. If none is present, the
default extension will be assumed (See "CONFIGURING Draw256"). If the
extension exists, and is either .VGA or .PCX, the save or load will be
forced to that format.
MAGNIFYING PORTIONS OF AN IMAGE
To activate the magnification feature, press 'M', then select the area
you wish to magnify. During magnification, new colours may be
selected.
To accept the changes made during magnification, press either 'M' or
Enter. To abort the changes, press ESC.
STARTING A NEW IMAGE
To completely abandon the current image and start a new one, press
'N'.
THE PALETTE MENU
To access the palette menu, press 'P'. From this menu, palettes may
be saved and loaded, in either the raw binary .PAL format, or
Fractint's .MAP format. .PAL files are smaller and slightly faster,
but utterly illegible. .MAP files are suitable for editing, and are
much more easily read.
RANDOM COLOURS
If for some reason you wish to draw with the current colour constantly
changing, you may do so. Press 'R' to toggle the random colours
on/off. This option can produce an interesting effect, especially
when used in conjunction with the airbrush.
STAMPS
A "stamp" is a portion of an image which may be easily placed anywhere
on an image.
To cut a stamp, press 'C', then hold down the left mouse button and
move the mouse until the area you wish to use as the current stamp is
outlined.
To write the current stamp, press 'W', then move the mouse and click
the left button wherever you wish to place the stamp. Click the right
mouse button or press ESC when finished.
To access the stamp menu, press 'T'. Cutting and pasting are
accessible through this menu, as are saving and loading of stamps.
Stamps may be stored on disk in either Draw256's .VGA format or the
.PCX format.
EXITING Draw256
To exit Draw256, press ESC.
DOS SHELL
To shell to DOS, press F10.
CONFIGURING Draw256
Draw256 comes ready to use. However, several changes may be made by
editing the file DRAW256.CFG with a text editor. There are two types
of lines in DRAW256.CFG: comment lines, which have a semicolon in the
first column, and configuration lines, which consist of, in order, a
valid configuration directive, some whitespace, and a valid parameter
for that directive.
Valid directives are:
GRAFDRV The filename of the graphics driver to be used
FONT The filename of the font to use
DEFAULTPAL The filename of a .PAL to be loaded automatically
DEFAULTMAP The filename of a .MAP to be loaded automatically
DRAWCOLOUR The default drawing colour (defaults to 0)
HORIZMOUSE Horizontal mouse sensitivity, in mickeys per pixel
VERTMOUSE Vertical mouse sensitivity, in mickeys per pixel
IMAGEWIDE The default image width (defaults to screen width)
IMAGEDEEP The default image depth (defaults to screen depth)
IMAGETYPE The default image type: either .PCX or .VGA
(defaults to .VGA)
DRAW256.CFG must include at least one GRAFDRV and at least one FONT
directive.
The mickey is the unit used to measure mouse movement. Smaller
numbers will produce greater sensitivity, while large numbers will
decrease sensitivity.
When more than one of the same directive is present, the last one is
used.
TERMS OF USAGE AND DISTRIBUTION
The Draw256 software and its associated documentation are copyright
(c) 1992 by Matthew Hildebrand. All rights are reserved.
Draw256 is freeware; although it is free, donations are greatly
appreciated. If you find that you like Draw256, please send me
whatever you think it is worth. I cannot continue to work on projects
such as Draw256 without compensation. Contributions of any kind to
help improve this project are welcome.
Circulation of the Draw256 package is permitted and encouraged,
provided that the following conditions are met:
1. The package is distributed in its complete and unmodified
form, consisting of the files listed in the "PACKING LIST"
section.
2. Draw256 is not sold for profit.
For any exception to the above conditions, written permission from the
author is required.
CONTACTING THE AUTHOR
I would appreciate hearing any questions, comments, bug reports, or
suggestions for improvement. If you have any, feel free to contact
me. I can be reached at either of the following addresses.
Snail mail:
Matthew Hildebrand
4 College St.
St. Catharines, ON
Canada
L2R 2W7
Fido NetMail:
1:247/128.2
OBTAINING Draw256
The most recent copy of Draw256 may be obtained via File Request from
1:247/128 (14.4K V.32bis) using the magic file name "DRAW256".
Unlisted nodes and points are welcome. Draw256 is also available via
first-call download from 1:247/128 at (416)-935-6628.
REVISION HISTORY
2.21 - Changed title of image saving window from "Save .VGA" to
"Save an Image". (I'd forgotten to change it after adding
.PCX support.)
- The SuperVGA code has been debugged and much improved
internally.
- The 360x480x256 and 1024x768x256 drivers are new with this
release.
2.20 - Added 640x480x256 and 800x600x256 SuperVGA support with the
addition of the files 640X480.DRV and 800X600.DRV.
- Added "Error initializing graphics hardware" message.
- Stamps can now be saved in either .VGA or .PCX format.
- Fixed several bugs which manifested themselves when memory
became low.
- Fixed bug which sometimes caused a crash when panning over
large images.
2.11 First public release.
ACKNOWLEDGEMENT
There are some people whom I would like to thank for their
suggestions, beta-testing, and patience. You know who you are.
LEGAL MUMBO JUMBO
The Draw256 software and documentation are provided "as is", and
without warranty of any kind. The author may not be held liable for
any damage or misfortune that the usage of this software may cause.
Although the Draw256 software has undergone extensive testing, there
is a chance that it may crash anyway.
All registered trademarks in this document belong to whoever it is
that owns them.