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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.h

Issue 448793004: add drawPicture variant that takes a matrix and paint (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more dummies so we can land 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
« no previous file with comments | « src/utils/SkProxyCanvas.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/utils/SkProxyCanvas.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698