Lines Matching refs:SkScalerContext
10 #include "SkScalerContext.h"
79 SkScalerContext::SkScalerContext(SkTypeface* typeface, const SkDescriptor* desc)
92 , fPreBlend(fMaskFilter ? SkMaskGamma::PreBlend() : SkScalerContext::GetMaskPreBlend(fRec))
93 , fPreBlendForFilter(fMaskFilter ? SkScalerContext::GetMaskPreBlend(fRec)
98 SkDebugf("SkScalerContext checksum %x count %d length %d\n",
112 SkScalerContext::~SkScalerContext() {
118 void SkScalerContext::getAdvance(SkGlyph* glyph) {
127 void SkScalerContext::getMetrics(SkGlyph* glyph) {
134 if ((fRec.fFlags & SkScalerContext::kDevKernText_Flag) == 0) {
470 void SkScalerContext::getImage(const SkGlyph& origGlyph) {
588 void SkScalerContext::getPath(const SkGlyph& glyph, SkPath* path) {
592 void SkScalerContext::getFontMetrics(SkPaint::FontMetrics* fm) {
596 SkUnichar SkScalerContext::generateGlyphToChar(uint16_t glyph) {
602 void SkScalerContext::internalGetPath(const SkGlyph& glyph, SkPath* fillPath,
607 if (fRec.fFlags & SkScalerContext::kSubpixelPositioning_Flag) {
840 class SkScalerContext_Empty : public SkScalerContext {
843 : SkScalerContext(face, desc) {}
867 extern SkScalerContext* SkCreateColorScalerContext(const SkDescriptor* desc);
869 SkScalerContext* SkTypeface::createScalerContext(const SkDescriptor* desc,
871 SkScalerContext* c = this->onCreateScalerContext(desc);