| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 AutoReplayer replayer(this); | 250 AutoReplayer replayer(this); |
| 251 this->SkCanvas::onClipRegion(region, op); | 251 this->SkCanvas::onClipRegion(region, op); |
| 252 } | 252 } |
| 253 | 253 |
| 254 void ReplayingCanvas::onDrawPicture(const SkPicture* picture) | 254 void ReplayingCanvas::onDrawPicture(const SkPicture* picture) |
| 255 { | 255 { |
| 256 AutoReplayer replayer(this); | 256 AutoReplayer replayer(this); |
| 257 this->SkCanvas::onDrawPicture(picture); | 257 this->SkCanvas::onDrawPicture(picture); |
| 258 } | 258 } |
| 259 | 259 |
| 260 void ReplayingCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* ma
trix, const SkPaint* paint) |
| 261 { |
| 262 AutoReplayer replayer(this); |
| 263 this->SkCanvas::onDrawPicture(picture, matrix, paint); |
| 264 } |
| 265 |
| 260 void ReplayingCanvas::didSetMatrix(const SkMatrix& matrix) | 266 void ReplayingCanvas::didSetMatrix(const SkMatrix& matrix) |
| 261 { | 267 { |
| 262 AutoReplayer replayer(this); | 268 AutoReplayer replayer(this); |
| 263 this->SkCanvas::didSetMatrix(matrix); | 269 this->SkCanvas::didSetMatrix(matrix); |
| 264 } | 270 } |
| 265 | 271 |
| 266 void ReplayingCanvas::didConcat(const SkMatrix& matrix) | 272 void ReplayingCanvas::didConcat(const SkMatrix& matrix) |
| 267 { | 273 { |
| 268 AutoReplayer replayer(this); | 274 AutoReplayer replayer(this); |
| 269 this->SkCanvas::didConcat(matrix); | 275 this->SkCanvas::didConcat(matrix); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 281 return this->SkCanvas::willSaveLayer(bounds, paint, flags); | 287 return this->SkCanvas::willSaveLayer(bounds, paint, flags); |
| 282 } | 288 } |
| 283 | 289 |
| 284 void ReplayingCanvas::willRestore() | 290 void ReplayingCanvas::willRestore() |
| 285 { | 291 { |
| 286 AutoReplayer replayer(this); | 292 AutoReplayer replayer(this); |
| 287 this->SkCanvas::willRestore(); | 293 this->SkCanvas::willRestore(); |
| 288 } | 294 } |
| 289 | 295 |
| 290 } | 296 } |
| OLD | NEW |