diff options
author | Cary Clark <caryclark@skia.org> | 2017-12-15 13:11:41 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-15 18:37:39 +0000 |
commit | 2d53d984251a753b9d0fb3adad3be09243cf5c14 (patch) | |
tree | 8cbe3bfc4a81624efdc79c2992e056040080a251 /src/core/SkMatrixPriv.h | |
parent | 2a8ad669097f5e0b57e5acd174554d875728c75b (diff) |
move homogenous with stride to matrixpriv
this appears to be needed only by Skia
internally, so move it out of the public
includes.
R=bsalomon@google.com
Bug: skia:6898
Change-Id: Iebdda8f2c9a8fd953dd44bac9b74158d7491c21a
Reviewed-on: https://skia-review.googlesource.com/85961
Commit-Queue: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/core/SkMatrixPriv.h')
-rw-r--r-- | src/core/SkMatrixPriv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/SkMatrixPriv.h b/src/core/SkMatrixPriv.h index 8b437c636f..166981ac5b 100644 --- a/src/core/SkMatrixPriv.h +++ b/src/core/SkMatrixPriv.h @@ -92,6 +92,9 @@ public: } } + static void MapHomogeneousPointsWithStride(const SkMatrix& mx, SkPoint3 dst[], + const SkPoint3 src[], size_t stride, int count); + static void SetMappedRectTriStrip(const SkMatrix& mx, const SkRect& rect, SkPoint quad[4]) { SkMatrix::TypeMask tm = mx.getType(); SkScalar l = rect.fLeft; |