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

Unified Diff: mojo/services/geometry/interfaces/geometry.mojom

Issue 1537633005: Extend the geometry APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-10
Patch Set: rebase Created 4 years, 11 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 | « mojo/services/geometry/cpp/geometry_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/geometry/interfaces/geometry.mojom
diff --git a/mojo/services/geometry/interfaces/geometry.mojom b/mojo/services/geometry/interfaces/geometry.mojom
index a6d2d4ea2dd0548647f1c62ec2f8f6ea88138e2a..1f882b6ad3eb558f978568f08cccf9ecfee127d8 100644
--- a/mojo/services/geometry/interfaces/geometry.mojom
+++ b/mojo/services/geometry/interfaces/geometry.mojom
@@ -34,6 +34,21 @@ struct RectF {
float height;
};
+struct RRect {
+ int32 x;
+ int32 y;
+ int32 width;
+ int32 height;
+ int32 top_left_radius_x;
+ int32 top_left_radius_y;
+ int32 top_right_radius_x;
+ int32 top_right_radius_y;
+ int32 bottom_left_radius_x;
+ int32 bottom_left_radius_y;
+ int32 bottom_right_radius_x;
+ int32 bottom_right_radius_y;
+};
+
struct Transform {
// Row major order.
array<float, 16> matrix;
« no previous file with comments | « mojo/services/geometry/cpp/geometry_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698