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 { | |
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 }; |
OLD | NEW |