diff options
author | Mike Reed <reed@google.com> | 2009-12-14 10:31:51 -0500 |
---|---|---|
committer | Mike Reed <reed@google.com> | 2009-12-14 11:02:59 -0500 |
commit | 93d11b5b461a8677a8e3ffa94260f4f9897070ac (patch) | |
tree | 3fb18f45f906620957b1700c692aa1eb019cb4e0 /include/utils | |
parent | 030ffe05175291b1d91ec6808e1a32e862ee90cd (diff) | |
download | external_skia-93d11b5b461a8677a8e3ffa94260f4f9897070ac.zip external_skia-93d11b5b461a8677a8e3ffa94260f4f9897070ac.tar.gz external_skia-93d11b5b461a8677a8e3ffa94260f4f9897070ac.tar.bz2 |
refresh from skia/trunk
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/SkDumpCanvas.h | 4 | ||||
-rw-r--r-- | include/utils/SkProxyCanvas.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/utils/SkDumpCanvas.h b/include/utils/SkDumpCanvas.h index 6f16c92..3731bef 100644 --- a/include/utils/SkDumpCanvas.h +++ b/include/utils/SkDumpCanvas.h @@ -34,7 +34,8 @@ public: kDrawText_Verb, kDrawPicture_Verb, kDrawShape_Verb, - kDrawVertices_Verb + kDrawVertices_Verb, + kDrawData_Verb }; /** Subclasses of this are installed on the DumpCanvas, and then called for @@ -102,6 +103,7 @@ public: const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint); + virtual void drawData(const void*, size_t); private: Dumper* fDumper; diff --git a/include/utils/SkProxyCanvas.h b/include/utils/SkProxyCanvas.h index f2e57ab..082e0fd 100644 --- a/include/utils/SkProxyCanvas.h +++ b/include/utils/SkProxyCanvas.h @@ -75,7 +75,8 @@ public: const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint); - + virtual void drawData(const void* data, size_t length); + virtual SkBounder* setBounder(SkBounder* bounder); virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter); |