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

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

Issue 16638014: Expose debugger backend classes externally. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Relocated to src/utils/debugger/ Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/utils/debugger/SkDebugCanvas.h ('k') | src/utils/debugger/SkDrawCommand.h » ('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 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 421
422 bool SkDebugCanvas::translate(SkScalar dx, SkScalar dy) { 422 bool SkDebugCanvas::translate(SkScalar dx, SkScalar dy) {
423 addDrawCommand(new Translate(dx, dy)); 423 addDrawCommand(new Translate(dx, dy));
424 return true; 424 return true;
425 } 425 }
426 426
427 void SkDebugCanvas::toggleCommand(int index, bool toggle) { 427 void SkDebugCanvas::toggleCommand(int index, bool toggle) {
428 SkASSERT(index < fCommandVector.count()); 428 SkASSERT(index < fCommandVector.count());
429 fCommandVector[index]->setVisible(toggle); 429 fCommandVector[index]->setVisible(toggle);
430 } 430 }
OLDNEW
« no previous file with comments | « src/utils/debugger/SkDebugCanvas.h ('k') | src/utils/debugger/SkDrawCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698