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 13 matching lines...) Expand all Loading... |
24 * Return the canvas associated with this surface. Note: the canvas is owned by
the surface, | 24 * Return the canvas associated with this surface. Note: the canvas is owned by
the surface, |
25 * so the returned object is only valid while the owning surface is valid. | 25 * so the returned object is only valid while the owning surface is valid. |
26 */ | 26 */ |
27 sk_canvas_t* sk_surface_get_canvas(sk_surface_t*); | 27 sk_canvas_t* sk_surface_get_canvas(sk_surface_t*); |
28 | 28 |
29 /** | 29 /** |
30 * Call sk_image_unref() when the returned image is no longer used. | 30 * Call sk_image_unref() when the returned image is no longer used. |
31 */ | 31 */ |
32 sk_image_t* sk_surface_new_image_snapshot(sk_surface_t*); | 32 sk_image_t* sk_surface_new_image_snapshot(sk_surface_t*); |
33 | 33 |
34 #ifdef __cplusplus | |
35 class SkCanvas; | |
36 void sk_test_capi(SkCanvas*); | |
37 #endif | |
38 | |
39 SK_C_PLUS_PLUS_END_GUARD | 34 SK_C_PLUS_PLUS_END_GUARD |
40 | 35 |
41 #endif | 36 #endif |
OLD | NEW |