Lines Matching full:alpha
232 int alpha, int flags) {
233 return saveLayer(left, top, right, bottom, alpha, SkXfermode::kSrcOver_Mode, flags);
236 int alpha, SkXfermode::Mode mode, int flags);
239 int alpha, SkXfermode::Mode mode, int flags);
334 // If this value is set to < 1.0, it overrides alpha set on layer (see drawBitmap, drawLayer)
335 void setOverrideLayerAlpha(float alpha) { mDrawModifiers.mOverrideLayerAlpha = alpha; }
369 * Scales the alpha on the current snapshot. This alpha value will be modulated
370 * with other alpha values when drawing primitives.
372 void scaleAlpha(float alpha) {
373 mSnapshot->alpha *= alpha;
394 * Gets the alpha and xfermode out of a paint object. If the paint is null
395 * alpha will be 255 and the xfermode will be SRC_OVER. This method does
396 * not multiply the paint's alpha by the current snapshot's alpha, and does
397 * not replace the alpha with the overrideLayerAlpha
400 * @param alpha Where to store the resulting alpha
403 static inline void getAlphaAndModeDirect(SkPaint* paint, int* alpha, SkXfermode::Mode* mode) {
405 *alpha = getAlphaDirect(paint);
533 * Gets the alpha and xfermode out of a paint object. If the paint is null
534 * alpha will be 255 and the xfermode will be SRC_OVER. Accounts for both
535 * snapshot alpha, and overrideLayerAlpha
538 * @param alpha Where to store the resulting alpha
541 inline void getAlphaAndMode(SkPaint* paint, int* alpha, SkXfermode::Mode* mode) const;
544 * Gets the alpha from a layer, accounting for snapshot alpha and overrideLayerAlpha
546 * @param layer The layer from which the alpha is extracted
644 bool fboLayer, int alpha);
654 * @param alpha The translucency of the layer
662 int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo);
757 * Draws the specified texture as an alpha bitmap. Alpha bitmaps obey
794 * @param alpha An additional translucency parameter, between 0.0f and 1.0f
796 * @param blend True if the texture contains an alpha channel
799 float alpha, SkXfermode::Mode mode, bool blend);
810 * @param paint The paint containing the alpha, blending mode, etc.
825 * @param alpha An additional translucency parameter, between 0.0f and 1.0f
827 * @param blend True if the texture contains an alpha channel
838 float alpha, SkXfermode::Mode mode, bool blend,
844 float alpha, SkXfermode::Mode mode, bool blend,
850 GLuint texture, bool hasColor, int color, int alpha, SkXfermode::Mode mode,
883 * @param alpha The alpha value for drawing the shadow
889 const float* positions, FontRenderer& fontRenderer, int alpha, SkXfermode::Mode mode,
969 void setupDrawColor(int color, int alpha);
971 void setupDrawAlpha8Color(int color, int alpha);