diff options
author | 2011-06-27 16:44:46 +0000 | |
---|---|---|
committer | 2011-06-27 16:44:46 +0000 | |
commit | effc5016f040945a53ab0ea47f9ea02404c17805 (patch) | |
tree | 137b3257bfcd83ec0d7b954507c11ecb30ad215b /include/core/SkScalerContext.h | |
parent | 67908f2faee17a8bce4d074980617cc0d15fabf1 (diff) |
remove obsolete text codepaths
git-svn-id: http://skia.googlecode.com/svn/trunk@1725 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkScalerContext.h')
-rw-r--r-- | include/core/SkScalerContext.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/core/SkScalerContext.h b/include/core/SkScalerContext.h index d7b5eece12..f1898ebb0d 100644 --- a/include/core/SkScalerContext.h +++ b/include/core/SkScalerContext.h @@ -159,11 +159,6 @@ struct SkGlyph { } void toMask(SkMask* mask) const; - - /** Given a glyph which is has a mask format of LCD or VerticalLCD, take - the A8 plane in fImage and produce a valid LCD plane from it. - */ - void expandA8ToLCD() const; }; class SkScalerContext { @@ -181,7 +176,8 @@ public: kEmbolden_Flag = 0x80, kSubpixelPositioning_Flag = 0x100, kAutohinting_Flag = 0x200, - // these should only ever be set if fMaskFormat is LCD + + // these should only ever be set if fMaskFormat is LCD16 or LCD32 kLCD_Vertical_Flag = 0x400, // else Horizontal kLCD_BGROrder_Flag = 0x800, // else RGB order }; @@ -219,10 +215,6 @@ public: SkMask::Format getFormat() const { return static_cast<SkMask::Format>(fMaskFormat); } - - bool isLCD() const { - return SkMask::FormatIsLCD(this->getFormat()); - } }; SkScalerContext(const SkDescriptor* desc); |