| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkSVGDevice.h" | 8 #include "SkSVGDevice.h" |
| 9 | 9 |
| 10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
| (...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 // todo | 634 // todo |
| 635 SkDebugf("unsupported operation: drawBitmap()\n"); | 635 SkDebugf("unsupported operation: drawBitmap()\n"); |
| 636 } | 636 } |
| 637 | 637 |
| 638 void SkSVGDevice::drawSprite(const SkDraw&, const SkBitmap& bitmap, | 638 void SkSVGDevice::drawSprite(const SkDraw&, const SkBitmap& bitmap, |
| 639 int x, int y, const SkPaint& paint) { | 639 int x, int y, const SkPaint& paint) { |
| 640 // todo | 640 // todo |
| 641 SkDebugf("unsupported operation: drawSprite()\n"); | 641 SkDebugf("unsupported operation: drawSprite()\n"); |
| 642 } | 642 } |
| 643 | 643 |
| 644 void SkSVGDevice::drawSprite(const SkDraw&, const SkImage& image, |
| 645 int x, int y, const SkPaint& paint) { |
| 646 // todo |
| 647 SkDebugf("unsupported operation: drawSprite()\n"); |
| 648 } |
| 649 |
| 644 void SkSVGDevice::drawBitmapRect(const SkDraw&, const SkBitmap&, const SkRect* s
rcOrNull, | 650 void SkSVGDevice::drawBitmapRect(const SkDraw&, const SkBitmap&, const SkRect* s
rcOrNull, |
| 645 const SkRect& dst, const SkPaint& paint, | 651 const SkRect& dst, const SkPaint& paint, |
| 646 SkCanvas::DrawBitmapRectFlags flags) { | 652 SkCanvas::DrawBitmapRectFlags flags) { |
| 647 // todo | 653 // todo |
| 648 SkDebugf("unsupported operation: drawBitmapRect()\n"); | 654 SkDebugf("unsupported operation: drawBitmapRect()\n"); |
| 649 } | 655 } |
| 650 | 656 |
| 651 void SkSVGDevice::drawText(const SkDraw& draw, const void* text, size_t len, | 657 void SkSVGDevice::drawText(const SkDraw& draw, const void* text, size_t len, |
| 652 SkScalar x, SkScalar y, const SkPaint& paint) { | 658 SkScalar x, SkScalar y, const SkPaint& paint) { |
| 653 AutoElement elem("text", fWriter, fResourceBucket, draw, paint); | 659 AutoElement elem("text", fWriter, fResourceBucket, draw, paint); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 const SkPaint& paint) { | 723 const SkPaint& paint) { |
| 718 // todo | 724 // todo |
| 719 SkDebugf("unsupported operation: drawVertices()\n"); | 725 SkDebugf("unsupported operation: drawVertices()\n"); |
| 720 } | 726 } |
| 721 | 727 |
| 722 void SkSVGDevice::drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, | 728 void SkSVGDevice::drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
| 723 const SkPaint&) { | 729 const SkPaint&) { |
| 724 // todo | 730 // todo |
| 725 SkDebugf("unsupported operation: drawDevice()\n"); | 731 SkDebugf("unsupported operation: drawDevice()\n"); |
| 726 } | 732 } |
| OLD | NEW |