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

Side by Side Diff: include/core/SkDraw.h

Issue 2052943002: SkPixmap::setColorSpace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: std::move() Created 4 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
« no previous file with comments | « no previous file | include/core/SkImageInfo.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 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 SkDraw_DEFINED 10 #ifndef SkDraw_DEFINED
(...skipping 12 matching lines...) Expand all
23 class SkPath; 23 class SkPath;
24 class SkRegion; 24 class SkRegion;
25 class SkRasterClip; 25 class SkRasterClip;
26 struct SkDrawProcs; 26 struct SkDrawProcs;
27 struct SkRect; 27 struct SkRect;
28 class SkRRect; 28 class SkRRect;
29 29
30 class SkDraw { 30 class SkDraw {
31 public: 31 public:
32 SkDraw(); 32 SkDraw();
33 SkDraw(const SkDraw& src);
34 33
35 void drawPaint(const SkPaint&) const; 34 void drawPaint(const SkPaint&) const;
36 void drawPoints(SkCanvas::PointMode, size_t count, const SkPoint[], 35 void drawPoints(SkCanvas::PointMode, size_t count, const SkPoint[],
37 const SkPaint&, bool forceUseDevice = false) const; 36 const SkPaint&, bool forceUseDevice = false) const;
38 void drawRect(const SkRect& prePaintRect, const SkPaint&, const SkMatrix* paintMatrix, 37 void drawRect(const SkRect& prePaintRect, const SkPaint&, const SkMatrix* paintMatrix,
39 const SkRect* postPaintRect) const; 38 const SkRect* postPaintRect) const;
40 void drawRect(const SkRect& rect, const SkPaint& paint) const { 39 void drawRect(const SkRect& rect, const SkPaint& paint) const {
41 this->drawRect(rect, paint, NULL, NULL); 40 this->drawRect(rect, paint, NULL, NULL);
42 } 41 }
43 void drawRRect(const SkRRect&, const SkPaint&) const; 42 void drawRRect(const SkRRect&, const SkPaint&) const;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 SkBaseDevice* fDevice; // optional, may be null 154 SkBaseDevice* fDevice; // optional, may be null
156 155
157 #ifdef SK_DEBUG 156 #ifdef SK_DEBUG
158 void validate() const; 157 void validate() const;
159 #else 158 #else
160 void validate() const {} 159 void validate() const {}
161 #endif 160 #endif
162 }; 161 };
163 162
164 #endif 163 #endif
OLDNEW
« no previous file with comments | « no previous file | include/core/SkImageInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698