blob: 233a79b21141c1ed745d4325e3b5e80257d699e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkCodecAnimationPriv_DEFINED
#define SkCodecAnimationPriv_DEFINED
namespace SkCodecAnimation {
/**
* How to blend the current frame.
*/
enum class Blend {
/**
* Blend with the prior frame. This is the typical case, supported
* by all animated image types.
*/
kPriorFrame,
/**
* Do not blend.
*
* This frames pixels overwrite previous pixels "blending" with
* the background color of transparent.
*/
kBG,
};
}
#endif // SkCodecAnimationPriv_DEFINED
|