home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / polygon / !Polygon / !Help < prev    next >
Encoding:
Text File  |  1997-05-04  |  22.3 KB  |  497 lines

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