Lines Matching defs:SkScalerContext
10 #include "SkScalerContext.h"
83 SkScalerContext::SkScalerContext(SkTypeface* typeface, const SkDescriptor* desc)
99 , fPreBlend(fMaskFilter ? SkMaskGamma::PreBlend() : SkScalerContext::GetMaskPreBlend(fRec))
100 , fPreBlendForFilter(fMaskFilter ? SkScalerContext::GetMaskPreBlend(fRec)
128 SkScalerContext::~SkScalerContext() {
138 SkScalerContext* SkScalerContext::allocNextContext() const {
157 SkScalerContext::Rec* newRec =
158 (SkScalerContext::Rec*)desc->addEntry(kRec_SkDescriptorTag,
175 SkScalerContext* SkScalerContext::getNextContext() {
176 SkScalerContext* next = fNextContext;
192 SkScalerContext* SkScalerContext::getGlyphContext(const SkGlyph& glyph) {
194 SkScalerContext* ctx = this;
211 SkScalerContext* SkScalerContext::getContextFromChar(SkUnichar uni,
213 SkScalerContext* ctx = this;
231 SkFontID SkScalerContext::findTypefaceIdForChar(SkUnichar uni) {
232 SkScalerContext* ctx = this->getContextFromChar(uni, NULL);
246 unsigned SkScalerContext::getBaseGlyphCount(SkUnichar uni) {
247 SkScalerContext* ctx = this->getContextFromChar(uni, NULL);
260 uint16_t SkScalerContext::charToGlyphID(SkUnichar uni) {
263 SkScalerContext* ctx = this->getContextFromChar(uni, &tempID);
276 SkUnichar SkScalerContext::glyphIDToChar(uint16_t glyphID) {
277 SkScalerContext* ctx = this;
291 void SkScalerContext::getAdvance(SkGlyph* glyph) {
300 void SkScalerContext::getMetrics(SkGlyph* glyph) {
307 if ((fRec.fFlags & SkScalerContext::kDevKernText_Flag) == 0) {
679 void SkScalerContext::getImage(const SkGlyph& origGlyph) {
797 void SkScalerContext::getPath(const SkGlyph& glyph, SkPath* path) {
801 void SkScalerContext::getFontMetrics(SkPaint::FontMetrics* fm) {
814 SkUnichar SkScalerContext::generateGlyphToChar(uint16_t glyph) {
820 void SkScalerContext::internalGetPath(const SkGlyph& glyph, SkPath* fillPath,
826 if (fRec.fFlags & SkScalerContext::kSubpixelPositioning_Flag) {
947 class SkScalerContext_Empty : public SkScalerContext {
950 : SkScalerContext(face, desc) {}
978 extern SkScalerContext* SkCreateColorScalerContext(const SkDescriptor* desc);
980 SkScalerContext* SkTypeface::createScalerContext(const SkDescriptor* desc,
982 SkScalerContext* c = this->onCreateScalerContext(desc);