Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: include/core/SkCanvas.h

Issue 716793004: experimental (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove bad start in picture Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | samplecode/SampleArc.cpp » ('j') | samplecode/SampleArc.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 2445c6e60d6a4811e8ca15dfe6582277cb3c0d5f..57a79131501abc39e0f3c7770588786524763d67 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -25,8 +25,9 @@
#define SK_LEGACY_DRAWTEXT_VIRTUAL
#endif
-class SkCanvasClipVisitor;
class SkBaseDevice;
+class SkCanvasClipVisitor;
+class SkCanvasDrawable;
class SkDraw;
class SkDrawFilter;
class SkImage;
@@ -1069,6 +1070,8 @@ public:
void drawPatch(const SkPoint cubics[12], const SkColor colors[4],
const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint);
+ void EXPERIMENTAL_drawDrawable(SkCanvasDrawable*);
+
/** Send a blob of data to the canvas.
For canvases that draw, this call is effectively a no-op, as the data
is not parsed, but just ignored. However, this call exists for
@@ -1254,6 +1257,8 @@ protected:
virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint);
+ virtual void onDrawDrawable(SkCanvasDrawable*);
+
enum ClipEdgeStyle {
kHard_ClipEdgeStyle,
kSoft_ClipEdgeStyle
« no previous file with comments | « no previous file | samplecode/SampleArc.cpp » ('j') | samplecode/SampleArc.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698