OLD | NEW |
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 Loading... |
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 { | 37 struct RRectF { |
38 int32 x; | 38 float x; |
39 int32 y; | 39 float y; |
40 int32 width; | 40 float width; |
41 int32 height; | 41 float height; |
42 int32 top_left_radius_x; | 42 float top_left_radius_x; |
43 int32 top_left_radius_y; | 43 float top_left_radius_y; |
44 int32 top_right_radius_x; | 44 float top_right_radius_x; |
45 int32 top_right_radius_y; | 45 float top_right_radius_y; |
46 int32 bottom_left_radius_x; | 46 float bottom_left_radius_x; |
47 int32 bottom_left_radius_y; | 47 float bottom_left_radius_y; |
48 int32 bottom_right_radius_x; | 48 float bottom_right_radius_x; |
49 int32 bottom_right_radius_y; | 49 float bottom_right_radius_y; |
50 }; | 50 }; |
51 | 51 |
52 struct Transform { | 52 struct Transform { |
53 // Row major order. | 53 // Row major order. |
54 array<float, 16> matrix; | 54 array<float, 16> matrix; |
55 }; | 55 }; |
OLD | NEW |