Returns true unless we only need the shape of the drawing. */
| 124 | |
| 125 | /* Returns true unless we only need the shape of the drawing. */ |
| 126 | bool needSource() { |
| 127 | return blendMode != BlendMode::Clear; |
| 128 | } |
| 129 | |
| 130 | /* If the shape is different than the alpha component of the content, then |
| 131 | * setShape should be called with the shape. In particular, images and |