DescriptionImprove computation of ctmScale{X,Y} in NativeImageSkia::drawPattern
Simply using "scale x" and "scale y" will not give the intended results
for for instance mirroring transformations.
Instead compute the length of the column vectors for the 2x2 submatrix.
BUG=160443
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170782
Patch Set 1 #
Total comments: 4
Patch Set 2 : Use GC::getCTM(). #
Total comments: 2
Patch Set 3 : Drop trailing WS. #
Messages
Total messages: 8 (0 generated)
|