      ------====== DioPaint V 2.0 ======-------
             Copyright 1998-99 Xadzidakis Dionysis

20/5/1999

REQUIREMENTS:
A CPU (386+),
a vga monitor,
a mouse,
440kbytes of conventional memory,
60kbytes in disk
and the files gr.fnt, dp.pal.

What's new in this version ?
I added the symmetric function and also: 'Spin' and 'Flip'in 'Copy'
brush.
I made also some big changes at management of memory and change the
view of toolbar.
At the previous version the program required 570 kbytes of memory
and now it'll run even with 440 kbytes!.

Command Line Parameters :
filename[.pcx]          opens the image for editing

HOW TO USE:
  Basics:
    You draw with the left mouse button
    With the left appears a MENU or you cancel a drawing
    (if you are using a tool).
  MENU:
       (If you work in full screen the toolbar will appear again)
    New:
        Start a new image.
    Open:
         Open a Pcx file.
    Save:
         Save a Pcx file.
    Save as:
         Save a Pcx file with a different name.
    Info:
         Some information.
    About:
          About.
    Exit: exit.
  Keys:
       F1:Appears, disappears the toolbar.
       F2:Save image.
       F3:Open image.
       F4:Start New image.
       F5:Save as
       F6:Info
       F7:About
       F8:Clear screen
       u,U:Undo
       `(the key under Esc):View all the image without the toolbar and
         the mouse curser.
       Esc:Exit

  The toolbar:
    You select a tool, a color(s), or a function with the
    left mouse button, with the right you can see (and then select
    with the left) a subtool.
    If you do a left-click on a already selected tool
    it also appears a subtool.
  Colors:
    The color you have chosen is the active color and that
    you are drawing with.
    The background color appears in a corner of the active color.
    When you clear the screen, it clears with the background color
    Other use of the background  color: in zoom and in a  copied
    image (see below).

----=====File dialogs:
In file dialogues you can select a file with
mouse or you can write its name in a square.
You can also change directory hitting on the button 'Chdir'.
While changing directory appears the files (Pcx or Bru) that
found.

------=====TOOLS:
1.'Draw':
   The simple draw tool.
   SUB tool: You choose the size of the brush between 5 sizes.
2.'Square':
   1st click:the 1st point of the square.
   2nd click:the opposite diagonally point.
   if you press right button before the 2nd click, you cancel
   the drawing.
   SUB tool: The filled square.
3.'Line':
   1st click:the start of the line.
   2nd click:the end of the line.
   Again if you press right button before the 2nd click, you cancel
   the drawing.
   SUB tool: There is the contigious lines and the filled triangle.
4.'Circle' and 'Ellipse':
   1st click:the centre of the circle.
    When you move the mouse horizontally, you adjust the radius.
   2nd click: End of the drawing.
   SUB tool: The filled circle, ellipse.
5.'Fill':
   You fill an area with the active color.
   If you have selected the multi-color then you fill with
   multi-color.
   (Hint: to make a well fill with multi-colors, click at the upper
   point of the area you want to fill.)
6.'Erase':
   Erases all the colors (with background color).
   SUB tool: You erase only the active color (tip: it is also
    a color replacer).
7.'Smooth':
   This smooth the colors.
   SUB tool: The length of smooth. The bigger the length the longest delay.
8.'Curve':
   1st click: The start point of the curve.
   2nd click: The end point of the curve.
   3rd click: The point of the curve between the 1st and the middle.
   4th click: The point of the curve between the middle and the 2nd, and
              end of the drawing.
   No SUB tool.
9.'Text':
   Yoy can also add text (English and Greek) in your image anywhere
   in the screen by clicking the mouse in the desired place.
   While you are writing the text you can change the color simply
   by a click in the pallete.
   You can also press enter and get down one line.
10.'Copy':
    -This is a creative tool, just try it.-
    With this you can select an area of the image and use it
    as a brush.
    The limits are 30kbytes that is 300*100 or any multiplication
    with result less than 30001.
    Say you have a black background color.And you draw a star in
    another color.if you copy the star, the background color won't
    be copied (only the different from the background color).
    After you have copied an area you can:
     1:Copy new.
     2:Paste it on the screen as a brush
       (with RIGHT click the image is drawing in the
       background color).
     3:Rotate it.
     4:Scale it.
       For both functions after you select one of them,
       you 'll see a screen with a square.Moving the mouse(no click)
       the square changes and when you choose press the left button
       (with right you cancel the function).
     5:Restore old image:
       After you have done a scale, rotate or flip you can restore
       the previous image with this.
     6.Tile:
       This tiles the copied image on the screen.
     7.Spin:
       This will rotate the copied image around the point you select
       72, 36 or 26 times depending your choice.
     8:Flip:
       You can flip the image up to down, or left to right.
     9.Open:
       If you have saved a brush you can load it.
     10.Save:
       You save the brush(area) you have copied.
11.'Symmetric':
    This the hot new function of this version!
    Well, with this you can draw with some tools at some
    symmetric points. The points are from 3 to 30 but not all
    the numbers.
    You can select how many symmetric points you will have by
    clik with right mouse button on 'Symmetric'  on toolbar and
    then write or clik with mouse the numbers you want.
    The tools supported with this function are: draw, square, circle,
    ellipse, line and the copied image.
12.'Zoom':
    Zoom your image and edit it.
    There is only one scale and is 4:1
    While editing in zoom you can also use the background color with
    the right button, but you cann't use any other tool
    (you can pick another color or 'GetColor' from the image).
    When done press again zoom or any other tool or press escape.

------=====COLORS:
1.'Multi-color':
   You select the colors which you can draw, fill an area or make a filled
   shape.
2.'Pallete':
   With left-click you choose the active color,with right the
   background color.Clicking on the arrows, you browse the pallete.
3.'Getcolor':
   You can pick a color from the image.
   If you press right click on 'Getcolor' you can pick a color
   from the image for background color.
4.'Color':
   It appears the active color and in a corner, the background color.
   If you left-click here, all the pallete appears and you can
   choose a color or cancel with right click.
   If you right-click here, all the pallete appears and you can
   choose a color for background or cancel with right click.

------=====OTHER:
1.'Bar off':
   This is a hot point (in the upper right corner of toolbar and screen)
   and it disappears the toolbar.
2.'Undo':
   Undo the last drawing and if you press again (this is the 2nd step)
   you restore the last drawing and so on.
3.'Clear':
   Clear the screen (with background color).
4.'Exit':
   Erase DioPaint from memory.

Disclaimer:
I take no responsibility for any results could bring the use
of this program to your computer -you use it at your risk-
However it was tested without any problems.
The program is freeware, you can not charge any
money for this or modify any of the files.

------Technically:
In this 2nd version I can tell the code is better but stil rotate
isn't perfect. Also my dream (this painting program) since the
first time i was involved at programming, now it becomes more and
more great!.
The code is 6060 lines long!,
This 2nd version was made at May of 1999.
It was created with Turbo Pascal 7 and includes
some Assembly code.

Well enjoy the program and be creative.
Your comments are welcome with e-mail at
 hatdi@freemail.gr
or with mail at
   Anogeion 116
   71304
   Heraklio
   Crete
   Greece
(postcards are also welcome)
my page:
 www.geocities.com/hatdi

PCX is of course (tm) Z-Soft Corp.
Credits goes to Kevin M. Luck for his unit on saving
a PCX file and to Asphyxia.