diff options
author | Ben Wagner <bungeman@google.com> | 2018-06-06 11:02:07 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-07 19:32:11 +0000 |
commit | c174cc675cbc190c43372d53fb89711663ac945f (patch) | |
tree | 262fbd45c6b60bd465e86da2e0952111065da59e /src/core/SkBitmapCache.h | |
parent | 61201641383dada029f79be4df98d925efc1a827 (diff) |
Add SkTypeface::makeClone.
This adds an method to typeface to allow users to create a copy of the
typeface with different arguments for its parameters. This is far more
efficient when animating a variation font.
BUG=skia:7121
Change-Id: I34e7557a08c7005f8149ea44f0c28de9c59d15a7
Reviewed-on: https://skia-review.googlesource.com/132480
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkBitmapCache.h')
0 files changed, 0 insertions, 0 deletions