| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "SkStippleMaskFilter.h" | 8 #include "SkStippleMaskFilter.h" |
| 9 #include "SkString.h" | 9 #include "SkString.h" |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 scanline[x] = srcScanLine[x] && ((x+y) & 0x1) ? 0xFF : 0x00; | 38 scanline[x] = srcScanLine[x] && ((x+y) & 0x1) ? 0xFF : 0x00; |
| 39 } | 39 } |
| 40 scanline += dst->fRowBytes; | 40 scanline += dst->fRowBytes; |
| 41 srcScanLine += src.fRowBytes; | 41 srcScanLine += src.fRowBytes; |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 | 44 |
| 45 return true; | 45 return true; |
| 46 } | 46 } |
| 47 | 47 |
| 48 #ifdef SK_DEVELOPER | 48 #ifndef SK_IGNORE_TO_STRING |
| 49 void SkStippleMaskFilter::toString(SkString* str) const { | 49 void SkStippleMaskFilter::toString(SkString* str) const { |
| 50 str->append("SkStippleMaskFilter: ()"); | 50 str->append("SkStippleMaskFilter: ()"); |
| 51 } | 51 } |
| 52 #endif | 52 #endif |
| OLD | NEW |