Lines Matching refs:SkXfermode

27 static SkXfermode* make_custom(int customMode) {  in make_custom()
70 SkXfermode::Mode fMode;
79 { SkXfermode::kClear_Mode, "Clear", kAll_SrcType },
80 { SkXfermode::kSrc_Mode, "Src", kAll_SrcType },
81 { SkXfermode::kDst_Mode, "Dst", kAll_SrcType },
82 { SkXfermode::kSrcOver_Mode, "SrcOver", kAll_SrcType },
83 { SkXfermode::kDstOver_Mode, "DstOver", kAll_SrcType },
84 { SkXfermode::kSrcIn_Mode, "SrcIn", kAll_SrcType },
85 { SkXfermode::kDstIn_Mode, "DstIn", kAll_SrcType },
86 { SkXfermode::kSrcOut_Mode, "SrcOut", kAll_SrcType },
87 { SkXfermode::kDstOut_Mode, "DstOut", kAll_SrcType },
88 { SkXfermode::kSrcATop_Mode, "SrcATop", kAll_SrcType },
89 { SkXfermode::kDstATop_Mode, "DstATop", kAll_SrcType },
91 { SkXfermode::kXor_Mode, "Xor", kBasic_SrcType },
92 { SkXfermode::kPlus_Mode, "Plus", kBasic_SrcType },
93 { SkXfermode::kModulate_Mode, "Modulate", kAll_SrcType },
94 { SkXfermode::kScreen_Mode, "Screen", kBasic_SrcType },
95 { SkXfermode::kOverlay_Mode, "Overlay", kBasic_SrcType },
96 { SkXfermode::kDarken_Mode, "Darken", kBasic_SrcType },
97 { SkXfermode::kLighten_Mode, "Lighten", kBasic_SrcType },
98 { SkXfermode::kColorDodge_Mode, "ColorDodge", kBasic_SrcType },
99 { SkXfermode::kColorBurn_Mode, "ColorBurn", kBasic_SrcType },
100 { SkXfermode::kHardLight_Mode, "HardLight", kBasic_SrcType },
101 { SkXfermode::kSoftLight_Mode, "SoftLight", kBasic_SrcType },
102 { SkXfermode::kDifference_Mode, "Difference", kBasic_SrcType },
103 { SkXfermode::kExclusion_Mode, "Exclusion", kBasic_SrcType },
104 { SkXfermode::kMultiply_Mode, "Multiply", kAll_SrcType },
105 { SkXfermode::kHue_Mode, "Hue", kBasic_SrcType },
106 { SkXfermode::kSaturation_Mode, "Saturation", kBasic_SrcType },
107 { SkXfermode::kColor_Mode, "Color", kBasic_SrcType },
108 { SkXfermode::kLuminosity_Mode, "Luminosity", kBasic_SrcType },
110 { SkXfermode::Mode(0xFFFF), "Arithmetic", kBasic_SrcType + kArithmetic_CustomMode },
111 { SkXfermode::Mode(0xFFFF), "PixelXor", kBasic_SrcType + kPixelXor_CustomMode },
112 { SkXfermode::Mode(0xFFFF), "Avoid", kBasic_SrcType + kAvoid_CustomMode },
158 void draw_mode(SkCanvas* canvas, SkXfermode* mode, SrcType srcType, in draw_mode()
181 p.setXfermodeMode(SkXfermode::kSrcOver_Mode); in draw_mode()
284 SkAutoTUnref<SkXfermode> mode; in onDraw()
288 mode.reset(SkXfermode::Create(gModes[i].fMode)); in onDraw()