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

Unified Diff: mojo/services/geometry/cpp/geometry_util.h

Issue 1776473005: Mozart: Implement basic input event dispatch with hit testing. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-7
Patch Set: Created 4 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 | « examples/ui/spinning_cube/spinning_cube_view.cc ('k') | mojo/services/geometry/cpp/geometry_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/geometry/cpp/geometry_util.h
diff --git a/mojo/services/geometry/cpp/geometry_util.h b/mojo/services/geometry/cpp/geometry_util.h
index 97271c9057d97dd2218b65926b3b6f5eff188054..34f6516c941f266bdbcfa75c77e68fa4afe50f28 100644
--- a/mojo/services/geometry/cpp/geometry_util.h
+++ b/mojo/services/geometry/cpp/geometry_util.h
@@ -37,6 +37,8 @@ inline bool operator!=(const Point& lhs, const Point& rhs) {
void SetIdentityTransform(Transform* transform);
void SetTranslationTransform(Transform* transform, float x, float y, float z);
+Point TransformPoint(const Transform& transform, const Point& point);
+
} // namespace mojo
#endif // MOJO_SERVICES_GEOMETRY_CPP_GEOMETRY_UTIL_H_
« no previous file with comments | « examples/ui/spinning_cube/spinning_cube_view.cc ('k') | mojo/services/geometry/cpp/geometry_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698