Chromium Code Reviews
DescriptionProperly flip the CGContext during UIImage->SkBitmap conversions.
Skia's origin is in the upper-left whereas CG's origin is in the lower-left, so
the CGContext needs to be flipped in order to prevent the resulting image from
being upside-down.
TBR=thakis@chromium.org
BUG=None
TEST=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158441
Patch Set 1 #Patch Set 2 : #
Total comments: 7
Patch Set 3 : Review. #
Total comments: 1
Messages
Total messages: 10 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||