Lines Matching refs:SkScalerContext
58 static bool isLCD(const SkScalerContext::Rec& rec) {
67 static bool isAxisAligned(const SkScalerContext::Rec& rec) {
73 static bool needToRenderWithSkia(const SkScalerContext::Rec& rec) {
257 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override;
531 class SkScalerContext_GDI : public SkScalerContext {
584 static BYTE compute_quality(const SkScalerContext::Rec& rec) {
591 if (rec.fFlags & SkScalerContext::kGenA8FromLCD_Flag) {
601 : SkScalerContext(rawTypeface, desc)
1253 if (isAA && !(fRec.fFlags & SkScalerContext::kGenA8FromLCD_Flag)) {
2294 SkScalerContext* LogFontTypeface::onCreateScalerContext(const SkDescriptor* desc) const {
2305 if (rec->fFlags & SkScalerContext::kLCD_BGROrder_Flag ||
2306 rec->fFlags & SkScalerContext::kLCD_Vertical_Flag)
2309 rec->fFlags |= SkScalerContext::kGenA8FromLCD_Flag;
2312 unsigned flagsWeDontSupport = SkScalerContext::kVertical_Flag |
2313 SkScalerContext::kDevKernText_Flag |
2314 SkScalerContext::kForceAutohinting_Flag |
2315 SkScalerContext::kEmbeddedBitmapText_Flag |
2316 SkScalerContext::kEmbolden_Flag |
2317 SkScalerContext::kLCD_BGROrder_Flag |
2318 SkScalerContext::kLCD_Vertical_Flag;
2336 //rec->fFlags &= ~SkScalerContext::kSubpixelPositioning_Flag;
2355 rec->fFlags &= ~SkScalerContext::kGenA8FromLCD_Flag;