home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
graphics
/
utility
/
megabit2
/
megablit.doc
next >
Wrap
Text File
|
1986-12-31
|
6KB
|
130 lines
page 1 of 2
Reference Documentation for Megablit 2.00
by Darek Mihocka
February 1, 1987
MegaBlit is a hi-res paint program that works in all resolutions on all STs.
It is window based, and uses the scroll bars to move around the work area,
which is many times bigger than the actual screen. It also has features not
found on any paint programs. Best of all, MEGABLIT IS FREE so give it to anyone
you know that needs it.
Make sure you have MEGABLIT.PRG and MEGABLIT.RSC, and then read this.
History:
MegaBlit started out as a small program I wrote to experiment with GEM.
I decided to make it somewhat useful, so I put in a draw feature, and then a
line feature, and so on until it grew into a full blown paint program. Since
I only had a monochrome monitor at the time, MegaBlits 1.00 thru 1.05 were only
capable of a 1024*1024 monochrome work area.
Version 2.00 features:
Thanks to the folks at Xanth Computers, here in Seattle, I was able to
get my hands on a colour monitor and add colour features to MegaBlit. I also
took out many of the bugs in 1.0x, and increased the work area to over 3
million pixels (1040 mono). The resolutions range from a minimum of 384*256 in
lores to 2560*1920 in mono, depending on your memory and monitor.
- Also, MegaBlit can draw ARCs and PIE slices easily
- and is compatible with DEGAS files
- and has more drawing and blitting modes than other programs
- and it is free and will be updated regularly.
Planned future extensions:
- rotations, transformations, and distortions that are dozens of times
faster than you know who's
- ability to dump the work area to the printer, not just the screen
- ability to save very large work areas to disk
- brush and fill pattern selection
- anything else that anyone suggests that sounds reasonable
Reasons for the large work area:
Unlike that OTHER paint program which divides memory up into 8 or so
separate pictures, I treat all of memory as one large picture, with the screen
being a small window through which to look through. You can still cut and paste
from one "picture" to another, however they are just treated as being part of
the same picture.
File I/O:
MegaBlit is file compatible with that OTHER paint programs. That means
you can load .pi? files directly. The picture gets placed into whatever part
of the work area the window is over. In this way, you can load a picture, then
scroll over to a blank part of the work area, load another picture, and so on.
Then simply cut and paste. You can also load pictures on top of one another,
to overlap them, or combine them with one of the 4 blitting modes.
Blit Modes:
MegaBlit has 4 blit modes, i.e. how the lines get drawn. There is the
standard REPLACE mode, which erases the area on which you are drawing before
you actually draw on it. It's equivalent to Block Mode on that other program.
Then there is TRANSPARENT mode, which simply draws over without erasing. This
is equivalent to X-Ray Mode. The last two modes are mostly useful during cut
and paste, although you can experiment with them anywhere. XOR and INVERSE mode
sort of speak for themselves. Experiment!
page 2 of 2
Zoom Mode:
When Zoom mode is activated, the right half of the screen will turn
into a zoom window. It shows the center of the left side of the screen, which
remains at regular size. You can draw in either window, and the other will get
updated automatically. Use ZOOM IN and ZOOM OUT to change the magnification.
NOTE: in colour, the zoom window uses the current drawing colour. In monochrome
the zoom window defaults to the opposite colour of the point you are
drawing on. So if you draw on a zoomed up black pixel, you will be put
into white, and vice versa.
Fill Mode:
When fill is active, certain drawing modes are affected. POINT now
becomes a region fill. BOX, RBOX, and OVAL now draw filled in boxes and filled
in circles. The POLY command will fill in the polygon drawn.
There is no effect on DRAW, LINE, PIE or ARC.
Cutting and Pasting:
To cut out a rectangular shape from the screen, select the MARK option.
Then use the mouse to "cut" it out. Then switch to the PASTE option. Everytime
the mouse button is pressed, the block will be copied to the current mouse
position. The blit modes are **VERY** important during this operation. Try it
and you'll see!
Snap Mode:
SNAP can be activated at almost any time. It keeps the mouse on pixel
positions that are multiples of 8. This is for people with very shaky hands.
UNDO:
Selecting UNDO **may** undo the previous operation. Not always, so be
careful and don't make mistakes.
ARCs and PIEs:
To draw an ARC, you must specify 3 points through which the arc passes
through. This is done by pressing the mouse button to select point #1, then
dragging it to point #2, letting go, and then pressing it again at point #3.
The computer then calculates an arc which best fits the points (most of the
time!). You may be disappointed in the odd case. PIE works the same way, except
that in addition to the arc, you get the entire pie being draw. Depending on
your selection of point #3, you may either get the pie slice, or the pie with
the slice removed. Once again, experiment!
Bugs:
I know MegaBlit has bugs. To say that ZOOM mode is perfect is a very
big understatement. I have tried to remove and serious bugs. However, if you
come upon a bug, that is REPRODUCABLE, let me know about it.
Updates:
As MegaBlit is improved on, the latest versions will be put up on the
MegaBaud ST BBS (MegaBlit, MegaBaud, hmmmm!) at 416-243-9519. Feel free to call
up and download it and upload it to your local BBS. That's the whole idea.
Also available:
Also on MegaBuad, you can find the ST Transformer, a 6502 emulator
which is capable of running **some** Apple ][ and Atari 800 software. It is
still in development, but improving by the hour.
MEGABAUD BBS 416-243-9519
soon to be running on MegaBBS software, for hi-res graphics computers only!