Home
last modified time | relevance | path

Searched hist:"3 dfdd43723d226c6a6638508563e5aa677503e56" (Results 1 – 1 of 1) sorted by relevance

/haiku/src/kits/interface/
H A DGradient.cpp3dfdd43723d226c6a6638508563e5aa677503e56 Fri May 02 09:46:37 UTC 2014 Adrien Destugues <pulkomandy@pulkomandy.tk> BGradient: preserve order of stops with same offset.

* Use merge sort, which is a stable sort, instead of the qsort used in
BList::SortItems
* This allows setting two stops with the same offset to create a sharp
color change in a gradient. This trick is used to create stripe patterns
with css gradients in some web pages.

Fixes #10733.