Revert "New way to scale RRect"
This reverts commit c7ca2d7c38ea625bedffea98f54340955046aab5.
Reason for revert: breaking chrome gold tests and pixel tests (benign but need to rebase I believe)
Original change's description:
> New way to scale RRect
>
> - far simpler
> - matches the float behavior of transforming the path-equivalent
>
> This shows a few tiny diffs, due to the different way we apply
> the matrix itself:
>
> Old way: transform distances (radii width and height)
>
> New way: transform centers (positions, not distances)
>
> The new way is aligned with out paths, even paths that represent
> round-rects, are transformed. Hence this CL brings rrect::transform
> inline with its path counterpart.
>
> Triggered by SK_SUPPORT_LEGACY_RRECT_TRANSFORM
>
> Clients should define this (or not) while they transition to the
> (slighly) different behavior.
>
> Change-Id: I5976bf5b7b7f943afa14a7f426e14ff29086d350
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1029976
> Reviewed-by: Eric Boren <borenet@google.com>
> Reviewed-by: Florin Malita <fmalita@google.com>
> Commit-Queue: Mike Reed <mike@reedtribe.org>
> Reviewed-by: Daniel Dilan <danieldilan@google.com>
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Change-Id: Ie30d1915018968c5884beb0c7655a5d5b16c197f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1030716
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
2 files changed