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