diff options
author | reed <reed@google.com> | 2015-07-07 10:22:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-07 10:22:31 -0700 |
commit | a8db72864a43ad1fbba3c2892cf5cd88060a43ef (patch) | |
tree | 21845a4d0d502dba3ee439320099c94406bdf53f /src/core/SkRecords.h | |
parent | 31dc1b2db0f04e68e540ebc339c8bde0978e5b97 (diff) |
add matrix options to drawDrawable
BUG=skia:
Review URL: https://codereview.chromium.org/1224783002
Diffstat (limited to 'src/core/SkRecords.h')
-rw-r--r-- | src/core/SkRecords.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/SkRecords.h b/src/core/SkRecords.h index b98b93c827..074a560c04 100644 --- a/src/core/SkRecords.h +++ b/src/core/SkRecords.h @@ -10,6 +10,7 @@ #include "SkCanvas.h" #include "SkDrawable.h" +#include "SkMatrix.h" #include "SkPathPriv.h" #include "SkPicture.h" #include "SkRSXform.h" @@ -289,7 +290,7 @@ RECORD5(DrawBitmapRectToRectFixedSize, SkPaint, paint, SkRect, dst, SkCanvas::DrawBitmapRectFlags, flags); RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner); -RECORD2(DrawDrawable, SkRect, worstCaseBounds, int32_t, index); +RECORD3(DrawDrawable, Optional<SkMatrix>, matrix, SkRect, worstCaseBounds, int32_t, index); RECORD4(DrawImage, Optional<SkPaint>, paint, RefBox<const SkImage>, image, SkScalar, left, |