Lines Matching defs:Mode
69 MODE SRC_COEFF DST_COEFF
92 enum Mode {
129 * If the xfermode is one of the modes in the Mode enum, then asMode()
130 * returns true and sets (if not null) mode accordingly. Otherwise it
131 * returns false and ignores the mode parameter.
133 virtual bool asMode(Mode* mode);
136 * The same as calling xfermode->asMode(mode), except that this also checks
139 static bool AsMode(SkXfermode*, Mode* mode);
141 /** Return an SkXfermode object for the specified mode.
143 static SkXfermode* Create(Mode mode);
146 porter-duff transfer mode.
148 static SkXfermodeProc GetProc(Mode mode);
151 porter-duff transfer mode and srcColor to a 16bit device color. Note,
152 if the mode+srcColor might return a non-opaque color, then there is not
155 static SkXfermodeProc16 GetProc16(Mode mode, SkColor srcColor);
158 * If the specified mode can be represented by a pair of Coeff, then return
159 * true and set (if not NULL) the corresponding coeffs. If the mode is
163 static bool ModeAsCoeff(Mode mode, Coeff* src, Coeff* dst);
166 static bool IsMode(SkXfermode* xfer, Mode* mode) {
167 return AsMode(xfer, mode);