You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
514 B
17 lines
514 B
// Copyright 2019 Google LLC.
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
#include "tools/skottie_ios_app/SkiaViewController.h"
|
|
|
|
#include "include/core/SkCanvas.h"
|
|
#include "include/core/SkColor.h"
|
|
|
|
@implementation SkiaViewController {}
|
|
- (bool)isPaused { return false; }
|
|
- (void)togglePaused {}
|
|
- (void)draw:(CGRect)rect toCanvas:(SkCanvas*)canvas atSize:(CGSize)size {
|
|
// Fill with pink.
|
|
canvas->clear(SkColorSetARGB(255, 255, 192, 203));
|
|
}
|
|
@end
|