Flutter Engine
The Flutter Engine
third_party
skia
tools
skottie_ios_app
SkiaViewController.h
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
#ifndef SkiaViewController_DEFINED
4
#define SkiaViewController_DEFINED
5
6
class
SkCanvas
;
7
8
#import <CoreGraphics/CoreGraphics.h>
9
#import <Foundation/Foundation.h>
10
11
// An interface that draws to a Skia canvas.
12
@interface
SkiaViewController
: NSObject
13
- (void)
draw
:(CGRect)rect toCanvas:(
SkCanvas
*)canvas atSize:(CGSize)size;
14
15
// Return the current paused state. Implementations should override.
16
- (bool)
isPaused
;
17
18
// Change the paused state. Implementations should override.
19
- (void)
togglePaused
;
20
@end
21
#endif
// SkiaViewController_DEFINED
draw
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
Definition:
aaclip.cpp:27
SkCanvas
Definition:
SkCanvas.h:106
SkiaViewController
Definition:
SkiaViewController.h:13
-[SkiaViewController togglePaused]
void togglePaused()
-[SkiaViewController isPaused]
bool isPaused()
Generated on Sun Jun 23 2024 21:56:51 for Flutter Engine by
1.9.4