Home | History | Annotate | Download | only in core

Lines Matching refs:mode

67         MODE        SRC_COEFF       DST_COEFF
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()
140 * returns true and sets (if not null) mode accordingly. Otherwise it
141 * returns false and ignores the mode parameter.
143 virtual bool asMode(Mode* mode) const;
146 * The same as calling xfermode->asMode(mode), except that this also checks
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);
163 /** Return an SkXfermode object for the specified mode.
165 static SkXfermode* Create(Mode mode);
168 porter-duff transfer mode.
170 static SkXfermodeProc GetProc(Mode mode);
173 porter-duff transfer mode and srcColor to a 16bit device color. Note,
174 if the mode+srcColor might return a non-opaque color, then there is not
177 static SkXfermodeProc16 GetProc16(Mode mode, SkColor srcColor);
180 * If the specified mode can be represented by a pair of Coeff, then return
181 * true and set (if not NULL) the corresponding coeffs. If the mode is
185 static bool ModeAsCoeff(Mode mode, Coeff* src, Coeff* dst);
188 static bool IsMode(const SkXfermode* xfer, Mode* mode) {
189 return AsMode(xfer, mode);