Lines Matching refs:Mode
93 enum Mode {
134 * Gets the name of the Mode as a string.
136 static const char* ModeName(Mode);
139 * If the xfermode is one of the modes in the Mode enum, then asMode()
143 virtual bool asMode(Mode* mode) const;
149 static bool AsMode(const SkXfermode*, Mode* mode);
152 * Returns true if the xfermode claims to be the specified Mode. This works
161 static bool IsMode(const SkXfermode* xfer, Mode mode);
165 static SkXfermode* Create(Mode mode);
170 static SkXfermodeProc GetProc(Mode mode);
177 static SkXfermodeProc16 GetProc16(Mode mode, SkColor srcColor);
185 static bool ModeAsCoeff(Mode mode, Coeff* src, Coeff* dst);
188 static bool IsMode(const SkXfermode* xfer, Mode* mode) {