2 * Copyright 2014 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
11 extern "C" void sk_test_c_api(sk_canvas_t*);
13 class C_GM : public skiagm::GM {
18 SkString onShortName() SK_OVERRIDE {
19 return SkString("c_gms");
22 SkISize onISize() SK_OVERRIDE {
23 return SkISize::Make(640, 480);
26 void onDraw(SkCanvas* canvas) SK_OVERRIDE {
27 sk_test_c_api((sk_canvas_t*)canvas);
34 DEF_GM( return new C_GM; )