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

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

Issue 1517853002: Extend the geometry APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years 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: 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;
abarth-chromium 2015/12/10 22:49:53 It's very common for all of these radii to have th
jeffbrown 2015/12/11 19:40:55 Skia auto-detects the type when provided with the
+};
+
struct Transform {
// Row major order.
array<float, 16> matrix;
« mojo/services/geometry/cpp/logging.cc ('K') | « mojo/services/geometry/cpp/logging.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698