diff options
author | 2011-03-15 15:40:16 +0000 | |
---|---|---|
committer | 2011-03-15 15:40:16 +0000 | |
commit | 98539c607b05f7e25406ae873bf1b24154a36a6f (patch) | |
tree | 24fcca9c8de87eafaec4a94948efeb3714635932 /include/core/SkScalerContext.h | |
parent | b7e9aee1acf27fc98cb37ed69c05da71b4c3c69b (diff) |
support lcd16 in text atlas (sans shader support)
git-svn-id: http://skia.googlecode.com/svn/trunk@939 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkScalerContext.h')
-rw-r--r-- | include/core/SkScalerContext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkScalerContext.h b/include/core/SkScalerContext.h index 584b86bfb6..55dfcef049 100644 --- a/include/core/SkScalerContext.h +++ b/include/core/SkScalerContext.h @@ -222,6 +222,10 @@ public: SkScalerContext(const SkDescriptor* desc); virtual ~SkScalerContext(); + SkMask::Format getMaskFormat() const { + return (SkMask::Format)fRec.fMaskFormat; + } + // remember our glyph offset/base void setBaseGlyphCount(unsigned baseGlyphCount) { fBaseGlyphCount = baseGlyphCount; |