• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2014 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 // EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL
9 // DO NOT USE -- FOR INTERNAL TESTING ONLY
10 
11 #ifndef sk_picture_DEFINED
12 #define sk_picture_DEFINED
13 
14 #include "sk_types.h"
15 
16 SK_C_PLUS_PLUS_BEGIN_GUARD
17 
18 sk_picture_recorder_t* sk_picture_recorder_new();
19 void sk_picture_recorder_delete(sk_picture_recorder_t*);
20 
21 sk_canvas_t* sk_picture_recorder_begin_recording(sk_picture_recorder_t*, const sk_rect_t*);
22 sk_picture_t* sk_picture_recorder_end_recording(sk_picture_recorder_t*);
23 
24 void sk_picture_ref(sk_picture_t*);
25 void sk_picture_unref(sk_picture_t*);
26 
27 uint32_t sk_picture_get_unique_id(sk_picture_t*);
28 sk_rect_t sk_picture_get_bounds(sk_picture_t*);
29 
30 SK_C_PLUS_PLUS_END_GUARD
31 
32 #endif
33