Home | History | Annotate | Download | only in core

Lines Matching defs:Mode

71     enum Mode {
112 * Gets the name of the Mode as a string.
114 static const char* ModeName(Mode);
117 * If the xfermode is one of the modes in the Mode enum, then asMode()
118 * returns true and sets (if not null) mode accordingly. Otherwise it
119 * returns false and ignores the mode parameter.
121 virtual bool asMode(Mode* mode) const;
124 * The same as calling xfermode->asMode(mode), except that this also checks
127 static bool AsMode(const SkXfermode*, Mode* mode);
130 * Returns true if the xfermode claims to be the specified Mode. This works
139 static bool IsMode(const SkXfermode* xfer, 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(const SkXfermode* xfer, Mode* mode) {
167 return AsMode(xfer, mode);
171 * Returns whether or not the xfer mode can support treating coverage as alpha
193 * Returns whether or not the result of the draw with the xfer mode will be opaque or not. The
195 * that will be given to the xfer mode.
206 an image filter the xfer mode blends the source color against a background texture rather