🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3652

PM Graphics editing

#3652
From: Stickland I C
Date: Tue, 26 Jan 1993 10:47
14 lines
1037 bytes
Does anyone have any source code for a simple PM graphics editor?? What I
want to do is draw boxes and lines and then be able to move them round
the screen with the mouse. I'd also like to be able to save the result to
file, preferably a metafile.

From what I've read I think I need to use named segments and use the 
correlation calls to detect what is under the mouse pointer. What I'm
not at all clear about though is how I then move the graphic segment to
a different part of the screen. I'd like to be able to just drag it with
the mouse.

Any help/sample code greatly appreciated,

Ian Stickland.
Technical Details
Message-ID: <1k34r9INNm6m@ceres.kingston.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!agate!doc.ic.ac.uk!warwick!kinguni2!kinguni!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!agate!doc.ic.ac.uk!warwick!kinguni2!kinguni!not-for-mail
From: cs_b144@ceres.kingston.ac.uk (Stickland I C)
Newsgroups: comp.os.os2.programmer
Subject: PM Graphics editing
Message-ID: <1k34r9INNm6m@ceres.kingston.ac.uk>
Date: 26 Jan 93 10:47:05 GMT
Organization: Kingston University, Kingston-upon-Thames
Lines: 14
NNTP-Posting-Host: ceres.kingston.ac.uk