diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-28 16:25:35 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-28 16:25:35 +0000 |
commit | e396455d2d60ddf8e625b5037254f3c09fbcdcf5 (patch) | |
tree | 9654912812c8b942b89124b1ae2aa36372818663 /include/core/SkBlurTypes.h | |
parent | 2e0c32af0508a1e544c9953ea2fe128dbae7d429 (diff) |
move common blur types into central header
BUG=skia:
R=scroggo@google.com, djsollen@google.com
Author: reed@google.com
Review URL: https://codereview.chromium.org/253833002
git-svn-id: http://skia.googlecode.com/svn/trunk@14411 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkBlurTypes.h')
-rw-r--r-- | include/core/SkBlurTypes.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/core/SkBlurTypes.h b/include/core/SkBlurTypes.h new file mode 100644 index 0000000000..afbec19b6c --- /dev/null +++ b/include/core/SkBlurTypes.h @@ -0,0 +1,29 @@ +/* + * Copyright 2014 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef SkBlurTypes_DEFINED +#define SkBlurTypes_DEFINED + +#include "SkTypes.h" + +enum SkBlurStyle { + kNormal_SkBlurStyle, //!< fuzzy inside and outside + kSolid_SkBlurStyle, //!< solid inside, fuzzy outside + kOuter_SkBlurStyle, //!< nothing inside, fuzzy outside + kInner_SkBlurStyle, //!< fuzzy inside, nothing outside + + kLastEnum_SkBlurStyle = kInner_SkBlurStyle +}; + +enum SkBlurQuality { + kLow_SkBlurQuality, //!< e.g. box filter + kHigh_SkBlurQuality, //!< e.g. 3-pass similar to gaussian + + kLastEnum_SkBlurQuality +}; + +#endif |