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

Unified Diff: include/core/SkPaint.h

Issue 1205803002: remove SK_SUPPORT_LEGACY_FILTERLEVEL_ENUM (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/effects/SkPictureImageFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 623654604271c63b657a6f06fe834cd4279f05c1..007a1adf397caa67603e507d0d8af0ed8e02642c 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -282,31 +282,6 @@ public:
*/
void setDevKernText(bool devKernText);
-#ifdef SK_SUPPORT_LEGACY_FILTERLEVEL_ENUM
- enum FilterLevel {
- kNone_FilterLevel = kNone_SkFilterQuality,
- kLow_FilterLevel = kLow_SkFilterQuality,
- kMedium_FilterLevel = kMedium_SkFilterQuality,
- kHigh_FilterLevel = kHigh_SkFilterQuality
- };
-
- /**
- * Return the filter level. This affects the quality (and performance) of
- * drawing scaled images.
- */
- FilterLevel getFilterLevel() const {
- return (FilterLevel)this->getFilterQuality();
- }
-
- /**
- * Set the filter level. This affects the quality (and performance) of
- * drawing scaled images.
- */
- void setFilterLevel(FilterLevel level) {
- this->setFilterQuality((SkFilterQuality)level);
- }
-#endif
-
/**
* Return the filter level. This affects the quality (and performance) of
* drawing scaled images.
« no previous file with comments | « no previous file | include/effects/SkPictureImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698