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 #include "SkAlphaThresholdFilter.h" | 8 #include "SkAlphaThresholdFilter.h" |
9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
10 #include "SkDevice.h" | 10 #include "SkDevice.h" |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 return true; | 403 return true; |
404 } | 404 } |
405 | 405 |
406 #ifndef SK_IGNORE_TO_STRING | 406 #ifndef SK_IGNORE_TO_STRING |
407 void SkAlphaThresholdFilterImpl::toString(SkString* str) const { | 407 void SkAlphaThresholdFilterImpl::toString(SkString* str) const { |
408 str->appendf("SkAlphaThresholdImageFilter: ("); | 408 str->appendf("SkAlphaThresholdImageFilter: ("); |
409 str->appendf("inner: %f outer: %f", fInnerThreshold, fOuterThreshold); | 409 str->appendf("inner: %f outer: %f", fInnerThreshold, fOuterThreshold); |
410 str->append(")"); | 410 str->append(")"); |
411 } | 411 } |
412 #endif | 412 #endif |
413 | |
OLD | NEW |