From GERA 26nov89 18:21
musch - musch !!
habe in alten dokus gewuehlt..kannst es schon mal mitnehmen, wenn du wuellst.
OAaV (ohne Anspruch auf Vollstaendigkeit)
-
aber zunaechst mal die Stichpunkte fuer retouch-part (ungeordnet):
OAaV (ohne Anspruch auf Vollstaendigkeit)
-
-Bezierstruktur
-blots
-eventhandling (MAC-events, Isareventhandling)
-why start-stop, begin end mit objects (nicht immer deactivate-event,
 stets activate-event, Deskaccessorri)
-globale Variablen (def.l, *isarr.l) (*clips, etc.)
-Masken (graf)
-dialoge fuer base, figures, color(tint), gradation,
-objects Retouch and page, text, etc.
-cmyk (cmyk1)
-peep
-"with" mit slot*
-*isar.l mit zappen und remobben u. ae.
-pico-editor
- debugging (ed, trace, etc)
- make (undo-redo)
-click
-------------------------------------------
Cmyk-doku:
one fix sized window is the retouch-window:
640 * 640 pixels (20 * 20 tiles)
retouchwin is 20 * 20 * 4 kB = 400 * 4 = 1.6 MB
-
retouch file is made of "tiles": pattern with 32 * 32 pixel. Each pixel
is 32 bit (4 byte).
one tile 32 * 32 * 4 = 4 kB
-
left side down is the peep-window, a window in which the whole picture
is visible. Inside the peepwindow is a rectangle which marks the content
of the visible section of the retouchwindow; this is called the peep.
-
If the retouchwindow is zoomed, there is inside the peep one more rectangle
visible, called zpeep (zoom peep). When zoom is on, there is no scroll possible
than inside the aktual peep, and the zpeep shows the position of the retouchwindow
inside the peep.
-
zoom is possible from range 1 to 50.
(quickdraw coordinates from 0 to 32.000,( = 640 * 50)
-
cymk means Cyan, magenta, yellow, key (black)
-
retouch mode is selected by menu "File" with either clicking
on Item or keyboard "apple-R".
-
properties are the following ones:
(look at cmyk with "show" !)
this are old properties:
        - window  windowhandle
        - zoom     zoomfactor
        - name  name of picture file
        - pixmap   (1 : 1 for peepwindow )
        - c-map    pixelmap for cyan-color (planar) for copybits-command
                                in reverse color it is the pixelmap for  Red
        - y-map    pixelmap for yellow-color (planar) for copybits-command                                      in reverse color it is the pixelmap for  Red
                                in reverse color it is the pixelmap for  Blue
        - m-map    pixelmap for magenta-color (planar) for copybits-command
                                in reverse color it is the pixelmap for  Green
        - cols          number of tile - columns
        - rows          number of tile-rows
        - fd            saved filedeskriptor from picturefile
        - posh          position of visible top left tile
        - posv          position of visible top left tile
-
peepwindow is a square-window with max. length of lines. Retouchpicture
must be scaled to fit into peepwindow.
peepwindow hp,vp
retouchwindow hr, vr
max(hr/hp , vr/vp)  is scalefactor for retouchwindow to peepwindow.
-----------------------------------
Bezier - Dokku
-
documentation for bezier - handling in ISAR - project
bezierdata is in Lisp - list:
Data is multiplied by 10.000. that means all data is measured in
1/10000 millimeter. values in picolisp are between 0 and 500 milliardes.
it is possible to have values up to 500 meter in ISAR - projekt.
This looks to be enough, also in future.
-
pico-list form is as following:
if there is anly a value, it is interpreted as a point to move a line
toward (like dimension 1).
if an element in that list is itself a list, it have to be interpreted
as a curve element (former dimension 3).
in that sublist always three points are interpreted as p, q and r.
sublist therefore is of lenght n * 3.
 -
first point in sublist is last point to move a line to. curve starts then
at this point.
-
in file isargerd.c and bez.h are all funktions and deklarations for bezier
handling.
-------------------------------------
documentation for blot - handling in ISAR - project
-
blot is the name for a certain shape at pixelcopy, brushing or spuit mode
at retouch mode.
blots are lisp - lists. like the cursor in system resource file, blots
have a "hot spot".
relativ to this point there are pixel data information in a list.
first parameter describes the distances of the first point (pixel) of
the following sublist. (normally neagativ value).
next parameter describes distance of lines (pixel) from hot spot.
 (normally neagativ value).
-
there are two main types of blots:
in full blots there are always for every pixel the same value.
there is a value of 255 which means that colorvalues in CYMK-bitmaps
are completly overwritten if there is a pixelcopy or brush.
other values then have the effect of mixing the colors.
a value of 128 means to add the colorvalues and then divide them.
-----------------

