()
| 163 | } |
| 164 | |
| 165 | public void beforeDraw() { |
| 166 | if (canvasMatrix != matrix || canvasClip != clip) { |
| 167 | canvas.restore(); |
| 168 | canvas.save(); |
| 169 | canvas.concat(matrix); |
| 170 | if (clip != null) |
| 171 | canvas.clipRect(Rect.makeXYWH(clip.x, clip.y, clip.width, clip.height)); |
| 172 | canvasMatrix = matrix; |
| 173 | canvasClip = clip; |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | public void log(String format, Object... args) { |
| 178 | // System.out.println(indent + String.format(format, args)); |
no test coverage detected