move all flag bits up by 1, to accomodate new flag in SkPaint
BUG= Review URL: https://codereview.chromium.org/15739006 git-svn-id: http://skia.googlecode.com/svn/trunk@9237 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
25b3bd58df
commit
881b10b023
@ -59,10 +59,10 @@ public:
|
||||
// this uses SkPaint::Flags as a base and adds additional flags
|
||||
enum DrawFilterFlags {
|
||||
kNone_DrawFilterFlag = 0,
|
||||
kBlur_DrawFilterFlag = 0x4000, // toggles between blur and no blur
|
||||
kHinting_DrawFilterFlag = 0x8000, // toggles between no hinting and normal hinting
|
||||
kSlightHinting_DrawFilterFlag = 0x10000, // toggles between slight and normal hinting
|
||||
kAAClip_DrawFilterFlag = 0x20000, // toggles between soft and hard clip
|
||||
kBlur_DrawFilterFlag = 0x8000, // toggles between blur and no blur
|
||||
kHinting_DrawFilterFlag = 0x10000, // toggles between no hinting and normal hinting
|
||||
kSlightHinting_DrawFilterFlag = 0x20000, // toggles between slight and normal hinting
|
||||
kAAClip_DrawFilterFlag = 0x40000, // toggles between soft and hard clip
|
||||
};
|
||||
|
||||
SK_COMPILE_ASSERT(!(kBlur_DrawFilterFlag & SkPaint::kAllFlags), blur_flag_must_be_greater);
|
||||
|
Loading…
Reference in New Issue
Block a user