Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] Ghost shape, Mac OS X xor issue, and a possible solution


Besides requiring GDI+ library on windows 2000, and Cairo on Linux, painting using alpha is probably 1-2 orders of magnitude slower than XOR.  Any change we make should probably be OS-specific.

I think that is some cases the outline partially overlaps the fill. Using alpha for both would reveal that.

-Randy



"Jens v.P." <developer@xxxxxxxxx>
Sent by: gef-dev-bounces@xxxxxxxxxxx

11/15/2005 07:52 AM

Please respond to
GEF development

To
GEF development <gef-dev@xxxxxxxxxxx>
cc
Subject
Re: [gef-dev] Ghost shape, Mac OS X xor issue, and a possible solution





Hi,

Am 15.11.2005 um 13:05 schrieb Gunnar Wagenknecht:
> I'm not sure but from my understanding this would break existing  
> clients
> on platforms where setAlpha is not supported.

Oh. Does that mean that setAlpha isn't supported on all platforms?  
Then it should be deprecated,too ;)
setAlpha(int) is a method of org.eclipse.swt.graphics.GC. It's a non-
deprecated, public method of the SWT package.  
org.eclipse.swt.graphics.GC.setXORMode(boolean) _is_ deprecated!

See also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=50228

Jens

_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gef-dev


Back to the top