home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / os2sdk / os2sdk12 / edpline / readme < prev   
Encoding:
Text File  |  1989-11-20  |  1.4 KB  |  41 lines

  1. Comments about EDPLINE (Edit Polyline)
  2.  
  3.  
  4. This program is a prototype for the standard mouse interface of
  5. dragging points around and rubberbanding primitives.
  6.  
  7.  
  8. To use:
  9. -------
  10.  
  11. To add or move points, click on the LEFT mouse button.
  12.  
  13.   If you click within about 3 pels of an existing point, you can drag it
  14.     around in the usual way.
  15.  
  16.   If you click within about 3 pels of an existing line, but not near a
  17.     point, you will insert a point between the endpoints of the nearest line
  18.     segment.
  19.  
  20.   Otherwise, you will append a control point to the list.
  21.  
  22.  
  23. To remove points, click on a point with the RIGHT mouse button.
  24.  
  25.   You can drag the point around, but it will disappear as
  26.   soon as you lift up on the mouse button.
  27.  
  28.  
  29. The primitives can be displayed independently, and show up in different
  30. colors so they can be distinguished (especially near endpoints).  Selecting
  31. "None" clears all the selected primitives.
  32.  
  33. Rubberbanding is done by drawing in xor mode, so for each movement
  34. you will draw the object twice.  When moving, adding, or removing control
  35. points, only the one currently selected will be drawn.
  36.  
  37. There's a limit of 20 control points.  If you try to add more than that,
  38. a message box appears.    There's a bug that forces you to click twice after
  39. closing down the error message box before you can grab a point for moving
  40. or removing.
  41.