commit | 34f5760f11791d770fc5729a607eb29742d98fb0 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Fri Jun 16 14:46:19 2023 +0000 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Jun 20 14:03:49 2023 +0000 |
tree | 0af85f672a7f9a5d0e0ae283083fed8dd3df5c76 | |
parent | 6823d03cf2b2d5d65a1c21054e55cd5a7c3b40a1 [diff] |
Make SkPathMeasure move-able Both SkPathMeasure and SkContourMeasureIter have default constructors that put the object in a well-defined (but useless) state. Moving their internals will restore them to this state, so there's no reason not to have this functionality. Change-Id: I5ce4ccd8228bc0e59092af12f359a56aeb49d2d3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/712836 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Herb Derby <herb@google.com>