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

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

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.cpp ('k') | src/utils/debugger/SkDrawCommand.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 #ifndef SKDRAWCOMMAND_H_ 9 #ifndef SKDRAWCOMMAND_H_
10 #define SKDRAWCOMMAND_H_ 10 #define SKDRAWCOMMAND_H_
11 11
12 #include "SkPictureFlat.h" 12 #include "SkPictureFlat.h"
13 #include "SkCanvas.h" 13 #include "SkCanvas.h"
14 #include "SkString.h" 14 #include "SkString.h"
15 15
16 class SkDrawCommand { 16 class SK_API SkDrawCommand {
17 public: 17 public:
18 /* TODO(chudy): Remove subclasses. */ 18 /* TODO(chudy): Remove subclasses. */
19 SkDrawCommand(DrawType drawType); 19 SkDrawCommand(DrawType drawType);
20 SkDrawCommand(); 20 SkDrawCommand();
21 21
22 virtual ~SkDrawCommand(); 22 virtual ~SkDrawCommand();
23 23
24 virtual SkString toString(); 24 virtual SkString toString();
25 25
26 virtual const char* toCString() { 26 virtual const char* toCString() {
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 SkScalar y() const { return fDy; } 547 SkScalar y() const { return fDy; }
548 548
549 private: 549 private:
550 SkScalar fDx; 550 SkScalar fDx;
551 SkScalar fDy; 551 SkScalar fDy;
552 552
553 typedef SkDrawCommand INHERITED; 553 typedef SkDrawCommand INHERITED;
554 }; 554 };
555 555
556 #endif 556 #endif
OLDNEW
« no previous file with comments | « src/utils/debugger/SkDebugCanvas.cpp ('k') | src/utils/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698