haiku/src
Adrien Destugues c4e8d88f7c app_server: fix gradients with no stops at the ends
When a gradient has no stop at offset 0 or 255, the drawing code will
not automatically complete the gradiet with the first or last color,
instead agg interpolation generated invalid random colors.

To avoid this, insert extra stops at the start and end in the
DrawingEngine when we prepare the gradient for drawing. We just copy the
first and last stops to new stops at offsets 0 and 255, which makes sure
the gradients covers the whole range and gives the expected result.

Fixes #2945.
2014-12-05 14:52:31 +01:00
..
add-ons Remove the vmware graphics and mouse drivers. 2014-12-04 12:48:23 +01:00
apps Add credits for the Slovenian translation. 2014-12-05 12:50:39 +01:00
bin Removed implicit conversion to int32 (CID: 1251478) 2014-12-03 21:22:54 +01:00
build
data Sniffing rule for MP4 files. 2014-12-02 17:04:30 +01:00
documentation
kits Style fixes to BStringView related to docs 2014-12-04 17:56:24 -05:00
libs Update udis86 to current version. 2014-11-12 11:25:41 +01:00
preferences FileTypes: disallow directories only where it makes sense. 2014-12-04 09:28:05 +01:00
servers app_server: fix gradients with no stops at the ends 2014-12-05 14:52:31 +01:00
system FileDevice: implement icon ioctls 2014-12-02 09:04:56 +01:00
tests Add a test for #2945. 2014-12-05 14:51:47 +01:00
tools Fix various typos and inconsistencies in strings 2014-11-24 09:42:26 +01:00
Jamfile