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

Unified Diff: include/core/SkMatrix.h

Issue 105353002: Do not use GrBicubic effect when downscaling. Also, don't use glTexStorage as it interferes with de… (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: address comments Created 7 years 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/SkBitmapProcShader.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 dad5ff92f58904f4b8ed7c18e3d4375a9de23cfe..d7726f6d4dc7a1d6fcdf47ebac5cc995cc43b926 100644
--- a/include/core/SkMatrix.h
+++ b/include/core/SkMatrix.h
@@ -574,6 +574,14 @@ public:
SkDEVCODE(void toString(SkString*) const;)
/**
+ * Calculates the minimum stretching factor of the matrix. If the matrix has
+ * perspective -1 is returned.
+ *
+ * @return minumum strecthing factor
+ */
+ SkScalar getMinStretch() const;
+
+ /**
* Calculates the maximum stretching factor of the matrix. If the matrix has
* perspective -1 is returned.
*
« no previous file with comments | « no previous file | src/core/SkBitmapProcShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698