🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #20108

Re: XOR drawing problem

#20108
From: Andrew Bennett
Date: Wed, 22 Oct 1997 00:00
39 lines
1792 bytes
On Wed, 22 Oct 1997 14:25:18 -0700, Dirk Vermeersch
<dirkv@cadence.com> wrote:

>There seems to be a problem with drawing  in XOR mode using the JBuilder
>VM
>==> for example drawing a line in XOR model will show up in the correct
>color when
>the line is not horizontal or vertical.
>When the line is horizontal or vertical, the line will be drawn in
>"white" and will not have the
>correct xor behavior (e.g. a second draw of the same line using xor will
>not erase the previous
>drawn line).
>This problems don't happen when the line is not horizontal/vertical.
>Note that for rectangles xor drawing has the same behavior as for
>vertical/horizontal lines.
>
>Is this a known problem ?
>Is there a work around for this problem ?

I think this is actually a JavaSoft 112/113 bug.  Someone posted
something some time ago that I looked at that sounded similiar to the
above.

Have you tried JDK 1.1.4 with your app?  If it's still broken in
1.1.4, I'd suggest submitting a bug to JavaSoft.

If you have a small code snippet, please post, or submit a bug on our
web page.



Andrew
--
  Andrew Bennett            ->  abennett@borland.com
  JBuilder info             ->  http://www.borland.com/jbuilder/
  JBuilder newsgroups info  ->  http://www.borland.com/newsgroups/
**** Please don't post a reply AND send email.  Do one.  I'll see it. ****
Technical Details
Message-ID: <344e8465.77894846@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <344E6F3E.EF3082EB@cadence.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1628fb19184dfef2
X-Google-Attributes: gidf74b3,public
From: abennett@borland.com (Andrew Bennett)
Subject: Re: XOR drawing problem
Date: 1997/10/22
Message-ID: <344e8465.77894846@forums.borland.com>
X-Deja-AN: 282529978
References: <344E6F3E.EF3082EB@cadence.com>
Organization: None
Newsgroups: borland.public.jbuilder.java.language