978d08a4a9
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1636563002 Committed: https://skia.googlesource.com/skia/+/3cb582f688822461efa5a034e18008bf2f11e4f8 Review URL: https://codereview.chromium.org/1636563002
23 lines
435 B
C++
23 lines
435 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
|