skia2/include/core/SkClipOp.h
Mike Reed 2dc523722e remove PLAIN_ENUM flag for SkClipOp
BUG=skia:

Change-Id: I4fc6f270582bb02218144098427bc356b715c893
Reviewed-on: https://skia-review.googlesource.com/6083
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2016-12-14 19:48:56 +00:00

67 lines
1.2 KiB
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"
// SkClipOp enum values always match the corresponding values in SkRegion::Op
enum class SkClipOp {
kDifference = 0,
kIntersect = 1,
// Goal: remove these, since they can grow the current clip
#ifdef SK_SUPPORT_EXOTIC_CLIPOPS
kUnion = 2,
kXOR = 3,
kReverseDifference = 4,
kReplace = 5,
#endif
////////////////////////////////////////////////////////////////////////////////
// End of enum
////////////////////////////////////////////////////////////////////////////////
// Nothing to see here
////////////////////////////////////////////////////////////////////////////////
// Turn back!
// Private Internal enums -- do not use -- destined to be removed at any moment!
kUnion_private_internal_do_not_use = 2,
kXOR_private_internal_do_not_use = 3,
kReverseDifference_private_internal_do_not_use = 4,
kReplace_private_internal_do_not_use = 5,
};
#endif