OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 #ifndef SkJSONRenderer_DEFINED | 8 #ifndef SkJSONRenderer_DEFINED |
9 #define SkJSONRenderer_DEFINED | 9 #define SkJSONRenderer_DEFINED |
10 | 10 |
11 | |
12 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
13 | 12 |
14 namespace SkJSONRenderer { | 13 namespace SkJSONRenderer { |
15 /* | 14 /* |
16 * Takes a JSON document produced by SkJSONCanvas and issues its draw co
mmands to the target | 15 * Takes a JSON document produced by SkJSONCanvas and issues its draw co
mmands to the target |
17 * canvas. | 16 * canvas. |
18 */ | 17 */ |
19 void render(const char* json, SkCanvas* target); | 18 void render(const char* json, SkCanvas* target); |
20 } | 19 } |
21 | 20 |
22 #endif | 21 #endif |
OLD | NEW |