blob: f062d32e6938e0cf1121e6e0f440487e293302e8 [file] [log] [blame]
reede3719892014-12-22 17:46:00 -08001/*
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
16SK_C_PLUS_PLUS_BEGIN_GUARD
17
18sk_picture_recorder_t* sk_picture_recorder_new();
19void sk_picture_recorder_delete(sk_picture_recorder_t*);
20
21sk_canvas_t* sk_picture_recorder_begin_recording(sk_picture_recorder_t*, const sk_rect_t*);
22sk_picture_t* sk_picture_recorder_end_recording(sk_picture_recorder_t*);
23
24void sk_picture_ref(sk_picture_t*);
25void sk_picture_unref(sk_picture_t*);
26
27uint32_t sk_picture_get_unique_id(sk_picture_t*);
28sk_rect_t sk_picture_get_bounds(sk_picture_t*);
29
30SK_C_PLUS_PLUS_END_GUARD
31
32#endif