OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2015 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 SkXfermodeInterpretation_DEFINED | |
9 #define SkXfermodeInterpretation_DEFINED | |
10 | |
11 class SkPaint; | |
12 | |
13 /** By analyzing the paint, we may decide we can take special | |
14 action. This enum lists our possible actions. */ | |
reed1
2015/05/27 15:45:58
Nit: We use a diff style for comments
e.g.
/**
| |
15 enum SkXfermodeInterpretation { | |
16 kNormal_SkXfermodeInterpretation, // draw normally | |
17 kSrcOver_SkXfermodeInterpretation, // draw as if in srcover mode | |
18 kSkipDrawing_SkXfermodeInterpretation // draw nothing | |
19 }; | |
20 SkXfermodeInterpretation SkInterpretXfermode(const SkPaint&, bool dstIsOpaque); | |
21 | |
22 #endif // SkXfermodeInterpretation_DEFINED | |
OLD | NEW |