home *** CD-ROM | disk | FTP | other *** search
- DrawMerge
- ¯¯¯¯¯¯¯¯¯
- by D. Salt
-
- Version 1.03 (8 November 1994)
-
- Takes path objects from Draw and merges them.
-
-
- How to use
- ¯¯¯¯¯¯¯¯¯¯
- 1. Select the paths you wish to combine, and group them together. You may
- have several groups.
-
- 2. Ensure the correct group objects are selected, and export them to
- DrawImage (save selected). Or export the whole file if you want to process
- the whole file.
-
- 3. DrawImage will process the file as described below, and exports the
- resulting file to Draw. This can now be combined with the original drawing.
-
-
- The process used
- ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
- Each object is looked at in turn, starting with the object on the layer
- furthest back, working towards the front.
-
- If an object is not in a group or is not a path, it is left untouched.
-
- Within a group, path objects are merged in series (back layer first)
- until either there are no more objects in the group or a non-path object
- (text, sprite or group) is found.
-
- A merged path object take on the properties (colours, line width, etc.) of
- the first path in the original group to be put in it. (Now correctly handles
- dash patterns.)
-
- If, after merging, a group object contains just one object - the merged
- path - then the path is ungrouped.
-
-
- While writing this program, I came across a few small problems with
- Wimp_TransferBlock:
- 1. It doesn't like writing to the last byte of application workspace;
- 2. Draw doesn't seem to give the correct file size.
-