reed | afa278e | 2014-11-24 19:11:48 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 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 | |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 8 | #include "gm/gm.h" |
| 9 | #include "include/c/sk_types.h" |
reed | afa278e | 2014-11-24 19:11:48 -0800 | [diff] [blame] | 10 | |
Ben Wagner | 7fde8e1 | 2019-05-01 17:28:53 -0400 | [diff] [blame] | 11 | class SkCanvas; |
| 12 | |
reed | afa278e | 2014-11-24 19:11:48 -0800 | [diff] [blame] | 13 | extern "C" void sk_test_c_api(sk_canvas_t*); |
| 14 | |
halcanary | 80a1c54 | 2015-07-31 15:16:23 -0700 | [diff] [blame] | 15 | DEF_SIMPLE_GM(c_gms, canvas, 640, 480) { |
| 16 | sk_test_c_api((sk_canvas_t*)canvas); |
| 17 | } |