🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #496

PointComp

#496
From: thorsten
Date: Mon, 17 Aug 1992 15:56
14 lines
1134 bytes
I asked for a method to create points and circles in the same way as
lines and ellipses in a viewer. Mr. John Vlissides answered that I
only have to define a PointComp by taking the code for LineComp...
I tried that just before the answer, but my problem is to define
POINT_COMP and POINT_VIEW. If I say #define POINT_COMP 9030
(like LINE_COMP), than I cannot create a point but a line again.
If I say #define POINT_COMP 9108 (the first unused number), then
I get a segmentation fault when I start the executable program.
Where are these numbers used, and what number do I have to use?
Do I have to implement any new code because of a new number?

Thanks a lot,

Carsten Hoffmann
Technical Details
Message-ID: <9208171556.AA13261@alberich.uni-muenster.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ALBERICH.UNI-MUENSTER.DE!thorsten

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ALBERICH.UNI-MUENSTER.DE!thorsten
From: thorsten@ALBERICH.UNI-MUENSTER.DE
Subject: PointComp
Message-ID: <9208171556.AA13261@alberich.uni-muenster.de>
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Westfaelische Wilhelms-Universitaet, Muenster, Germany
              Department of Mathematics
Date: Mon, 17 Aug 1992 15:56:55 GMT
Lines: 15