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