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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, | 248 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, |
249 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; | 249 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; |
250 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE; | 250 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE; |
251 virtual void onPopCull() SK_OVERRIDE; | 251 virtual void onPopCull() SK_OVERRIDE; |
252 | 252 |
253 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 253 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
254 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 254 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
255 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 255 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
256 virtual void onClipRegion(const SkRegion& region, SkRegion::Op) SK_OVERRIDE; | 256 virtual void onClipRegion(const SkRegion& region, SkRegion::Op) SK_OVERRIDE; |
257 | 257 |
258 virtual void onDrawPicture(const SkPicture* picture) SK_OVERRIDE; | 258 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; |
259 | 259 |
260 void markActiveCommands(int index); | 260 void markActiveCommands(int index); |
261 | 261 |
262 private: | 262 private: |
263 SkTDArray<SkDrawCommand*> fCommandVector; | 263 SkTDArray<SkDrawCommand*> fCommandVector; |
264 SkPicture* fPicture; | 264 SkPicture* fPicture; |
265 int fWidth; | 265 int fWidth; |
266 int fHeight; | 266 int fHeight; |
267 bool fFilter; | 267 bool fFilter; |
268 bool fMegaVizMode; | 268 bool fMegaVizMode; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 bool lastClipStackData(const SkPath& devPath); | 329 bool lastClipStackData(const SkPath& devPath); |
330 void outputConicPoints(const SkPoint* pts, SkScalar weight); | 330 void outputConicPoints(const SkPoint* pts, SkScalar weight); |
331 void outputPoints(const SkPoint* pts, int count); | 331 void outputPoints(const SkPoint* pts, int count); |
332 void outputPointsCommon(const SkPoint* pts, int count); | 332 void outputPointsCommon(const SkPoint* pts, int count); |
333 void outputScalar(SkScalar num); | 333 void outputScalar(SkScalar num); |
334 | 334 |
335 typedef SkCanvas INHERITED; | 335 typedef SkCanvas INHERITED; |
336 }; | 336 }; |
337 | 337 |
338 #endif | 338 #endif |
OLD | NEW |