Lines Matching refs:alpha

152             int alpha, int flags);
186 float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode);
220 * Sets the alpha on the current snapshot. This alpha value will be modulated
221 * with other alpha values when drawing primitives.
223 void setAlpha(float alpha) {
224 mSnapshot->alpha = alpha;
240 * Gets the alpha and xfermode out of a paint object. If the paint is null
241 * alpha will be 255 and the xfermode will be SRC_OVER. This method does
242 * not multiply the paint's alpha by the current snapshot's alpha.
245 * @param alpha Where to store the resulting alpha
248 static inline void getAlphaAndModeDirect(SkPaint* paint, int* alpha, SkXfermode::Mode* mode) {
252 // Skia draws using the color's alpha channel if < 255
253 // Otherwise, it uses the paint's alpha
255 *alpha = (color >> 24) & 0xFF;
256 if (*alpha == 255) {
257 *alpha = paint->getAlpha();
261 *alpha = 255;
335 * Gets the alpha and xfermode out of a paint object. If the paint is null
336 * alpha will be 255 and the xfermode will be SRC_OVER.
339 * @param alpha Where to store the resulting alpha
342 inline void getAlphaAndMode(SkPaint* paint, int* alpha, SkXfermode::Mode* mode);
431 * @param alpha The translucency of the layer
439 int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo);
516 * Draws the specified texture as an alpha bitmap. Alpha bitmaps obey
543 * @param alpha An additional translucency parameter, between 0.0f and 1.0f
545 * @param blend True if the texture contains an alpha channel
548 float alpha, SkXfermode::Mode mode, bool blend);
559 * @param paint The paint containing the alpha, blending mode, etc.
574 * @param alpha An additional translucency parameter, between 0.0f and 1.0f
576 * @param blend True if the texture contains an alpha channel
587 float alpha, SkXfermode::Mode mode, bool blend,
614 * @param alpha The alpha value for drawing the shadow
620 const float* positions, FontRenderer& fontRenderer, int alpha, SkXfermode::Mode mode,
697 void setupDrawColor(int color, int alpha);
699 void setupDrawAlpha8Color(int color, int alpha);