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 // SkClipOp enum values always match the corresponding values in SkRegion::Op 14 15 enum class SkClipOp { 16 kDifference = 0, 17 kIntersect = 1, 18 19 // Goal: remove these, since they can grow the current clip 20 21 kUnion_deprecated = 2, 22 kXOR_deprecated = 3, 23 kReverseDifference_deprecated = 4, 24 kReplace_deprecated = 5, 25 26 kMax_EnumValue = kReplace_deprecated, 27 }; 28 29 #endif 30