OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 // EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL | 8 // EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL |
9 // DO NOT USE -- FOR INTERNAL TESTING ONLY | 9 // DO NOT USE -- FOR INTERNAL TESTING ONLY |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 sk_colortype_t colorType; | 61 sk_colortype_t colorType; |
62 sk_alphatype_t alphaType; | 62 sk_alphatype_t alphaType; |
63 } sk_imageinfo_t; | 63 } sk_imageinfo_t; |
64 | 64 |
65 typedef struct { | 65 typedef struct { |
66 float x; | 66 float x; |
67 float y; | 67 float y; |
68 } sk_point_t; | 68 } sk_point_t; |
69 | 69 |
70 typedef struct { | 70 typedef struct { |
| 71 int32_t left; |
| 72 int32_t top; |
| 73 int32_t right; |
| 74 int32_t bottom; |
| 75 } sk_irect_t; |
| 76 |
| 77 typedef struct { |
71 float left; | 78 float left; |
72 float top; | 79 float top; |
73 float right; | 80 float right; |
74 float bottom; | 81 float bottom; |
75 } sk_rect_t; | 82 } sk_rect_t; |
76 | 83 |
77 typedef struct { | 84 typedef struct { |
78 float mat[9]; | 85 float mat[9]; |
79 } sk_matrix_t; | 86 } sk_matrix_t; |
80 | 87 |
(...skipping 11 matching lines...) Expand all Loading... |
92 ////////////////////////////////////////////////////////////////////////////////
////////// | 99 ////////////////////////////////////////////////////////////////////////////////
////////// |
93 | 100 |
94 #ifdef __cplusplus | 101 #ifdef __cplusplus |
95 class SkCanvas; | 102 class SkCanvas; |
96 void sk_test_capi(SkCanvas*); | 103 void sk_test_capi(SkCanvas*); |
97 #endif | 104 #endif |
98 | 105 |
99 SK_C_PLUS_PLUS_END_GUARD | 106 SK_C_PLUS_PLUS_END_GUARD |
100 | 107 |
101 #endif | 108 #endif |
OLD | NEW |