| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 SkComposeImageFilter_DEFINED | 8 #ifndef SkComposeImageFilter_DEFINED |
| 9 #define SkComposeImageFilter_DEFINED | 9 #define SkComposeImageFilter_DEFINED |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 SK_TO_STRING_OVERRIDE() | 28 SK_TO_STRING_OVERRIDE() |
| 29 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkComposeImageFilter) | 29 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkComposeImageFilter) |
| 30 | 30 |
| 31 protected: | 31 protected: |
| 32 explicit SkComposeImageFilter(SkImageFilter* inputs[2]) : INHERITED(2, input
s) { | 32 explicit SkComposeImageFilter(SkImageFilter* inputs[2]) : INHERITED(2, input
s) { |
| 33 SkASSERT(inputs[0]); | 33 SkASSERT(inputs[0]); |
| 34 SkASSERT(inputs[1]); | 34 SkASSERT(inputs[1]); |
| 35 } | 35 } |
| 36 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, | 36 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, |
| 37 SkBitmap* result, SkIPoint* loc) const SK_OVERRID
E; | 37 SkBitmap* result, SkIPoint* loc) const SK_OVERRID
E; |
| 38 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) const
SK_OVERRIDE; | 38 bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) const SK_OVER
RIDE; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 typedef SkImageFilter INHERITED; | 41 typedef SkImageFilter INHERITED; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 #endif | 44 #endif |
| OLD | NEW |