cgms.cpp 344 B

1234567891011121314151617
  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. #include "gm/gm.h"
  8. #include "include/c/sk_types.h"
  9. class SkCanvas;
  10. extern "C" void sk_test_c_api(sk_canvas_t*);
  11. DEF_SIMPLE_GM(c_gms, canvas, 640, 480) {
  12. sk_test_c_api((sk_canvas_t*)canvas);
  13. }