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

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

Issue 1183463002: retro add copyright (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 months 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*
2 * Copyright 2011 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
1 #ifndef _SkTestImageFilters_h 8 #ifndef _SkTestImageFilters_h
2 #define _SkTestImageFilters_h 9 #define _SkTestImageFilters_h
3 10
4 #include "SkImageFilter.h" 11 #include "SkImageFilter.h"
5 #include "SkPoint.h" 12 #include "SkPoint.h"
6 13
7 // Fun mode that scales down (only) and then scales back up to look pixelated 14 // Fun mode that scales down (only) and then scales back up to look pixelated
8 class SK_API SkDownSampleImageFilter : public SkImageFilter { 15 class SK_API SkDownSampleImageFilter : public SkImageFilter {
9 public: 16 public:
10 static SkDownSampleImageFilter* Create(SkScalar scale, SkImageFilter* input = NULL) { 17 static SkDownSampleImageFilter* Create(SkScalar scale, SkImageFilter* input = NULL) {
(...skipping 18 matching lines...) Expand all
29 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 36 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&,
30 SkBitmap* result, SkIPoint* loc) const override; 37 SkBitmap* result, SkIPoint* loc) const override;
31 38
32 private: 39 private:
33 SkScalar fScale; 40 SkScalar fScale;
34 41
35 typedef SkImageFilter INHERITED; 42 typedef SkImageFilter INHERITED;
36 }; 43 };
37 44
38 #endif 45 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698