home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
graphics
/
utilities
/
pictureeditor
/
pictureeditor.doc
< prev
next >
Wrap
Text File
|
1991-03-09
|
15KB
|
444 lines
#####################################################################
# #
# P I C T U R E E D I T O R Documentation for version 1.12 #
# #
# © Hans-Werner Stremlau 9. February 1991 Glinde #
# #
#####################################################################
Contents:
1. Summary
2. ProgramPacket
3. Starting
4. TitelLine
5. OperatingModes
6. FunctionKeys
7. MenuFunctions
8. Tips and remarks
9. Known errors
1. Summary:
This Modula2 program consists of the idea to assemble basic geometrical
objects (circle,triangle,line,...) to picture-objects.
This picture-objects can be used to create other more complex
picture-objects.
Each picture-object is the top of a hierarcycal structured object-
pyramid. The base of this pyramid consits of geometrical base-
objects.
Simple sample picture-oject-hierarchie:
house
/ \
roof rectangle(ground-floor)
/ \
triangle1 triangle2
Picture-objects you can:
- create(bigger,smaller,rotate)
- delete
- duplicate
- move
- rotate (90 degree steps)
- change color
- move in fore/background of other objects
- merge with other picture-objects
- split (in sub-objects)
- load
- save
- convert to IFF(ILBM) pictures
Internal there are three different picture-object classes:
- atomic: Geometric base-objects(Circle,triangle...)
It's color is free selectable.
- molecular: Merged objects of same color.
It's color is also free selectable.
- colored: Merged objects of different colors.
It's color cannot be changed.
=====================================================================
2. ProgramPacket:
This programpacket consists of following files:
- PictureEditor.doc ....... this file
- Bildeditor.dok .. ....... documentation in german
- ReadMe .................. shareware-information
- PED ..................... the program (PED=PictureED)
- Pictures (dir)
- PED-Startup ........... scriptFile (assign PED: ...)
- House&Trees.info ...... icon to start PED with this picture
- House&Trees.typ ....... sample-pictureFile
- HOUSE.typ ............. sample-pictureFile
- ROOF.typ ............. sample-pictureFile
- TREE.typ ............. sample-pictureFile
- MOON.typ ............. sample-pictureFile
- PIPELINE.info ......... icon to start PED with this picture
- PIPELINE.typ .......... sample-pictureFile
- valve.typ ............. sample-pictureFile
- FULLCONTAINER.typ ..... sample-pictureFile
- CONTAINER.typ ......... sample-pictureFile
- line.typ .............. sample-pictureFile
- LINE2.typ ............. sample-pictureFile
- S.typ ................. sample-pictureFile
- S1.typ ................ sample-pictureFile
- l1.typ ................ sample-pictureFile
- l2.typ ................ sample-pictureFile
- l3.typ ................ sample-pictureFile
- Text (dir)
- HELLO_WORLD.typ ..... sample-pictureFile
- HW_TXT.typ .......... sample-pictureFile
remark: If e.g. HOUSE.typ or TREE.typ is deleted, then
also HOUSE&TREES.typ is useless.
=====================================================================
3. Starting:
The PictureEditor needs the "arp.library" in directory libs:
If necessary it can be copied from PictureEditor/libs to libs:
The PictureEditor is searching for all files in the PED: directory.
If this assignment is not executed before start of PED,
(e.g. "assign PED: df0:pictureED/Pictures"), then RAM: is the used
default directory.
starting from CLI:
==================
When you start the PictureEditor from CLI you can supply as argument
the name of an picture-object.
The picture-object name may have max. 16 character and may not have
the extension ".typ" (e.g. "PED Picture1" ).
starting from Workbench:
========================
If you want to edit a "picture" via the workbench (like in the
example "House&Trees") then you have to create a project-icon with
the PictureEditor as default tool.
use with 512 KB and one diskdrive:
===============================================
This program also works with only one diskdrive and 512 KByte memory.
With this configuration and the WB 1.3 plus ARP.library I was able
to load the sample-picture "Haus&Trees" (...playing diskjockey).
To click the icon "Click Me first" the commands "assign" and
"echo" should be resident.
After diskchanges (read fonts from WB-disk) you have to
click the WB to "background".
====================================================================
4. TitelLine:
If the PictureEditor is started with a picture-object as argument,
then the name of this picture-object is displayed at the left side
of the titelline.
(Save-functions use this name as picture-name)
At the right side of the titelline the name of the selected-object
is displayed.
If you are creating an atomic object, then the atom-parameters:
(atomType(@ ), wide, height and rotation-angle) are displayed
at the right side of the titelline.
If you are selecting a font, then instead of the selected-object,
the name of the selected font is displayed at the right side.
====================================================================
5. OperatingModes:
On working with this program, there are following different
operatingmodes (contexts):
Basic-mode: Loading, manipulating and saving.
Create-mode: Creating of atomic picture-objects
(point,line,circle,triangle,square,rectangle)
Text-mode: Writing of text (one line) using the active font.
Select-font: In this operating-mode you can select an active font.
====================================================================
6. FunctionKeys:
All functions usually refer to the "selected" picture-object.
"sh" stands for shift (only the left shift-key works).
Functionkeys in "Basic" operating-mode:
F1 = change top with bottom
sh F1 = change left with right
F2 = 90 degree rotate right
sh F2 = 90 degree rotate left
F8 = Object to foreground (stepwidth: one logical plane)
sh F8 = Object to background (stepwidth: one logical plane)
F9 = select next object (foreground-direction)
sh F9 = select previous object (background-direction)
F10 = next color (only mono-colored objects)
sh F10 = previous color (only mono-colored objects)
Del = delete selected-object
CursorKeys and numericPad-cursorKeys
= move object (one pixel) in selected direction
(also diagonal)
sh CursorKeys and sh numericPad-cursorKeys
= move object (object-measurement) in selected direction
(also diagonal)
D = Duplicate object over original-object.
M = Merge all selected objects (clicked objects)
to one picture-object.
S = Split object to sub-objects.
P = "Punch" Convert selected object to a punch.
All resulting objects merged with this "punch-object",
have a hole at the position and form of the punch-object.
(e.g. you can create rings with this method)
(Look for the picture-object MOON in sample-file, split it)
This function toggles (that means: after a new punch-call
the object again is "normal")
Objects in "punch-state" are displayed in grey color.
B = Blink object. (the selected object is flashing up)
(the "5" of the numericPad has the same effect)
F = First (select the newest/foreground object)
L = Last (select the oldest/background object)
---------------------------------------------------------------------
Functionkeys in "Create" operating-mode:
RETURN = accept the created object
ESC or Q = cancel the created object
Cursor Left = the object becomes thin (decrease x-dimension)
Cursor Right= the object becomes wide (increase x-dimension)
Cursor Up = the object becomes lower (dec. y-dim.)only rectangles
Cursor Down = the object becomes higher(inc. y-dim.)and triangles
F10 = rotate object right (1 degree ) (not circles)
sh F10 = rotate object left (1 degree ) (not circles)
NumericPad = move object in corresponding direction
When you press the left mouse button, you can move the object
with the mouse.
---------------------------------------------------------------------
In the "Text" operating-mode there is only "menu-control" possible.
After pressing a key, the corresponding character (setmap) is
displayed (using the active font) on the screen.
---------------------------------------------------------------------
Functionkeys in "SetFont" operating-mode:
Cursor Up = load previous font
Cursor Down = load next font
F = load first font
L = load last font
RETURN = use font, back to "Text" operating-mode
ESC or Q = cancel font, back to "Text" operating-mode
=====================================================================
7. MenuFunctions:
PROJECT:
- Load Type: From the PED: directory or from PED: subdirectories
you can select and load picture-objects (name.typ)
- Clear All: delete all objects on screen (clear screen)
- Make ILBM: Save the selected object as IFF(ILBM) File under the
name "<name>.iff" in the PED: directory.
This IFF-Files can be manipulated with paint-programs
or e.g. with the PD-program "IconLab".
- Save: If the PictureEditor is started with a picture-object
name as argument, then all picture-objects on the screen
are saved under this name in the PED: directory.
- Save As: All picture-objects on the screen are saved in the PED:
directory under the name you have supplied.
The name must be a new one (not an already existing).
- Save Exit: Like "Save". Additionaly the program is terminated after
saving.
- Quit: Terminates the program without saving changes.
EDIT:
- Text: Goto the "Text" operating-mode.
In this operating-mode you can write characters
(one line only) in the active font.
- Return: Via this menu-item you get back to the "basic"
operating-mode.
- SetFont: Goto the "SetFont" operating-mode.
In this operating-mode you can select the active font.
- FirstFont: Select first font of font-list.
- LastFont: Select last font of font-list.
- NextFont: Select next font in font-list.
- PrevFont: Select previous font in font-list.
- Use Font: Set selected font to active font and return to
the "Text" operating-mode.
- Cancel : Return to "Text" operating-mode
(active font is unchanged).
- Create:
- Point: Create a point.
- Circle: Create a circle.
- Line: Create a line.
- Triangle: Create a (rectangular) triangle.
- Square: Create a square.
- Rectangle:Create a rectangle.
With cursorKeys you can change the object size.
With F10 you can rotate the object.
With mouse and numericPad you can move the object.
With RETURN you accept the object.
With Q or ESC you cancel the object.
- Punch: "Punch" converts selected object to a punch.
All resulting objects merged with this punch-object
have a hole at the position and form of the punch-object
(e.g. you can create rings with this method).
This function is toggling (that means: after a new punch-
call the object again is "normal")
Objects in "punch-state" are displayed in grey color.
- SelectAll:Set the "merge-select" flag of all picture-objects.
During merging all objects with this flag set are
merged together to one picture-object.
- DeSelect: Clear the "merge-select" flag of all picture-objects.
After this command merging has no effect.
- Merge: All picture-objects with the "merge-select" flag set
are merged together to ONE picture-object.
To set the "merge-select" flag of individual picture-
objects, you can click that objects with the left
mousebutton.
- Split: Split selected picture-object to sub-objects.
WINDOW:
- CYCLING:
- CycleOn: Switch on colorCycling
- CycleOff: Switch off colorCycling
- RESOLUTION:
- LO-Res low resolution (320 x 200)
- HI-Res high resolution (640 x 200)
- Interlace interlace (640 x 400)
=====================================================================
8. Tips and remarks:
- In high-resolution displaymode each picture-object has a ratio
of 640:200. This has the effect that circles seems to be elipsoid
and squares seems to bee rectangles. This effect is good to see,
when you rotate an object.
In interlace-resolution there is this effect not. But in this
resolution you should have at least 1MB Chip-RAM.
- To speed up computing of picture-objects it is recommended to
use less but complex sub-objects, instead of using many but
simple sub-objects.
- To merge an object-group to one picture-object follow these steps:
1. Call De-Select from "EditMenu"
(after execution no object is merge-selected).
2. Click all group-objects with the left mouse button.
3. Call merge from "Edit-Menu" or via function-key "M".
Supply a proper name for the new picture-object.
- If you are going to build big object-libraries, it is a good
idea to create subdirectories in the PED: directory
(because this is easy to survey).
=====================================================================
9. Known errors:
- If you select the ARP-Filerequester, and quick press the
right mousebutton, then the system hangs in deadlock.
Hans-Werner Stremlau
Stormarnring 20
D-2056 Glinde
Germany (West)