1// Copyright 2019 Google LLC. 2// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. 3 4#include "tools/skottie_ios_app/SkiaViewController.h" 5 6#include "include/core/SkCanvas.h" 7#include "include/core/SkColor.h" 8 9@implementation SkiaViewController {} 10- (bool)isPaused { return false; } 11- (void)togglePaused {} 12- (void)draw:(CGRect)rect toCanvas:(SkCanvas*)canvas atSize:(CGSize)size { 13 // Fill with pink. 14 canvas->clear(SkColorSetARGB(255, 255, 192, 203)); 15} 16@end 17