OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 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 | 8 |
9 | 9 |
10 #ifndef SKDEBUGCANVAS_H_ | 10 #ifndef SKDEBUGCANVAS_H_ |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 191 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
192 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 192 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
193 void onDrawVertices(VertexMode vmode, int vertexCount, | 193 void onDrawVertices(VertexMode vmode, int vertexCount, |
194 const SkPoint vertices[], const SkPoint texs[], | 194 const SkPoint vertices[], const SkPoint texs[], |
195 const SkColor colors[], SkXfermode* xmode, | 195 const SkColor colors[], SkXfermode* xmode, |
196 const uint16_t indices[], int indexCount, | 196 const uint16_t indices[], int indexCount, |
197 const SkPaint&) override; | 197 const SkPaint&) override; |
198 void onDrawPath(const SkPath&, const SkPaint&) override; | 198 void onDrawPath(const SkPath&, const SkPaint&) override; |
199 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 199 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
200 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 200 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
201 SK_VIRTUAL_CONSTRAINT_TYPE) override; | 201 SrcRectConstraint) override; |
202 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 202 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
203 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 203 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
204 const SkPaint* SRC_RECT_CONSTRAINT_PARAM(constraint)) o
verride; | 204 const SkPaint*, SrcRectConstraint) override; |
205 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 205 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
206 const SkPaint*) override; | 206 const SkPaint*) override; |
207 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; | 207 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; |
208 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 208 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
209 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 209 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
210 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 210 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
211 void onClipRegion(const SkRegion& region, SkRegion::Op) override; | 211 void onClipRegion(const SkRegion& region, SkRegion::Op) override; |
212 | 212 |
213 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 213 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
214 | 214 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 void outputPoints(const SkPoint* pts, int count); | 260 void outputPoints(const SkPoint* pts, int count); |
261 void outputPointsCommon(const SkPoint* pts, int count); | 261 void outputPointsCommon(const SkPoint* pts, int count); |
262 void outputScalar(SkScalar num); | 262 void outputScalar(SkScalar num); |
263 | 263 |
264 void updatePaintFilterCanvas(); | 264 void updatePaintFilterCanvas(); |
265 | 265 |
266 typedef SkCanvas INHERITED; | 266 typedef SkCanvas INHERITED; |
267 }; | 267 }; |
268 | 268 |
269 #endif | 269 #endif |
OLD | NEW |