DescriptionSkPdf: smaller color serialization
SkPDFUtils now has a special function (SkPDFUtils::AppendColorComponent)
just for writing out (color/255) as a decimal with three digits of
precision.
SkPDFUnion now has a type to represent a color component. It holds a
utint_8, but calls into AppendColorComponent to serialize.
Added a unit test that tests all possible input values.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2151863003
Committed: https://skia.googlesource.com/skia/+/eb92cb3e84f49b5eedb22b36acffd895d6a90e5a
Patch Set 1 #Patch Set 2 : 2016-07-14 (Thursday) 13:36:29 EDT #
Total comments: 4
Patch Set 3 : SkFixed - 2016-07-15 (Friday) 15:45:32 EDT #
Messages
Total messages: 18 (12 generated)
|