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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 bool doAntiAlias = false) SK_OVERRIDE; | 154 bool doAntiAlias = false) SK_OVERRIDE; |
155 | 155 |
156 virtual bool clipRegion(const SkRegion& region, SkRegion::Op op) SK_OVERRIDE
; | 156 virtual bool clipRegion(const SkRegion& region, SkRegion::Op op) SK_OVERRIDE
; |
157 | 157 |
158 virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE; | 158 virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE; |
159 | 159 |
160 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, | 160 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, |
161 const SkPaint*) SK_OVERRIDE; | 161 const SkPaint*) SK_OVERRIDE; |
162 | 162 |
163 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, | 163 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, |
164 const SkRect& dst, const SkPaint*) SK_OVERRIDE
; | 164 const SkRect& dst, const SkPaint* paint, |
| 165 DrawBitmapRectFlags flags) SK_OVERRIDE; |
165 | 166 |
166 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, | 167 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, |
167 const SkPaint*) SK_OVERRIDE; | 168 const SkPaint*) SK_OVERRIDE; |
168 | 169 |
169 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, | 170 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
170 const SkRect& dst, const SkPaint*) SK_OVERRIDE; | 171 const SkRect& dst, const SkPaint*) SK_OVERRIDE; |
171 | 172 |
172 virtual void drawData(const void*, size_t) SK_OVERRIDE; | 173 virtual void drawData(const void*, size_t) SK_OVERRIDE; |
173 | 174 |
174 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 175 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 /** | 265 /** |
265 Applies any panning and zooming the user has specified before | 266 Applies any panning and zooming the user has specified before |
266 drawing anything else into the canvas. | 267 drawing anything else into the canvas. |
267 */ | 268 */ |
268 void applyUserTransform(SkCanvas* canvas); | 269 void applyUserTransform(SkCanvas* canvas); |
269 | 270 |
270 typedef SkCanvas INHERITED; | 271 typedef SkCanvas INHERITED; |
271 }; | 272 }; |
272 | 273 |
273 #endif | 274 #endif |
OLD | NEW |