Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: src/core/SkXfermodeInterpretation.h

Issue 1159763004: SkPDF: with opaque draws, treat SRC mode as SRC_OVER (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: unify with blitter code Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/core/SkBlitter.cpp ('k') | src/core/SkXfermodeInterpretation.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « src/core/SkBlitter.cpp ('k') | src/core/SkXfermodeInterpretation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698