Lines Matching defs:SkScalerContext
1 /* libs/graphics/sgl/SkScalerContext.cpp
18 #include "SkScalerContext.h"
131 SkScalerContext::SkScalerContext(const SkDescriptor* desc)
171 SkScalerContext::~SkScalerContext() {
179 static SkScalerContext* allocNextContext(const SkScalerContext::Rec& rec) {
192 SkScalerContext::Rec* newRec =
193 (SkScalerContext::Rec*)desc->addEntry(kRec_SkDescriptorTag,
204 SkScalerContext* SkScalerContext::getNextContext() {
205 SkScalerContext* next = fNextContext;
221 SkScalerContext* SkScalerContext::getGlyphContext(const SkGlyph& glyph) {
223 SkScalerContext* ctx = this;
243 uint16_t SkScalerContext::charToGlyphID(SkUnichar uni) {
244 SkScalerContext* ctx = this;
265 SkUnichar SkScalerContext::glyphIDToChar(uint16_t glyphID) {
266 SkScalerContext* ctx = this;
280 void SkScalerContext::getAdvance(SkGlyph* glyph) {
289 void SkScalerContext::getMetrics(SkGlyph* glyph) {
296 if ((fRec.fFlags & SkScalerContext::kDevKernText_Flag) == 0) {
379 void SkScalerContext::getImage(const SkGlyph& origGlyph) {
517 void SkScalerContext::getPath(const SkGlyph& glyph, SkPath* path) {
521 void SkScalerContext::getFontMetrics(SkPaint::FontMetrics* mx,
526 SkUnichar SkScalerContext::generateGlyphToChar(uint16_t glyph) {
532 void SkScalerContext::internalGetPath(const SkGlyph& glyph, SkPath* fillPath,
609 void SkScalerContext::Rec::getMatrixFrom2x2(SkMatrix* dst) const {
617 void SkScalerContext::Rec::getLocalMatrix(SkMatrix* m) const {
624 void SkScalerContext::Rec::getSingleMatrix(SkMatrix* m) const {
637 class SkScalerContext_Empty : public SkScalerContext {
639 SkScalerContext_Empty(const SkDescriptor* desc) : SkScalerContext(desc) {}
667 extern SkScalerContext* SkCreateColorScalerContext(const SkDescriptor* desc);
669 SkScalerContext* SkScalerContext::Create(const SkDescriptor* desc) {
670 SkScalerContext* c = NULL; //SkCreateColorScalerContext(desc);