|
From: | Doug Simons |
Subject: | [bug #28714] On Windows, transparency is not supported in drawing |
Date: | Fri, 22 Jan 2010 22:04:14 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |