2bbc343c14
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1639333002 Review URL: https://codereview.chromium.org/1639333002
22 lines
434 B
C++
22 lines
434 B
C++
/*
|
|
* 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
|