Lines Matching refs:SkBlendMode
36 SkBlendMode BlendMode(jint bm) { in BlendMode()
38 static_assert(0 == static_cast<int>(SkBlendMode::kClear)); in BlendMode()
39 static_assert(1 == static_cast<int>(SkBlendMode::kSrc)); in BlendMode()
40 static_assert(2 == static_cast<int>(SkBlendMode::kDst)); in BlendMode()
41 static_assert(3 == static_cast<int>(SkBlendMode::kSrcOver)); in BlendMode()
42 static_assert(4 == static_cast<int>(SkBlendMode::kDstOver)); in BlendMode()
43 static_assert(5 == static_cast<int>(SkBlendMode::kSrcIn)); in BlendMode()
44 static_assert(6 == static_cast<int>(SkBlendMode::kDstIn)); in BlendMode()
45 static_assert(7 == static_cast<int>(SkBlendMode::kSrcOut)); in BlendMode()
46 static_assert(8 == static_cast<int>(SkBlendMode::kDstOut)); in BlendMode()
47 static_assert(9 == static_cast<int>(SkBlendMode::kSrcATop)); in BlendMode()
48 static_assert(10 == static_cast<int>(SkBlendMode::kDstATop)); in BlendMode()
49 static_assert(11 == static_cast<int>(SkBlendMode::kXor)); in BlendMode()
50 static_assert(12 == static_cast<int>(SkBlendMode::kPlus)); in BlendMode()
51 static_assert(13 == static_cast<int>(SkBlendMode::kModulate)); in BlendMode()
52 static_assert(14 == static_cast<int>(SkBlendMode::kScreen)); in BlendMode()
54 static_assert(15 == static_cast<int>(SkBlendMode::kOverlay)); in BlendMode()
55 static_assert(16 == static_cast<int>(SkBlendMode::kDarken)); in BlendMode()
56 static_assert(17 == static_cast<int>(SkBlendMode::kLighten)); in BlendMode()
57 static_assert(18 == static_cast<int>(SkBlendMode::kColorDodge)); in BlendMode()
58 static_assert(19 == static_cast<int>(SkBlendMode::kColorBurn)); in BlendMode()
59 static_assert(20 == static_cast<int>(SkBlendMode::kHardLight)); in BlendMode()
60 static_assert(21 == static_cast<int>(SkBlendMode::kSoftLight)); in BlendMode()
61 static_assert(22 == static_cast<int>(SkBlendMode::kDifference)); in BlendMode()
62 static_assert(23 == static_cast<int>(SkBlendMode::kExclusion)); in BlendMode()
63 static_assert(24 == static_cast<int>(SkBlendMode::kMultiply)); in BlendMode()
65 static_assert(25 == static_cast<int>(SkBlendMode::kHue)); in BlendMode()
66 static_assert(26 == static_cast<int>(SkBlendMode::kSaturation)); in BlendMode()
67 static_assert(27 == static_cast<int>(SkBlendMode::kColor)); in BlendMode()
68 static_assert(28 == static_cast<int>(SkBlendMode::kLuminosity)); in BlendMode()
71 return static_cast<SkBlendMode>(bm); in BlendMode()