#18370 closed bug (fixed)

Gradients antialias use low color or blends depending on current pattern

Reported by: madmax Owned by: axeld
Priority: normal Milestone: R1/beta5
Component: Servers/app_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Try something like

FillRect(BRect(0,0, 1,1), pattern);
SetLowColor(0, 255, 0);
FillEllipse(rect, gradient);

If pattern is B_SOLID_LOW or the default B_SOLID_HIGH, the circle blends beautifully with its background. For any other pattern, say B_MIXED_COLORS, the low color is used instead and you get a green ring.

Attachments (1)

blend2.png (1.3 KB ) - added by madmax 12 months ago.

Download all attachments as: .zip

Change History (2)

by madmax, 12 months ago

Attachment: blend2.png added

comment:1 by korli, 12 months ago

Milestone: UnscheduledR1/beta5
Resolution: fixed
Status: newclosed

Fixed in hrev56993

Note: See TracTickets for help on using tickets.