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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 const SkPaint&) override; | 198 const SkPaint&) override; |
199 void onDrawPath(const SkPath&, const SkPaint&) override; | 199 void onDrawPath(const SkPath&, const SkPaint&) override; |
200 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 200 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
201 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 201 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
202 SrcRectConstraint) override; | 202 SrcRectConstraint) override; |
203 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 203 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
204 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 204 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
205 const SkPaint*, SrcRectConstraint) override; | 205 const SkPaint*, SrcRectConstraint) override; |
206 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 206 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
207 const SkPaint*) override; | 207 const SkPaint*) override; |
| 208 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; |
208 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 209 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
209 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 210 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
210 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 211 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
211 void onClipRegion(const SkRegion& region, SkRegion::Op) override; | 212 void onClipRegion(const SkRegion& region, SkRegion::Op) override; |
212 | 213 |
213 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 214 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
214 | 215 |
215 void markActiveCommands(int index); | 216 void markActiveCommands(int index); |
216 | 217 |
217 private: | 218 private: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 void outputPoints(const SkPoint* pts, int count); | 261 void outputPoints(const SkPoint* pts, int count); |
261 void outputPointsCommon(const SkPoint* pts, int count); | 262 void outputPointsCommon(const SkPoint* pts, int count); |
262 void outputScalar(SkScalar num); | 263 void outputScalar(SkScalar num); |
263 | 264 |
264 void updatePaintFilterCanvas(); | 265 void updatePaintFilterCanvas(); |
265 | 266 |
266 typedef SkCanvas INHERITED; | 267 typedef SkCanvas INHERITED; |
267 }; | 268 }; |
268 | 269 |
269 #endif | 270 #endif |
OLD | NEW |