diff options
author | 2011-05-18 19:00:53 +0000 | |
---|---|---|
committer | 2011-05-18 19:00:53 +0000 | |
commit | 02b5331078861b02b61e9a93f845617a7c900409 (patch) | |
tree | e1dc6c166397b55fba6a55905683372f1ed833fa /include/core/SkScalerContext.h | |
parent | 2ed67e83c806e7f65a6810fdbb8aa4b844da3170 (diff) |
encode current LCD orientation and order into font-cache-key
git-svn-id: http://skia.googlecode.com/svn/trunk@1368 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkScalerContext.h')
-rw-r--r-- | include/core/SkScalerContext.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkScalerContext.h b/include/core/SkScalerContext.h index 55dfcef049..3f818a3112 100644 --- a/include/core/SkScalerContext.h +++ b/include/core/SkScalerContext.h @@ -179,6 +179,9 @@ public: kEmbolden_Flag = 0x80, kSubpixelPositioning_Flag = 0x100, kAutohinting_Flag = 0x200, + // these should only ever be set if fMaskFormat is LCD + kLCD_Vertical_Flag = 0x400, // else Horizontal + kLCD_BGROrder_Flag = 0x800, // else RGB order }; private: enum { |