Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
third_party
skia
include
codec
SkCodecAnimation.h
Go to the documentation of this file.
1
/*
2
* Copyright 2016 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SkCodecAnimation_DEFINED
9
#define SkCodecAnimation_DEFINED
10
11
namespace
SkCodecAnimation
{
12
/**
13
* This specifies how the next frame is based on this frame.
14
*
15
* Names are based on the GIF 89a spec.
16
*
17
* The numbers correspond to values in a GIF.
18
*/
19
enum class
DisposalMethod
{
20
/**
21
* The next frame should be drawn on top of this one.
22
*
23
* In a GIF, a value of 0 (not specified) is also treated as Keep.
24
*/
25
kKeep = 1,
26
27
/**
28
* Similar to Keep, except the area inside this frame's rectangle
29
* should be cleared to the BackGround color (transparent) before
30
* drawing the next frame.
31
*/
32
kRestoreBGColor
= 2,
33
34
/**
35
* The next frame should be drawn on top of the previous frame - i.e.
36
* disregarding this one.
37
*
38
* In a GIF, a value of 4 is also treated as RestorePrevious.
39
*/
40
kRestorePrevious
= 3,
41
};
42
43
/**
44
* How to blend the current frame.
45
*/
46
enum class
Blend
{
47
/**
48
* Blend with the prior frame as if using SkBlendMode::kSrcOver.
49
*/
50
kSrcOver,
51
52
/**
53
* Blend with the prior frame as if using SkBlendMode::kSrc.
54
*
55
* This frame's pixels replace the destination pixels.
56
*/
57
kSrc,
58
};
59
60
}
// namespace SkCodecAnimation
61
#endif
// SkCodecAnimation_DEFINED
SkCodecAnimation
Definition:
SkCodec.h:42
SkCodecAnimation::DisposalMethod
DisposalMethod
Definition:
SkCodecAnimation.h:19
SkCodecAnimation::DisposalMethod::kRestoreBGColor
@ kRestoreBGColor
SkCodecAnimation::DisposalMethod::kRestorePrevious
@ kRestorePrevious
SkCodecAnimation::Blend
Blend
Definition:
SkCodecAnimation.h:46
Generated on Sun Jun 23 2024 21:56:02 for Flutter Engine by
1.9.4