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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo; 6 module mojo;
7 7
8 struct Point { 8 struct Point {
9 int32 x; 9 int32 x;
10 int32 y; 10 int32 y;
(...skipping 16 matching lines...) Expand all
27 int32 height; 27 int32 height;
28 }; 28 };
29 29
30 struct RectF { 30 struct RectF {
31 float x; 31 float x;
32 float y; 32 float y;
33 float width; 33 float width;
34 float height; 34 float height;
35 }; 35 };
36 36
37 struct RRect {
38 int32 x;
39 int32 y;
40 int32 width;
41 int32 height;
42 int32 top_left_radius_x;
43 int32 top_left_radius_y;
44 int32 top_right_radius_x;
45 int32 top_right_radius_y;
46 int32 bottom_left_radius_x;
47 int32 bottom_left_radius_y;
48 int32 bottom_right_radius_x;
49 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
50 };
51
37 struct Transform { 52 struct Transform {
38 // Row major order. 53 // Row major order.
39 array<float, 16> matrix; 54 array<float, 16> matrix;
40 }; 55 };
OLDNEW
« 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