Lines Matching defs:paint
15 bool isPaintOpaque(const SkPaint* paint,
20 if (!paint) {
25 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){
34 if (paint->getAlpha() != 255) {
41 } else if (paint->getShader() && !paint->getShader()->isOpaque()) {
44 if (paint->getColorFilter() &&
45 ((paint->getColorFilter()->getFlags() &
51 if (paint->getAlpha() != 0) {
54 if (paint->getColorFilter() &&
55 ((paint->getColorFilter()->getFlags() &
61 if (paint->getColor() != 0) { // all components must be 0
64 if (bmpReplacesShader || paint->getShader()) {
67 if (paint->getColorFilter() && (
68 (paint->getColorFilter()->getFlags() &
80 bool NeedsDeepCopy(const SkPaint& paint) {
83 * true if instances of them are present in the paint.
88 return paint.getImageFilter();