Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkLayerDrawLooper_DEFINED | 8 #ifndef SkLayerDrawLooper_DEFINED |
| 9 #define SkLayerDrawLooper_DEFINED | 9 #define SkLayerDrawLooper_DEFINED |
| 10 | 10 |
| 11 #include "SkDrawLooper.h" | 11 #include "SkDrawLooper.h" |
| 12 #include "SkPaint.h" | |
| 13 #include "SkPoint.h" | |
|
scroggo
2013/05/14 21:06:05
It appears to me that #include "SkPoint.h" can be
| |
| 12 #include "SkXfermode.h" | 14 #include "SkXfermode.h" |
| 13 | 15 |
| 14 struct SkPoint; | |
| 15 | |
| 16 class SK_API SkLayerDrawLooper : public SkDrawLooper { | 16 class SK_API SkLayerDrawLooper : public SkDrawLooper { |
| 17 public: | 17 public: |
| 18 SK_DECLARE_INST_COUNT(SkLayerDrawLooper) | 18 SK_DECLARE_INST_COUNT(SkLayerDrawLooper) |
| 19 | 19 |
| 20 SkLayerDrawLooper(); | 20 SkLayerDrawLooper(); |
| 21 virtual ~SkLayerDrawLooper(); | 21 virtual ~SkLayerDrawLooper(); |
| 22 | 22 |
| 23 /** | 23 /** |
| 24 * Bits specifies which aspects of the layer's paint should replace the | 24 * Bits specifies which aspects of the layer's paint should replace the |
| 25 * corresponding aspects on the draw's paint. | 25 * corresponding aspects on the draw's paint. |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 128 | 128 |
| 129 class MyRegistrar : public SkFlattenable::Registrar { | 129 class MyRegistrar : public SkFlattenable::Registrar { |
| 130 public: | 130 public: |
| 131 MyRegistrar(); | 131 MyRegistrar(); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 typedef SkDrawLooper INHERITED; | 134 typedef SkDrawLooper INHERITED; |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 #endif | 137 #endif |
| OLD | NEW |