DescriptionSimplify Gradient by holding a Color instead of four floats.
This makes it easier to read, and also prevents pointless conversions
back and forth between a 32-bit integer and four floats.
This resolves a FIXME which asked why this was the case.
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169396
Patch Set 1 #
Total comments: 2
Patch Set 2 : use SkColorSetARGB #
Messages
Total messages: 9 (0 generated)
|