commit | 2f64952d2093c7cab997cc5744679b1d124e98c5 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Fri Nov 19 13:16:23 2021 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Mon Nov 22 18:44:17 2021 +0000 |
tree | 14c35bb594fba77590b5c839cffb45d541829113 | |
parent | 9372ef0228be737c562122f93de057c11d170cfe [diff] |
introduce the GrSlug API Introduce the GrSlug that encapsulates an SkTextBlob along with the origin, and paint to create a GrSlug. You can draw the slug using the canvas, and it will obey the canvas's clip and mapping. See the full working prototype at: https://skia-review.googlesource.com/c/skia/+/471157/17 Change-Id: I5731dce3dea316ad144baead154a68c8e4c5db9a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/474040 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>