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

Unified Diff: ui/gfx/transform.h

Issue 8383006: Adds function to invert a transform to ui::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | ui/gfx/transform.cc » ('j') | ui/gfx/transform.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/transform.h
diff --git a/ui/gfx/transform.h b/ui/gfx/transform.h
index 483aa564652c9cf47d2b0ae49d475406a3a9a596..65589d63aa4660d855455130782f5d4b9ed08c5c 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 which is passed in. Returns true if successful;
sky 2011/10/24 16:45:05 ; -> .
+ bool GetInverse(Transform* transform);
sky 2011/10/24 16:45:05 const?
+
// Applies the transformation on the point. Returns true if the point is
// transformed successfully.
void TransformPoint(gfx::Point3f& point) const;
« no previous file with comments | « no previous file | ui/gfx/transform.cc » ('j') | ui/gfx/transform.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698