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) {
130 SkScalerContext::Rec* newRec =
131 (SkScalerContext::Rec*)desc->addEntry(kRec_SkDescriptorTag,
142 SkScalerContext* SkScalerContext::getNextContext() {
143 SkScalerContext* next = fNextContext;
159 SkScalerContext* SkScalerContext::getGlyphContext(const SkGlyph& glyph) {
161 SkScalerContext* ctx = this;
185 unsigned SkScalerContext::getBaseGlyphCount(SkUnichar uni) {
186 SkScalerContext* ctx = this;
207 uint16_t SkScalerContext::charToGlyphID(SkUnichar uni) {
208 SkScalerContext* ctx = this;
229 SkUnichar SkScalerContext::glyphIDToChar(uint16_t glyphID) {
230 SkScalerContext* ctx = this;
244 void SkScalerContext::getAdvance(SkGlyph* glyph) {
253 void SkScalerContext::getMetrics(SkGlyph* glyph) {
260 if ((fRec.fFlags & SkScalerContext::kDevKernText_Flag) == 0) {
343 static bool isLCD(const SkScalerContext::Rec& rec) {
501 void SkScalerContext::getImage(const SkGlyph& origGlyph) {
582 void SkScalerContext::getPath(const SkGlyph& glyph, SkPath* path) {
586 void SkScalerContext::getFontMetrics(SkPaint::FontMetrics* mx,
591 SkUnichar SkScalerContext::generateGlyphToChar(uint16_t glyph) {
597 void SkScalerContext::internalGetPath(const SkGlyph& glyph, SkPath* fillPath,
603 if (fRec.fFlags & SkScalerContext::kSubpixelPositioning_Flag) {
682 void SkScalerContext::Rec::getMatrixFrom2x2(SkMatrix* dst) const {
690 void SkScalerContext::Rec::getLocalMatrix(SkMatrix* m) const {
697 void SkScalerContext::Rec::getSingleMatrix(SkMatrix* m) const {
722 class SkScalerContext_Empty : public SkScalerContext {
724 SkScalerContext_Empty(const SkDescriptor* desc) : SkScalerContext(desc) {}
752 extern SkScalerContext* SkCreateColorScalerContext(const SkDescriptor* desc);
754 SkScalerContext* SkScalerContext::Create(const SkDescriptor* desc) {
755 SkScalerContext* c = NULL; //SkCreateColorScalerContext(desc);