Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1774)

Unified Diff: src/core/SkScalerContext.h

Issue 20585004: Fix metrics on Windows. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkScalerContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkScalerContext.h
===================================================================
--- src/core/SkScalerContext.h (revision 10398)
+++ src/core/SkScalerContext.h (working copy)
@@ -134,13 +134,14 @@
kHintingBit1_Flag = 0x0080,
kHintingBit2_Flag = 0x0100,
- // these should only ever be set if fMaskFormat is LCD16 or LCD32
+ // Pixel geometry information.
+ // only meaningful if fMaskFormat is LCD16 or LCD32
kLCD_Vertical_Flag = 0x0200, // else Horizontal
kLCD_BGROrder_Flag = 0x0400, // else RGB order
- // Generate A8 from LCD source (for GDI), only meaningful if fMaskFormat is kA8
- // Perhaps we can store this (instead) in fMaskFormat, in hight bit?
- kGenA8FromLCD_Flag = 0x0800,
+ // Generate A8 from LCD source (for GDI and CoreGraphics).
+ // only meaningful if fMaskFormat is kA8
+ kGenA8FromLCD_Flag = 0x0800, // could be 0x200 (bit meaning dependent on fMaskFormat)
};
// computed values
« no previous file with comments | « no previous file | src/core/SkScalerContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698