Home | History | Annotate | Download | only in core

Lines Matching refs:SkFontLCDConfig

13 //TODO: get everyone to stop using SkFontLCDConfig::SetSubpixel* and remove this import.
14 #include "SkFontLCDConfig.h"
63 //TODO: get everyone to stop using SkFontLCDConfig::SetSubpixel* and replace these calls with constants.
64 static Orientation fromOldOrientation(SkFontLCDConfig::LCDOrientation orientation) {
66 case SkFontLCDConfig::kHorizontal_LCDOrientation: return kHorizontal_Orientation;
67 case SkFontLCDConfig::kVertical_LCDOrientation: return kVertical_Orientation;
71 static Layout fromOldLayout(SkFontLCDConfig::LCDOrder order) {
73 case SkFontLCDConfig::kRGB_LCDOrder: return kRGB_Layout;
74 case SkFontLCDConfig::kBGR_LCDOrder: return kBGR_Layout;
80 Orientation orientation = fromOldOrientation(SkFontLCDConfig::GetSubpixelOrientation()); //kHorizontal_Orientation
81 Layout layout = fromOldLayout(SkFontLCDConfig::GetSubpixelOrder()); //kRGB_Layout