Lines Matching defs:SkScalerContext
10 #include "SkScalerContext.h"
74 SkScalerContext::SkScalerContext(const SkDescriptor* desc)
109 SkScalerContext::~SkScalerContext() {
117 static SkScalerContext* allocNextContext(const SkScalerContext::Rec& rec) {
136 SkScalerContext::Rec* newRec =
137 (SkScalerContext::Rec*)desc->addEntry(kRec_SkDescriptorTag,
148 SkScalerContext* SkScalerContext::getNextContext() {
149 SkScalerContext* next = fNextContext;
165 SkScalerContext* SkScalerContext::getContextFromChar(SkUnichar uni, unsigned& glyphID) {
166 SkScalerContext* ctx = this;
180 SkScalerContext* SkScalerContext::getGlyphContext(const SkGlyph& glyph) {
182 SkScalerContext* ctx = this;
200 SkFontID SkScalerContext::findTypefaceIdForChar(SkUnichar uni) {
202 SkScalerContext* ctx = getContextFromChar(uni, glyphID);
216 unsigned SkScalerContext::getBaseGlyphCount(SkUnichar uni) {
218 SkScalerContext* ctx = getContextFromChar(uni, glyphID);
231 uint16_t SkScalerContext::charToGlyphID(SkUnichar uni) {
234 SkScalerContext* ctx = getContextFromChar(uni, glyphID);
247 SkUnichar SkScalerContext::glyphIDToChar(uint16_t glyphID) {
248 SkScalerContext* ctx = this;
262 void SkScalerContext::getAdvance(SkGlyph* glyph) {
271 void SkScalerContext::getMetrics(SkGlyph* glyph) {
278 if ((fRec.fFlags & SkScalerContext::kDevKernText_Flag) == 0) {
361 static bool isLCD(const SkScalerContext::Rec& rec) {
519 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) {
700 void SkScalerContext::Rec::getMatrixFrom2x2(SkMatrix* dst) const {
708 void SkScalerContext::Rec::getLocalMatrix(SkMatrix* m) const {
715 void SkScalerContext::Rec::getSingleMatrix(SkMatrix* m) const {
740 class SkScalerContext_Empty : public SkScalerContext {
742 SkScalerContext_Empty(const SkDescriptor* desc) : SkScalerContext(desc) {}
770 extern SkScalerContext* SkCreateColorScalerContext(const SkDescriptor* desc);
772 SkScalerContext* SkScalerContext::Create(const SkDescriptor* desc) {
773 SkScalerContext* c = NULL; //SkCreateColorScalerContext(desc);