home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / a / arttools / !Polygon / !Help < prev    next >
Encoding:
Text File  |  1997-02-05  |  19.1 KB  |  419 lines

  1. Polygon 1.14 (05-Feb-97)
  2.  
  3. Name:     ArtWorks Polygon module
  4. Purpose:  Handling regular polygon and star objects in ArtWorks
  5. Author:   Martin Würthner
  6. Requires: RISC OS 3.1 or higher, ArtWorks 1.138 or higher
  7. Status:   ShareWare (see [7] below for *new* registering details!!!)
  8.  
  9. 0) Preface
  10. ----------
  11.  
  12. Depending on whether you are upgrading from an earlier version of the module
  13. or whether you are a new user, you will be interested in different things.
  14. Make sure that in any case you read section [7] which contains the details
  15. for registering.
  16.  
  17. If you are upgrading from an earlier version of Polygon, read section 5.1 for
  18. a list of new features and changes.
  19.  
  20. Otherwise just go on reading:
  21.  
  22. Welcome to the first non-commercial ArtWorks plug-in module!
  23. ------------------------------------------------------------
  24.  
  25. This module provides a tool which allows you to create regular n-sided
  26. polygons and stars. At any time, you can simply change the position, the
  27. radius or the number of sides of any polygon object. By a single mouse-click
  28. you can also turn a polygon into a star and vice versa. This tool was inspired
  29. by CorelXARA's¹ QuickShape tool.
  30.  
  31. This module is ShareWare. You may copy it freely and give it away to anyone
  32. free of charge (see [7] below for a more detailed Copyright notice). However,
  33. if after a trial period of two weeks, you decide to keep it, you must register
  34. by sending £10 to me.
  35.  
  36. ** New ** When registering, you will also receive an exciting new ArtWorks
  37.           module, Intersect, which is reserved for registered users of
  38.           Polygon exclusively.
  39.  
  40. Quick feature list of Polygon:
  41. * creation of regular n-sided polygons and stars (n in [3..49])
  42. * numeric and interactive editing facilities for polygons and stars: change
  43.   radius, number of sides, angle etc. at any time, turn polygons into stars
  44.   and vice versa
  45. * full integration with existing ArtWorks features (fill types, transformation
  46.   tools, Make shapes, perspective, envelope etc.), i.e. polygon objects behave
  47.   exactly like other ArtWorks shapes (ellipses, rectangles, rounded
  48.   rectangles)
  49. * full support of ArtWorks undo system and EPS export and import
  50.  
  51. Do not miss my other ArtWorks modules:
  52.   Translate (FreeWare)
  53.   Intersect (available only to registered users of Polygon)
  54.   ShowXY    (FreeWare)
  55.   MadnessT  (FreeWare)
  56.  
  57. 1) Installation
  58. ---------------
  59.  
  60. Copy the !Polygon application inside the !ArtWorks.Auto directory. (Shift
  61. double-click on !ArtWorks to open it, then double-click on the 'Auto' folder.
  62. Then drag the !Polygon application to the Filer window showing
  63. <something>.!ArtWorks.Auto in its title bar). This will cause ArtWorks to
  64. load the module automatically next time it is started.
  65.  
  66. If you are not using the 'Quick start' feature of ArtWorks, then this is it
  67. already. Otherwise (this is recognized by the fact the ArtWorks only displays
  68. one icon 'Quick start' when starting up) you have to go on:
  69.  
  70. If the 'Quick start' option is selected in the ArtWorks choices window you
  71. have to perform the following steps in order for ArtWorks to recognize the
  72. new module:
  73.  
  74. * Load ArtWorks
  75. * Open the ArtWorks choices window (icon bar menu 'Choices...', then click on
  76.   the ArtWorks icon in the ArtWorks global choices window)
  77. * Deselect 'Quick start' and click on 'Save'
  78. * Quit ArtWorks
  79. * Reload ArtWorks - while loading ArtWorks shows every module it loads, this
  80.   should now include the Polygon module. If ArtWorks displays an error message
  81.   like "Due to lack of memory one or more modules could not be loaded ..."
  82.   something has gone wrong and you should check whether you have correctly
  83.   installed the module.
  84. * Open the ArtWorks choices window again
  85. * Select 'Quick start' and click on 'Save'
  86.  
  87. If you ever should want to deinstall the module, remove the !Polygon
  88. directory from the !ArtWorks.Auto directory. Then, if you are using
  89. the 'Quick start' option, you must repeat the same steps above.
  90.  
  91.  
  92. 2) The Polygon module
  93. ---------------------
  94.  
  95. The Polygon module displays an additional tool, the Polygon tool,
  96. in the ArtWorks tool box. The tool's icon is a hexagon.
  97.  
  98. 2.1) Creating polygons and stars
  99.  
  100. While the Polygon tool is selected, the info bar displays the field 'Sides',
  101. 'CentreX', 'CentreY' and an option button 'Stellated'. At the moment, the
  102. most important field is 'Sides'. In this field, you can specify the number
  103. of sides (=number of corners) the polygon is supposed to have. The fields
  104. 'CentreX', 'CentreY' and 'Radius' are empty and can only be used to edit
  105. existing polygon objects.
  106.  
  107. To create a polygon, simply click inside the document and drag the pointer
  108. away from the position of the click. The click position will become the
  109. centre of the polygon. By dragging further away from the centre, you can
  110. increase the radius of the polygon.
  111.  
  112. Note that the mouse pointer also determines the position of one of the
  113. corners of the polygon so that you can effectively rotate the polygon while
  114. dragging. If you hold down Ctrl while dragging, the angle of the polygon is
  115. constrained to the current constraint angle (which can be set in the
  116. ArtWorks choices dialogue box).
  117.  
  118. As soon as you release the mouse buttons, the polygon object is created and
  119. will be rendered as a filled shape.
  120.  
  121. 2.2) Editing polygons and stars
  122.  
  123. Objects created by the Polygon tool are not simply path objects but belong to
  124. a specific object type "polygon" (similar to the way rectangle, rounded
  125. rectangle or ellipse objects are different from path objects). This means
  126. that you can apply attributes to them (fill colour, line colour, line width,
  127. graduated or radial fill etc.), but you cannot edit single corner points. To
  128. do so, you have to convert the polygon to a path object by choosing "Make
  129. shapes" from the "Lines/Shapes" menu or by pressing Ctrl-N.
  130.  
  131. The benefit of having a special polygon object is that you can edit the
  132. properties of polygons after they have are created, e.g. you can simply select
  133. the polygon and change its number of sides by selecting the Polygon tool and
  134. entering a new value in the 'Sides' field and pressing Return (or clicking on
  135. the up/down arrows). You can also change its radius or the position of its
  136. centre by entering new values in the corresponding fields. This is very
  137. similar to the way e.g. the ellipse tool works. Also, you can always turn a
  138. polygon into a star and vice versa by selecting or deselecting the 'Stellated'
  139. option button. Of course, when you save a file containing polygons they can
  140. still be edited when you reload the file later.
  141.  
  142. 2.3) Editing using the polygon handles
  143.  
  144. A selected polygon object has got a handle at each corner point. If the
  145. object is stellated, each outer corner (i.e. the corners of the corresponding
  146. polygon) and each inner corner has got a handle. By dragging these, you can
  147. edit the polygon. Dragging the polygon corner handles (or the other corners
  148. of a star) allows you to scale and rotate the object quickly. Note that this
  149. rotates about the real centre of the polygon unlike the ArtWorks rotation tool
  150. that cannot know what the real centre of the object is.
  151.  
  152. If you hold down Ctrl while dragging one of the outer corner handles of a
  153. polygon, the polygon's angle is preserved while dragging (i.e. you change its
  154. radius only). Similarly, if you hold down Shift, the polygon's radius is
  155. preserved (i.e. it is only rotated). As these operations preserve the
  156. polygon's centre, they are to be preferred to using the standard scaling or
  157. rotation tools ArtWorks provides.
  158.  
  159. Using the inner corner handles of a stellated polygon you can change the
  160. inner radius of the star on its own. This is in contrast to dragging the outer
  161. corners of a star which changes both the outer and the inner radius (scaling
  162. the inner radius proportionally). However, if you drag the inner corners, only
  163. the inner radius is changed and the outer radius stays the same.
  164.  
  165. With Polygon 1.10 or higher you can drag the inner handles of stars to any
  166. position, not only towards the centre or away from it, so you can twist the
  167. star. If you want to preserve the degree of twisting and edit the inner radius
  168. only, hold down Ctrl while dragging the inner handle of the star. By holding
  169. down Shift while dragging, you can force the radius to remain the same, so you
  170. change the inner radius only. In order to reset the star to its default
  171. non-twisted state, click on the "Stellated" radio button twice.
  172.  
  173. By dragging the inner handle of stars you can create interesting self-
  174. intersecting stars which resemble spirograph shapes.
  175.  
  176. Note that by dragging the inner corners of a star further away from the
  177. centre than the outer corners of the star, you can turn the star "inside out",
  178. i.e. the inner radius becomes bigger than the outer radius. Conceptually,
  179. the former inner corners still remain "inner corners". This means that for
  180. such a polygon, dragging the handles further away from the centre change the
  181. outer radius while the corners nearer to the centre change both the outer and
  182. the inner radius. This slightly irritating feature might be removed in the
  183. future.
  184.  
  185. 2.4) Saving and exporting
  186.  
  187. The approach chosen for polygon objects also has disadvantages: As polygons
  188. belong to a new object type, files containing polygons cannot be loaded in
  189. copies of ArtWorks without the Polygon module. More accurately, you can load
  190. the files and they will even be displayed correctly. However, trying to edit
  191. polygon objects without having the Polygon module will result in a number of
  192. anomalies which eventually mean that it should be avoided to load files with
  193. polygons into copies of ArtWorks without the Polygon module.
  194.  
  195. There are three possible workarounds for this problem:
  196.  
  197. a) Convert the polygons to shapes before saving the file (after saving
  198.    you can reconvert them to polygon objects using UNDO). To do this,
  199.    select all polygon objects and press Ctrl-N or choose "Make shapes"
  200.    from the "Lines/Shapes" menu.
  201.  
  202. Generally, a) is an absolutely safe approach. If you convert all polygons you
  203. create to shapes, you maintain absolute file compatibility with the original
  204. version of ArtWorks (but once you have done that, you can no longer use the
  205. editing facilities of the Polygon module).
  206.  
  207. b) Make sure you give away a copy of the Polygon module with every file
  208.    containing polygon objects. As the Polygon module is ShareWare, you
  209.    can give it away freely (see [7] below for a more detailed Copyright
  210.    notice). You may either give away the complete Polygon distribution
  211.    (so just keep a copy of the original archive for convenience) or the
  212.    *complete* !Polygon directory including this !Help file.
  213. c) Export as ArtWorks EPS. This will have the following effect:
  214.    * copies of ArtWorks which have the Polygon module installed will be able
  215.      to load the polygons as polygon objects
  216.    * copies of ArtWorks without the Polygon module will load the polygons
  217.      as path objects
  218.  
  219. Note that programs which only display ArtWorks files usually cope with
  220. polygon objects very well: Impression and Thumbnail happily display polygon
  221. objects. The same should apply to Ovation Pro, Composition or any other
  222. program which claims to read ArtWorks files. If you should experience any
  223. problems, try converting the polygons to shapes before exporting.
  224.  
  225. Note that polygons created with version 1.10 or later of the Polygon module
  226. are incompatible with older version of the module. Therefore when transferring
  227. files you must make sure that the destination copy of ArtWorks has Polygon
  228. 1.10 (or higher) installed.
  229.  
  230.  
  231. 3) Other features
  232. -----------------
  233.  
  234. The module fully supports the Undo system of ArtWorks. The name of the
  235. operation is 'polygon', so the Menu will show 'Undo polygon' if your last
  236. operation was to create a polygon and 'Undo alter polygon' if your last
  237. operation was to change the properties of a polygon.
  238.  
  239. The module fully supports exporting polygon objects as ArtWorks EPS. This
  240. also means that all other export formats are supported as well, e.g.
  241. Illustrator and Corel Draw EPS. Note that if you reimport ArtWorks EPS
  242. real polygon objects are created if you have the Polygon module. If you
  243. do not have the Polygon module installed, only paths are created but no
  244. error is reported. Therefore, exporting as ArtWorks EPS is a safe way if
  245. you do not know whether the destination copy of ArtWorks has the Polygon
  246. module installed.
  247.  
  248. There is also a rather unexpected feature (which some people might call a
  249. bug): Scaling a polygon with the scaling aspect other than 100% does not
  250. work. That is, you can scale a polygon by any scaling factor, but you
  251. cannot scale differently in x- and y-direction. You are not prevented from
  252. doing so but the result is no longer a polygon, and as soon as you change
  253. any its properties (e.g. the radius), it will revert to a 1:1 aspect.
  254.  
  255.  
  256. 4) Take part in creating new ArtWorks modules!
  257. ----------------------------------------------
  258.  
  259. If you have some spare time and you are wondering what to do with it: What
  260. about writing a new ArtWorks module? You will need the ArtWorks SDK first,
  261. which costs about £40, but it is worth the money. Lots of documentation and
  262. most of the source code for the standard ArtWorks modules.
  263.  
  264. If you have really good ideas about what useful things an ArtWorks module
  265. could do, do not hesitate to contact me. I will try and collect everything
  266. the current user base of ArtWorks really needs.
  267.  
  268.  
  269. 5) History
  270. ----------
  271.  
  272. Note that when upgrading, you have to repeat the steps outlined in section 1
  273. if you use the 'Quick start' option of ArtWorks.
  274.  
  275. 5.1) New features
  276.  
  277. 5.1.1) New features of version 1.12
  278.  
  279. Polygon 1.12 fixes a minor omission of 1.11: While pressing Shift constrains
  280. the radius when dragging an outer handle of a star, it does not do so for
  281. drags of an inner handle. This has been added, so Ctrl and Shift constrain
  282. the angle/radius for both inner and outer drag operations. Another minor
  283. update (requested by S.W. Tengelsen) is that clicking Adjust on the up/down
  284. arrow buttons now decreases/increases the number of sides instead of acting
  285. like Select.
  286.   Messages files for Dutch and German users have been added (the Dutch files
  287. were supplied by Dick Tanis and used with his kind permission).
  288.  
  289. 5.1.2) New features of version 1.11
  290.  
  291. Polygon 1.10 and below were incompatible with the Precision Tool (available
  292. from CC) as the latter is using some codes which are in fact allocated
  293. to me. As it is improbable that there will be a fix for the Precision Tool
  294. I have applied for some new codes and modified all my modules to use these.
  295.  
  296. There is an important addition in this file: If you intend to register by
  297. sending a cheque please make sure you read the registering details below.
  298. Search for "IMPORTANT".
  299.  
  300. 5.1.3) New features of version 1.10
  301.  
  302. Polygon 1.10 has one major new feature: When editing stars by dragging an
  303. inner handle, you can not only change the inner radius of the star but you
  304. can also twist it. Simply drag the inner handle to any position.
  305.  
  306. If you want to maintain the degree of twisting of a star while editing its
  307. inner radius, hold down Ctrl while dragging. If you want to reset a star
  308. to its default non-twisted state, click on the "Stellated" radio button
  309. twice.
  310.  
  311. Note that polygons created by version 1.10 of the Polygon module cannot
  312. be rendered correctly by old versions of the module (they appear twisted
  313. even if they are not). Of course, Polygon 1.10 can handle polygon objects
  314. created by older versions of the module.
  315.  
  316. 5.2) History list
  317.  
  318. Version 1.00 (06-10-96):
  319. - First version released to public
  320.  
  321. Version 1.01 (15-10-96):
  322. - Fixed bug with perspective and envelope. These should work now as
  323.   expected
  324.  
  325. Version 1.10 (23-11-96):
  326. - Corrected spelling mistake ("poygons" instead of "polygons")
  327. - fixed half of an EPS import bug (allows attribute handlers to apply their
  328.   attributes now); so imported polygons have the correct line colour now
  329.   but their fill colour is still not set correctly (note that this only
  330.   applies to the colour displayed when you select the fill colour tool,
  331.   the polygons are still displayed and printed correctly)
  332. - change of licence, see [7] below
  333. - included Intersect tutorial
  334. - the angular offset of stars can be edited by dragging any inner handle
  335.  
  336. Version 1.11 (05-12-96):
  337. - using gadget base &5500 now as Precision is using &5400 although this
  338.   base has in fact been allocated to me
  339. - added cheque details in section [7]
  340.  
  341. Version 1.12 (17-12-96):
  342. - Adjust click on up/down arrows implemented
  343. - Shift constrains inner drags as well
  344. - "Germany" and "Netherland" messages files included
  345.  
  346. Version 1.13 (14-01-97):
  347. - tidied info bar (looked ugly with German messages)
  348.  
  349. Version 1.14 (05-02-97):
  350. - fixed bug which caused stars to be twisted in a random manner at the
  351.   beginning of an inner handle drag using the Select tool
  352. - improved info bar for Germany again
  353.  
  354. 6) Contacting me:
  355. -----------------
  356. Martin Wuerthner
  357. Jahnstrasse 18
  358. 71116 Gaertringen
  359. Germany
  360.  
  361. Phone: +49-7034-928986
  362. Fax:   +49-7034-928915 (new fax number!)
  363.  
  364. e-mail: wuerthne@trick.informatik.uni-stuttgart.de
  365.         (might expire in summer 97)
  366.  
  367.  
  368. 7) Copyright:
  369. -------------
  370. This ArtWorks module including all related files is Copyright 1996
  371. by Martin Würthner and is ShareWare.
  372.  
  373. This means that you may copy it freely provided that
  374. (a) all files of this ArtWorks module are distributed together without
  375.     modification
  376. (b) this application is not sold for profit without my explicit written
  377.     permission - you also have to apply for permission to distribute this
  378.     program on a CD if it is sold for profit or to distribute it together
  379.     with other commercial software
  380. I retain the copyright on all files.
  381.  
  382. You may use this module free of charge for a trial period of up to two
  383. weeks. If you then decide to go on using the module, you have to register.
  384. Otherwise, you have to deinstall the module.
  385.  
  386. In order to register, send £10 (or your country's equivalent of this sum)
  387. to me (for my address see [6]).  You may send cheques (drawn from UK or
  388. German banks only), Euro cheques or bank notes (any currency).
  389.  
  390. IMPORTANT: If you send a normal cheque, please make it payable to "ExpLAN
  391.            Computers Ltd." and *not* to me. If you send a Eurocheque, make
  392.            it payable to me. I cannot accept cheques drawn from banks
  393.            outside Germany and Great Britain.
  394.  
  395. As a registered user, you are allowed to use the software on one stand-alone
  396. machine and you are entitled to receive free upgrades as they become
  397. available by sending a self-addressed envelope containing a formatted disc to
  398. me. Alternatively, upgrades may be requested by e-mail.
  399.  
  400. Every registered user of Polygon will be sent the new Intersect module
  401. which allows you to intersect shapes. Using this module you can create many
  402. interesting effects, including hatching, pattern filling and transparency
  403. effects. Intersect is *not* ShareWare, so the only way to get it legally is
  404. to register for the Polygon module.
  405.  
  406. If you are a professional or educational user then you must obtain a special
  407. licence which is £25. Note that it is illegal to use this software for
  408. commercial or educational purposes without this licence. The registration fee
  409. of £25 allows you to use the software on one stand-alone machine. A
  410. site-licence is £50 (unlimited number of machines at one site, i.e. at a
  411. single postal address). Note that whatever licence type you go for, the same
  412. licence applies to the Intersect module which you get free.
  413.  
  414. Remember that the development of ArtWorks modules is quite complex and
  415. time-consuming. Therefore, support the development of further ArtWorks modules
  416. by registering.
  417.  
  418. ¹CorelXARA is a Trademark of Corel Corporation and Xara Ltd.
  419.