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

Unified Diff: include/effects/SkRectShaderImageFilter.h

Issue 26009004: Implement crop rect support for SkRectShaderImageFilter (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Updated to new CropRect API Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/effects/SkRectShaderImageFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkRectShaderImageFilter.h
diff --git a/include/effects/SkRectShaderImageFilter.h b/include/effects/SkRectShaderImageFilter.h
index a71ee42742b9504c09c888ede47badd7e71508ba..5ad11c104c72b837a877014ccbca183a432b7159 100644
--- a/include/effects/SkRectShaderImageFilter.h
+++ b/include/effects/SkRectShaderImageFilter.h
@@ -33,9 +33,8 @@ protected:
SkBitmap* result, SkIPoint* loc) SK_OVERRIDE;
private:
- SkRectShaderImageFilter(SkShader* s, const SkRect& rect);
+ SkRectShaderImageFilter(SkShader* s, const CropRect* rect);
SkShader* fShader;
- SkRect fRect;
typedef SkImageFilter INHERITED;
};
« no previous file with comments | « no previous file | src/effects/SkRectShaderImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698