commit | 2c79695f2d202c7e209307be69513adfdb19f0a0 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Thu Dec 01 17:00:09 2022 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Fri Dec 02 20:42:20 2022 +0000 |
tree | 5c0c83be6a0853f418a949dce7eec933e6dff1be | |
parent | e9f9bfc8a4f4dd871365f7f6bcf6c6f180a5c932 [diff] |
[skottie] Allow clients to override image scaling mode Add a new FrameData field, so clients can specify a different strategy than the default kCenter_ScaleToFit. Bug: skia:13966 Change-Id: I4fb6170de8efce4546b45c9a9d023113f71938d7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/612676 Reviewed-by: Jorge Betancourt <jmbetancourt@google.com> Auto-Submit: Florin Malita <fmalita@chromium.org> Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>