Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: include/effects/SkMatrixConvolutionImageFilter.h

Issue 789163006: Add toString methods to SkImageFilter-derived classes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Make sure leading 0's aren't stripped off colors Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/effects/SkMagnifierImageFilter.h ('k') | include/effects/SkMatrixImageFilter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The Android Open Source Project 2 * Copyright 2012 The Android Open Source Project
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 SkMatrixConvolutionImageFilter_DEFINED 8 #ifndef SkMatrixConvolutionImageFilter_DEFINED
9 #define SkMatrixConvolutionImageFilter_DEFINED 9 #define SkMatrixConvolutionImageFilter_DEFINED
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const SkScalar* kernel, 56 const SkScalar* kernel,
57 SkScalar gain, 57 SkScalar gain,
58 SkScalar bias, 58 SkScalar bias,
59 const SkIPoint& kernelOffset, 59 const SkIPoint& kernelOffset,
60 TileMode tileMode, 60 TileMode tileMode,
61 bool convolveAlpha, 61 bool convolveAlpha,
62 SkImageFilter* input = NULL, 62 SkImageFilter* input = NULL,
63 const CropRect* cropRect = NUL L, 63 const CropRect* cropRect = NUL L,
64 uint32_t uniqueID = 0); 64 uint32_t uniqueID = 0);
65 65
66 SK_TO_STRING_OVERRIDE()
66 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkMatrixConvolutionImage Filter) 67 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkMatrixConvolutionImage Filter)
67 68
68 protected: 69 protected:
69 SkMatrixConvolutionImageFilter(const SkISize& kernelSize, 70 SkMatrixConvolutionImageFilter(const SkISize& kernelSize,
70 const SkScalar* kernel, 71 const SkScalar* kernel,
71 SkScalar gain, 72 SkScalar gain,
72 SkScalar bias, 73 SkScalar bias,
73 const SkIPoint& kernelOffset, 74 const SkIPoint& kernelOffset,
74 TileMode tileMode, 75 TileMode tileMode,
75 bool convolveAlpha, 76 bool convolveAlpha,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 SkBitmap* result, 113 SkBitmap* result,
113 const SkIRect& rect, 114 const SkIRect& rect,
114 const SkIRect& bounds) const; 115 const SkIRect& bounds) const;
115 void filterBorderPixels(const SkBitmap& src, 116 void filterBorderPixels(const SkBitmap& src,
116 SkBitmap* result, 117 SkBitmap* result,
117 const SkIRect& rect, 118 const SkIRect& rect,
118 const SkIRect& bounds) const; 119 const SkIRect& bounds) const;
119 }; 120 };
120 121
121 #endif 122 #endif
OLDNEW
« no previous file with comments | « include/effects/SkMagnifierImageFilter.h ('k') | include/effects/SkMatrixImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698