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; | |
209 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 208 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
210 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 209 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
211 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 210 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
212 void onClipRegion(const SkRegion& region, SkRegion::Op) override; | 211 void onClipRegion(const SkRegion& region, SkRegion::Op) override; |
213 | 212 |
214 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 213 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
215 | 214 |
216 void markActiveCommands(int index); | 215 void markActiveCommands(int index); |
217 | 216 |
218 private: | 217 private: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 void outputPoints(const SkPoint* pts, int count); | 260 void outputPoints(const SkPoint* pts, int count); |
262 void outputPointsCommon(const SkPoint* pts, int count); | 261 void outputPointsCommon(const SkPoint* pts, int count); |
263 void outputScalar(SkScalar num); | 262 void outputScalar(SkScalar num); |
264 | 263 |
265 void updatePaintFilterCanvas(); | 264 void updatePaintFilterCanvas(); |
266 | 265 |
267 typedef SkCanvas INHERITED; | 266 typedef SkCanvas INHERITED; |
268 }; | 267 }; |
269 | 268 |
270 #endif | 269 #endif |
OLD | NEW |