Article View: comp.windows.interviews
Article #423Re: drawing on an Image
From: Chen Wang
Date: Sat, 12 Sep 1992 05:11
Date: Sat, 12 Sep 1992 05:11
24 lines
826 bytes
826 bytes
Hi, Mike: Just off the top of my head, I could think of one way you can do it. Have a sub-class of Glyph such as Mine. Actually, a monoglyph maybe even better. In the method "Mine::draw" add: <Canvas instance name>->draw(x1, y1, x2, y2); in front of "MonoGlyph::draw(c, a)". x1, y1, x2, y2 will be the co-ordinates for the endpoints of the line. Hope this helps, -- Chen Wang (chen@ie.toronto.edu)
Technical Details
Message-ID:
<9209120511.AA16704@ie.utoronto.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!IE.UTORONTO.CA!chenShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!IE.UTORONTO.CA!chen From: chen@IE.UTORONTO.CA (Chen Wang) Subject: Re: drawing on an Image Message-ID: <9209120511.AA16704@ie.utoronto.ca> Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Date: Sat, 12 Sep 1992 05:11:53 GMT Lines: 24