aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/json/SkJSONRenderer.h
blob: 2df2f506733d77f4ea2793c463b5051acffacc10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright 2016 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkJSONRenderer_DEFINED
#define SkJSONRenderer_DEFINED

#include "SkCanvas.h"

namespace SkJSONRenderer {
	/* 
	 * Takes a JSON document produced by SkJSONCanvas and issues its draw commands to the target
	 * canvas.
	 */
	void render(const char* json, SkCanvas* target);
}

#endif