diff options
author | 2014-08-09 11:08:05 -0700 | |
---|---|---|
committer | 2014-08-09 11:08:05 -0700 | |
commit | d5fa1a455aad61f3e99081fe7a9b065cb3b115c6 (patch) | |
tree | 95a968d12fce2d8265c2562d22870253bfd3db37 /src/core/SkRecordDraw.cpp | |
parent | a3efd90546e0de620a8b17e7bf9bd4ea53764529 (diff) |
add drawPicture variant that takes a matrix and paint
will need some staging strategy, since chrome and blink have overrides of onDrawPicture
R=robertphillips@google.com, fmalita@google.com, bsalomon@google.com, mtklein@google.com
Author: reed@google.com
Review URL: https://codereview.chromium.org/448793004
Diffstat (limited to 'src/core/SkRecordDraw.cpp')
-rw-r--r-- | src/core/SkRecordDraw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp index 5af00b62a1..d29e0b8c48 100644 --- a/src/core/SkRecordDraw.cpp +++ b/src/core/SkRecordDraw.cpp @@ -52,7 +52,7 @@ DRAW(DrawOval, drawOval(r.oval, r.paint)); DRAW(DrawPaint, drawPaint(r.paint)); DRAW(DrawPath, drawPath(r.path, r.paint)); DRAW(DrawPatch, drawPatch(r.patch, r.paint)); -DRAW(DrawPicture, drawPicture(r.picture)); +DRAW(DrawPicture, drawPicture(r.picture, r.matrix, r.paint)); DRAW(DrawPoints, drawPoints(r.mode, r.count, r.pts, r.paint)); DRAW(DrawPosText, drawPosText(r.text, r.byteLength, r.pos, r.paint)); DRAW(DrawPosTextH, drawPosTextH(r.text, r.byteLength, r.xpos, r.y, r.paint)); |