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

Unified Diff: cc/math_util.h

Issue 10915313: cc: Apply the layer's initial CSS scale to the contentsScale to render text at the right resolution. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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 | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/math_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/math_util.h
diff --git a/cc/math_util.h b/cc/math_util.h
index ed3848e6f4b7fbdfe8b6b5264d59340b45438231..5f303889742b6612521adc1237afac4b0a41ff38 100644
--- a/cc/math_util.h
+++ b/cc/math_util.h
@@ -94,6 +94,8 @@ public:
static void flattenTransformTo2d(WebKit::WebTransformationMatrix&);
+ static FloatPoint computeTransform2dScaleComponents(const WebKit::WebTransformationMatrix&);
+
// Returns the smallest angle between the given two vectors in degrees. Neither vector is
// assumed to be normalized.
static float smallestAngleBetweenVectors(const FloatSize&, const FloatSize&);
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/math_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698