From 02b5331078861b02b61e9a93f845617a7c900409 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Wed, 18 May 2011 19:00:53 +0000 Subject: 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 --- include/core/SkScalerContext.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/core/SkScalerContext.h') 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 { -- cgit v1.2.3