home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / programm / 8034 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  1013 b 

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!agate!doc.ic.ac.uk!warwick!kinguni2!kinguni!not-for-mail
  2. From: cs_b144@ceres.kingston.ac.uk (Stickland I C)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: PM Graphics editing
  5. Message-ID: <1k34r9INNm6m@ceres.kingston.ac.uk>
  6. Date: 26 Jan 93 10:47:05 GMT
  7. Organization: Kingston University, Kingston-upon-Thames
  8. Lines: 14
  9. NNTP-Posting-Host: ceres.kingston.ac.uk
  10.  
  11. Does anyone have any source code for a simple PM graphics editor?? What I
  12. want to do is draw boxes and lines and then be able to move them round
  13. the screen with the mouse. I'd also like to be able to save the result to
  14. file, preferably a metafile.
  15.  
  16. From what I've read I think I need to use named segments and use the 
  17. correlation calls to detect what is under the mouse pointer. What I'm
  18. not at all clear about though is how I then move the graphic segment to
  19. a different part of the screen. I'd like to be able to just drag it with
  20. the mouse.
  21.  
  22. Any help/sample code greatly appreciated,
  23.  
  24. Ian Stickland.
  25.