Lines Matching refs:SkFontLCDConfig
4 //TODO: get everyone to stop using SkFontLCDConfig::SetSubpixel* and remove this import.
5 #include "SkFontLCDConfig.h"
54 //TODO: get everyone to stop using SkFontLCDConfig::SetSubpixel* and replace these calls with constants.
55 static Orientation fromOldOrientation(SkFontLCDConfig::LCDOrientation orientation) {
57 case SkFontLCDConfig::kHorizontal_LCDOrientation: return kHorizontal_Orientation;
58 case SkFontLCDConfig::kVertical_LCDOrientation: return kVertical_Orientation;
62 static Layout fromOldLayout(SkFontLCDConfig::LCDOrder order) {
64 case SkFontLCDConfig::kRGB_LCDOrder: return kRGB_Layout;
65 case SkFontLCDConfig::kBGR_LCDOrder: return kBGR_Layout;
71 Orientation orientation = fromOldOrientation(SkFontLCDConfig::GetSubpixelOrientation()); //kHorizontal_Orientation
72 Layout layout = fromOldLayout(SkFontLCDConfig::GetSubpixelOrder()); //kRGB_Layout