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

Side by Side Diff: include/utils/SkDumpCanvas.h

Issue 463493002: SkCanvas::drawPatch param SkPoint[12] (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 months 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 unified diff | Download patch
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef SkDumpCanvas_DEFINED 8 #ifndef SkDumpCanvas_DEFINED
9 #define SkDumpCanvas_DEFINED 9 #define SkDumpCanvas_DEFINED
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 DrawBitmapRectFlags flags) SK_OVERRIDE; 89 DrawBitmapRectFlags flags) SK_OVERRIDE;
90 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 90 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
91 const SkPaint* paint) SK_OVERRIDE; 91 const SkPaint* paint) SK_OVERRIDE;
92 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 92 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
93 const SkPaint* paint) SK_OVERRIDE; 93 const SkPaint* paint) SK_OVERRIDE;
94 virtual void drawVertices(VertexMode vmode, int vertexCount, 94 virtual void drawVertices(VertexMode vmode, int vertexCount,
95 const SkPoint vertices[], const SkPoint texs[], 95 const SkPoint vertices[], const SkPoint texs[],
96 const SkColor colors[], SkXfermode* xmode, 96 const SkColor colors[], SkXfermode* xmode,
97 const uint16_t indices[], int indexCount, 97 const uint16_t indices[], int indexCount,
98 const SkPaint& paint) SK_OVERRIDE; 98 const SkPaint& paint) SK_OVERRIDE;
99 virtual void drawPatch(const SkPatch& patch, const SkPaint& paint) SK_OVERRI DE; 99 virtual void drawPatch(const SkPoint cubics[12], const SkColor colors[4],
100 const SkPoint texCoords[4], SkXfermode* xmode,
101 const SkPaint& paint) SK_OVERRIDE;
100 virtual void drawData(const void*, size_t) SK_OVERRIDE; 102 virtual void drawData(const void*, size_t) SK_OVERRIDE;
101 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; 103 virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
102 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; 104 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
103 virtual void endCommentGroup() SK_OVERRIDE; 105 virtual void endCommentGroup() SK_OVERRIDE;
104 106
105 protected: 107 protected:
106 virtual void willSave() SK_OVERRIDE; 108 virtual void willSave() SK_OVERRIDE;
107 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 109 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
108 virtual void willRestore() SK_OVERRIDE; 110 virtual void willRestore() SK_OVERRIDE;
109 111
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 public: 167 public:
166 SkDebugfDumper(); 168 SkDebugfDumper();
167 169
168 private: 170 private:
169 typedef SkFormatDumper INHERITED; 171 typedef SkFormatDumper INHERITED;
170 }; 172 };
171 173
172 #endif 174 #endif
173 175
174 #endif 176 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698