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

Unified Diff: ui/gfx/transform.h

Issue 8368013: Improve Aura overdraw by changing hole calculation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nicer diff Created 9 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
Index: ui/gfx/transform.h
diff --git a/ui/gfx/transform.h b/ui/gfx/transform.h
index 483aa564652c9cf47d2b0ae49d475406a3a9a596..0887f51259987b3935abbec7658d0efa95a2722a 100644
--- a/ui/gfx/transform.h
+++ b/ui/gfx/transform.h
@@ -69,6 +69,9 @@ class UI_EXPORT Transform {
// Does the transformation change anything?
bool HasChange() const;
+ // Inverts the transform. Returns true if successful;
+ bool Invert();
+
// Applies the transformation on the point. Returns true if the point is
// transformed successfully.
void TransformPoint(gfx::Point3f& point) const;

Powered by Google App Engine
This is Rietveld 408576698