| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SKIA_EXT_ANALYSIS_CANVAS_H_ | 5 #ifndef SKIA_EXT_ANALYSIS_CANVAS_H_ |
| 6 #define SKIA_EXT_ANALYSIS_CANVAS_H_ | 6 #define SKIA_EXT_ANALYSIS_CANVAS_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "third_party/skia/include/core/SkBitmapDevice.h" | 9 #include "third_party/skia/include/core/SkBitmapDevice.h" |
| 10 #include "third_party/skia/include/core/SkCanvas.h" | 10 #include "third_party/skia/include/core/SkCanvas.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 virtual void clear(SkColor color) OVERRIDE; | 77 virtual void clear(SkColor color) OVERRIDE; |
| 78 virtual void drawPaint(const SkDraw& draw, const SkPaint& paint) OVERRIDE; | 78 virtual void drawPaint(const SkDraw& draw, const SkPaint& paint) OVERRIDE; |
| 79 virtual void drawPoints(const SkDraw& draw, | 79 virtual void drawPoints(const SkDraw& draw, |
| 80 SkCanvas::PointMode mode, | 80 SkCanvas::PointMode mode, |
| 81 size_t count, | 81 size_t count, |
| 82 const SkPoint points[], | 82 const SkPoint points[], |
| 83 const SkPaint& paint) OVERRIDE; | 83 const SkPaint& paint) OVERRIDE; |
| 84 virtual void drawRect(const SkDraw& draw, | 84 virtual void drawRect(const SkDraw& draw, |
| 85 const SkRect& rect, | 85 const SkRect& rect, |
| 86 const SkPaint& paint) OVERRIDE; | 86 const SkPaint& paint) OVERRIDE; |
| 87 virtual void drawRRect(const SkDraw& draw, |
| 88 const SkRRect& rr, |
| 89 const SkPaint& paint) OVERRIDE; |
| 87 virtual void drawOval(const SkDraw& draw, | 90 virtual void drawOval(const SkDraw& draw, |
| 88 const SkRect& oval, | 91 const SkRect& oval, |
| 89 const SkPaint& paint) OVERRIDE; | 92 const SkPaint& paint) OVERRIDE; |
| 90 virtual void drawPath(const SkDraw& draw, | 93 virtual void drawPath(const SkDraw& draw, |
| 91 const SkPath& path, | 94 const SkPath& path, |
| 92 const SkPaint& paint, | 95 const SkPaint& paint, |
| 93 const SkMatrix* pre_path_matrix = NULL, | 96 const SkMatrix* pre_path_matrix = NULL, |
| 94 bool path_is_mutable = false) OVERRIDE; | 97 bool path_is_mutable = false) OVERRIDE; |
| 95 virtual void drawBitmap(const SkDraw& draw, | 98 virtual void drawBitmap(const SkDraw& draw, |
| 96 const SkBitmap& bitmap, | 99 const SkBitmap& bitmap, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 bool is_solid_color_; | 162 bool is_solid_color_; |
| 160 SkColor color_; | 163 SkColor color_; |
| 161 bool is_transparent_; | 164 bool is_transparent_; |
| 162 bool has_text_; | 165 bool has_text_; |
| 163 }; | 166 }; |
| 164 | 167 |
| 165 } // namespace skia | 168 } // namespace skia |
| 166 | 169 |
| 167 #endif // SKIA_EXT_ANALYSIS_CANVAS_H_ | 170 #endif // SKIA_EXT_ANALYSIS_CANVAS_H_ |
| 168 | 171 |
| OLD | NEW |