Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!cornellcs!newsstand.cit.cornell.edu!portc01.blue.aol.com!news-res.gsl.net!news.gsl.net!swrinde!howland.reston.ans.net!blackbush.xlink.net!ins.net!heeg.de!gustav!hmm
From: hmm@gustav (Hans-Martin Mosner)
Subject: Re: VW2.5: Rubberband/Xor drawing
Message-ID: <DvI448.Ass@heeg.de>
Sender: uucp@heeg.de
Organization: Georg Heeg Objektorientierte Systeme, Dortmund, FRG
X-Newsreader: TIN [version 1.2 PL2]
References: <4tqbur$1gnb@rs18.hrz.th-darmstadt.de>
Date: Fri, 2 Aug 1996 08:12:07 GMT
Lines: 27

Juergen Buchner (buchner@pu.informatik.th-darmstadt.de) wrote:
: Is it possible to specify something like a "xor drawing mode"in VW
: 2.5. For a drawing editor  I want to program something like a
: "rubber band", similar to Corel Draw. I have examined the
: GraphicsContext class, but I can't  find anything appropriate.

: Suggestions?

Sadly, ParcPlace has decided that XOR drawing is not useful
enough to be supported in their GraphicsContext architecture.
Supposedly that would restrict the portability, but AFAIK all
bit-mapped graphics system support it.
There are some crummy routines that provide functions for
resizing rectangles, dragging masks or outlines, and displaying
masks or outlines for a short amount of time, but they all
work on the Screen and don't give you the real functionality
that you would need.

I hope that Jigsaw will remedy that problem. Until then we'll
have to live with workarounds and sluggish selection interfaces.

Hans-Martin
--
+--- Hans-Martin Mosner -------- Senior Smalltalk Guru ---+
| These opinions are entirely ficticious.  Any similarity |
| to real opinions is purely coincidental and unintended. |
+--- <hmm@heeg.de> ------ URL:http://www.heeg.de/~hmm/ ---+
