Follow-up Comment #2, bug #27927 (project gnustep):

Hi Fred,

-setStroke: works now and I don't get any error logged as previously with
-setStroke: and -setFill:. This is great.
However there is still a problem with both methods (I tested both art and
cairo backends). They ignore the color alpha component unlike -set.

The code below works as expected:
[[[NSColor redColor] colorWithAlphaComponent: 0.5] set]; 
[NSBezierPath fillRect: aRect]; 

But with -setFill: (or -setStroke) as below, the alpha component is ignored,
and the filled rect is just opaque red:
[[[NSColor redColor] colorWithAlphaComponent: 0.5] setFill]; 
[NSBezierPath fillRect: aRect]; 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27927>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to