🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1196

Drawing on a Canvas

#1196
From: Ranadeva Peries
Date: Wed, 22 May 1991 07:33
18 lines
1385 bytes
I need to write a program that draws simple objects (lines, circles etc)
on a Canvas. I have been attempting this using a Painter. However, I can't
find the connection between the Painter and a Canvas.

Could someone give me some code that draws a line on a canvas using
a Painter. What am I doing wrong ?

I am using IV 2.6 with g++ under SunOS 4.1.1.

Mail your responses directly to me:
_________________________________________________________________________
 Ranadeva Peries (Rana)               |  Internet:  rana@cs.uwa.oz.au
 Unix Programmer                      |
 Department of Computer Science       |
 The University of Western Australia  |  
 Nedlands 6009,                       | Tel: +61-9-3802878 
 W. Australia.                        | FAX: +61-9-3821688
_________________________________________________________________________
Technical Details
Message-ID: <rana.674897633@wambenger>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!think.com!spool.mu.edu!munnari.oz.au!uniwa!bilby.cs.uwa.oz.au!rana

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!think.com!spool.mu.edu!munnari.oz.au!uniwa!bilby.cs.uwa.oz.au!rana
From: rana@cs.uwa.oz.au (Ranadeva Peries)
Newsgroups: comp.windows.interviews
Subject: Drawing on a Canvas
Summary: How to Draw on Canvas using Painter
Keywords: Draw Canvas Lines Painter
Message-ID: <rana.674897633@wambenger>
Date: 22 May 91 07:33:53 GMT
Sender: news@bilby.cs.uwa.oz.au
Organization: Dept. Computer Science, University of Western Australia.
Lines: 18