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

Side by Side Diff: include/core/SkClipOp.h

Issue 2355483002: abstract name of clipping ops, to transtion to a more restricted set (Closed)
Patch Set: no need for ifdef for globals Created 4 years, 3 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 | « include/core/SkCanvas.h ('k') | include/core/SkClipStack.h » ('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 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 SkClipOp_DEFINED
9 #define SkClipOp_DEFINED
10
11 #include "SkTypes.h"
12
13 // these kept in SkRegion::Op order for now ...
14 enum SkClipOp {
15 kDifference_SkClipOp = 0,
16 kIntersect_SkClipOp = 1,
17
18 // Goal: remove these, since they can grow the current clip
19
20 kUnion_SkClipOp = 2,
21 kXOR_SkClipOp = 3,
22 kReverseDifference_SkClipOp = 4,
23 kReplace_SkClipOp = 5,
24 };
25
26 #endif
OLDNEW
« no previous file with comments | « include/core/SkCanvas.h ('k') | include/core/SkClipStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698