URL:
<http://savannah.gnu.org/bugs/?28714>
Summary: On Windows, transparency is not supported in
drawing
Project: GNUstep
Submitted by: theeggcamefirst
Submitted on: Fri 22 Jan 2010 10:04:13 PM GMT
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I'm trying to shade part of a view by drawing a partially-transparent shade
of black over it in my drawRect: method. This works fine in Cocoa and in
GNUstep on Linux, but produces solid black on Windows. The code is basically
like this:
NSBezierPath *shadePath = [NSBezierPath
bezierPathWithRect:shadeRect];
[[NSColor colorWithCalibratedWhite:0.05 alpha:0.35]
set];
[shadePath fill];
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?28714>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep