73603f3c52
SkRegion::Op --> SkCanvas::ClipOp (alias) --> SkClipOp pre-CL needed in chrome : https://codereview.chromium.org/2355583002/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2355483002 Review-Url: https://codereview.chromium.org/2355483002
27 lines
561 B
C
27 lines
561 B
C
/*
|
|
* 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 SkClipOp_DEFINED
|
|
#define SkClipOp_DEFINED
|
|
|
|
#include "SkTypes.h"
|
|
|
|
// these kept in SkRegion::Op order for now ...
|
|
enum SkClipOp {
|
|
kDifference_SkClipOp = 0,
|
|
kIntersect_SkClipOp = 1,
|
|
|
|
// Goal: remove these, since they can grow the current clip
|
|
|
|
kUnion_SkClipOp = 2,
|
|
kXOR_SkClipOp = 3,
|
|
kReverseDifference_SkClipOp = 4,
|
|
kReplace_SkClipOp = 5,
|
|
};
|
|
|
|
#endif
|