Lines Matching refs:opacity
165 void SkLayer::onDraw(SkCanvas*, SkScalar opacity) {
171 void SkLayer::draw(SkCanvas* canvas, SkScalar opacity) {
176 SkDebugf("--- drawlayer %p opacity %g size [%g %g] pos [%g %g] matrix %s children %s\n",
177 this, opacity * this->getOpacity(), m_size.width(), m_size.height(),
181 opacity = SkScalarMul(opacity, this->getOpacity());
182 if (opacity <= 0) {
183 // SkDebugf("---- abort drawing %p opacity %g\n", this, opacity);
200 this->onDraw(canvas, opacity);
220 this->getChild(i)->draw(canvas, opacity);