Home | History | Annotate | Download | only in core

Lines Matching defs:SkScalerContext

10 #include "SkScalerContext.h"
78 SkScalerContext::SkScalerContext(const SkDescriptor* desc)
92 , fPreBlend(fMaskFilter ? SkMaskGamma::PreBlend() : SkScalerContext::GetMaskPreBlend(fRec))
93 , fPreBlendForFilter(fMaskFilter ? SkScalerContext::GetMaskPreBlend(fRec)
112 SkScalerContext::~SkScalerContext() {
120 static SkScalerContext* allocNextContext(const SkScalerContext::Rec& rec) {
139 SkScalerContext::Rec* newRec =
140 (SkScalerContext::Rec*)desc->addEntry(kRec_SkDescriptorTag,
151 SkScalerContext* SkScalerContext::getNextContext() {
152 SkScalerContext* next = fNextContext;
168 SkScalerContext* SkScalerContext::getContextFromChar(SkUnichar uni, unsigned& glyphID) {
169 SkScalerContext* ctx = this;
183 SkScalerContext* SkScalerContext::getGlyphContext(const SkGlyph& glyph) {
185 SkScalerContext* ctx = this;
203 SkFontID SkScalerContext::findTypefaceIdForChar(SkUnichar uni) {
205 SkScalerContext* ctx = getContextFromChar(uni, glyphID);
219 unsigned SkScalerContext::getBaseGlyphCount(SkUnichar uni) {
221 SkScalerContext* ctx = getContextFromChar(uni, glyphID);
234 uint16_t SkScalerContext::charToGlyphID(SkUnichar uni) {
237 SkScalerContext* ctx = getContextFromChar(uni, glyphID);
250 SkUnichar SkScalerContext::glyphIDToChar(uint16_t glyphID) {
251 SkScalerContext* ctx = this;
265 void SkScalerContext::getAdvance(SkGlyph* glyph) {
274 void SkScalerContext::getMetrics(SkGlyph* glyph) {
281 if ((fRec.fFlags & SkScalerContext::kDevKernText_Flag) == 0) {
512 void SkScalerContext::getImage(const SkGlyph& origGlyph) {
600 void SkScalerContext::getPath(const SkGlyph& glyph, SkPath* path) {
604 void SkScalerContext::getFontMetrics(SkPaint::FontMetrics* mx,
609 SkUnichar SkScalerContext::generateGlyphToChar(uint16_t glyph) {
615 void SkScalerContext::internalGetPath(const SkGlyph& glyph, SkPath* fillPath,
621 if (fRec.fFlags & SkScalerContext::kSubpixelPositioning_Flag) {
745 class SkScalerContext_Empty : public SkScalerContext {
747 SkScalerContext_Empty(const SkDescriptor* desc) : SkScalerContext(desc) {}
775 extern SkScalerContext* SkCreateColorScalerContext(const SkDescriptor* desc);
777 SkScalerContext* SkScalerContext::Create(const SkDescriptor* desc) {
778 SkScalerContext* c = NULL; //SkCreateColorScalerContext(desc);