diff options
Diffstat (limited to 'src/utils/debugger/SkDebugCanvas.cpp')
-rw-r--r-- | src/utils/debugger/SkDebugCanvas.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp index 0e07084e43..dae5f331e7 100644 --- a/src/utils/debugger/SkDebugCanvas.cpp +++ b/src/utils/debugger/SkDebugCanvas.cpp @@ -276,17 +276,19 @@ bool SkDebugCanvas::concat(const SkMatrix& matrix) { } void SkDebugCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar left, - SkScalar top, const SkPaint* paint = NULL) { + SkScalar top, const SkPaint* paint = NULL) { addDrawCommand(new SkDrawBitmapCommand(bitmap, left, top, paint)); } void SkDebugCanvas::drawBitmapRectToRect(const SkBitmap& bitmap, - const SkRect* src, const SkRect& dst, const SkPaint* paint) { - addDrawCommand(new SkDrawBitmapRectCommand(bitmap, src, dst, paint)); + const SkRect* src, const SkRect& dst, + const SkPaint* paint, + SkCanvas::DrawBitmapRectFlags flags) { + addDrawCommand(new SkDrawBitmapRectCommand(bitmap, src, dst, paint, flags)); } void SkDebugCanvas::drawBitmapMatrix(const SkBitmap& bitmap, - const SkMatrix& matrix, const SkPaint* paint) { + const SkMatrix& matrix, const SkPaint* paint) { addDrawCommand(new SkDrawBitmapMatrixCommand(bitmap, matrix, paint)); } |