Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: include/core/SkMatrix.h

Issue 1022003003: Revert of add SkMatrix::decomposeScale (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkBitmapProcState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkMatrix.h
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h
index b2ee3c61bfb417580eaf9b7ce2414a8c0f4e0d04..a272051067e7dabb511ac38d9ad01f07c206fd55 100644
--- a/include/core/SkMatrix.h
+++ b/include/core/SkMatrix.h
@@ -624,19 +624,6 @@
bool getMinMaxScales(SkScalar scaleFactors[2]) const;
/**
- * Attempt to decompose this matrix into a scale-only component and whatever remains, where
- * the scale component is to be applied first.
- *
- * M -> Remaining * Scale
- *
- * On success, return true and assign the scale and remaining components (assuming their
- * respective parameters are not null). On failure return false and ignore the parameters.
- *
- * Possible reasons to fail: perspective, one or more scale factors are zero.
- */
- bool decomposeScale(SkSize* scale, SkMatrix* remaining = NULL) const;
-
- /**
* Return a reference to a const identity matrix
*/
static const SkMatrix& I();
« no previous file with comments | « no previous file | src/core/SkBitmapProcState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698