Flutter Engine
The Flutter Engine
third_party
skia
tools
skottie_ios_app
SkiaViewController.mm
Go to the documentation of this file.
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
SkCanvas.h
SkColor.h
SkColorSetARGB
static constexpr SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
Definition:
SkColor.h:49
SkiaViewController.h
draw
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
Definition:
aaclip.cpp:27
SkCanvas
Definition:
SkCanvas.h:106
SkCanvas::clear
void clear(SkColor color)
Definition:
SkCanvas.h:1199
SkiaViewController
Definition:
SkiaViewController.h:13
Generated on Sun Jun 23 2024 21:56:51 for Flutter Engine by
1.9.4