/external/skia/src/core/ |
D | SkGlyphCache.cpp | 54 #define kMinGlphAlloc (sizeof(SkGlyph) * 64) 82 SkGlyph** gptr = fGlyphArray.begin(); in ~SkGlyphCache() 83 SkGlyph** stop = fGlyphArray.end(); in ~SkGlyphCache() 101 AutoCheckForNull(const SkTDArray<SkGlyph*>& array) : fArray(array) { in AutoCheckForNull() 106 const SkTDArray<SkGlyph*>& array = fArray; in ~AutoCheckForNull() 112 const SkTDArray<SkGlyph*>& fArray; 121 uint32_t id = SkGlyph::MakeID(charCode); in unicharToGlyph() 137 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() 139 uint32_t id = SkGlyph::MakeID(charCode); in getUnicharAdvance() 146 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); in getUnicharAdvance() [all …]
|
D | SkGlyphCache.h | 48 const SkGlyph& getUnicharAdvance(SkUnichar); 49 const SkGlyph& getGlyphIDAdvance(uint16_t); 58 const SkGlyph& getUnicharMetrics(SkUnichar); 59 const SkGlyph& getGlyphIDMetrics(uint16_t); 66 const SkGlyph& getUnicharMetrics(SkUnichar, SkFixed x, SkFixed y); 67 const SkGlyph& getGlyphIDMetrics(uint16_t, SkFixed x, SkFixed y); 83 const void* findImage(const SkGlyph&); 87 const SkPath* findPath(const SkGlyph&); 166 SkGlyph* lookupMetrics(uint32_t id, MetricsType); 200 SkGlyph* fGlyphHash[kHashCount]; [all …]
|
D | SkScalerContext.cpp | 39 void SkGlyph::toMask(SkMask* mask) const { in toMask() 48 size_t SkGlyph::computeImageSize() const { in computeImageSize() 63 void SkGlyph::zeroMetrics() { in zeroMetrics() 74 void SkGlyph::expandA8ToLCD() const { in expandA8ToLCD() 223 SkScalerContext* SkScalerContext::getGlyphContext(const SkGlyph& glyph) { in getGlyphContext() 282 void SkScalerContext::getAdvance(SkGlyph* glyph) { in getAdvance() 291 void SkScalerContext::getMetrics(SkGlyph* glyph) { in getMetrics() 379 void SkScalerContext::getImage(const SkGlyph& origGlyph) { in getImage() 380 const SkGlyph* glyph = &origGlyph; in getImage() 381 SkGlyph tmpGlyph; in getImage() [all …]
|
D | SkPaint.cpp | 453 static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache, const char** text) in sk_getMetrics_utf8_next() 461 static const SkGlyph& sk_getMetrics_utf8_prev(SkGlyphCache* cache, const char** text) in sk_getMetrics_utf8_prev() 469 static const SkGlyph& sk_getMetrics_utf16_next(SkGlyphCache* cache, const char** text) in sk_getMetrics_utf16_next() 477 static const SkGlyph& sk_getMetrics_utf16_prev(SkGlyphCache* cache, const char** text) in sk_getMetrics_utf16_prev() 485 static const SkGlyph& sk_getMetrics_glyph_next(SkGlyphCache* cache, const char** text) in sk_getMetrics_glyph_next() 497 static const SkGlyph& sk_getMetrics_glyph_prev(SkGlyphCache* cache, const char** text) in sk_getMetrics_glyph_prev() 511 static const SkGlyph& sk_getAdvance_utf8_next(SkGlyphCache* cache, const char** text) in sk_getAdvance_utf8_next() 519 static const SkGlyph& sk_getAdvance_utf8_prev(SkGlyphCache* cache, const char** text) in sk_getAdvance_utf8_prev() 527 static const SkGlyph& sk_getAdvance_utf16_next(SkGlyphCache* cache, const char** text) in sk_getAdvance_utf16_next() 535 static const SkGlyph& sk_getAdvance_utf16_prev(SkGlyphCache* cache, const char** text) in sk_getAdvance_utf16_prev() [all …]
|
D | SkDrawProcs.h | 16 typedef void (*Proc)(const SkDraw1Glyph&, const SkGlyph&, int x, int y);
|
D | SkDraw.cpp | 1196 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); in measure_text() 1281 const SkGlyph& glyph, int left, int top) { in D1G_NoBounder_RectClip() 1322 const SkGlyph& glyph, int left, int top) { in D1G_NoBounder_RgnClip() 1356 const SkGlyph& glyph, int left, int top) { in D1G_Bounder() 1527 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx, fy); in drawText() 1547 typedef void (*AlignProc)(const SkPoint&, const SkGlyph&, SkIPoint*); 1549 static void leftAlignProc(const SkPoint& loc, const SkGlyph& glyph, in leftAlignProc() 1554 static void centerAlignProc(const SkPoint& loc, const SkGlyph& glyph, in centerAlignProc() 1560 static void rightAlignProc(const SkPoint& loc, const SkGlyph& glyph, in rightAlignProc() 1687 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx, fy); in drawPosText() [all …]
|
D | SkGraphics.cpp | 182 typesizeline(SkGlyph), in Init()
|
/external/skia/include/core/ |
D | SkScalerContext.h | 34 struct SkGlyph { struct 221 void getAdvance(SkGlyph*); 222 void getMetrics(SkGlyph*); 223 void getImage(const SkGlyph&); 224 void getPath(const SkGlyph&, SkPath*); 237 virtual void generateAdvance(SkGlyph*) = 0; 238 virtual void generateMetrics(SkGlyph*) = 0; 239 virtual void generateImage(const SkGlyph&) = 0; 240 virtual void generatePath(const SkGlyph&, SkPath*) = 0; 252 void internalGetPath(const SkGlyph& glyph, SkPath* fillPath, [all …]
|
D | SkBounder.h | 24 struct SkGlyph; 43 bool doIRectGlyph(const SkIRect& , int x, int y, const SkGlyph&);
|
D | SkPaint.h | 29 struct SkGlyph; 41 typedef const SkGlyph& (*SkDrawCacheProc)(SkGlyphCache*, const char**, 44 typedef const SkGlyph& (*SkMeasureCacheProc)(SkGlyphCache*, const char**);
|
D | SkAutoKern.h | 35 SkFixed adjust(const SkGlyph& glyph) in adjust()
|
/external/skia/src/gl/ |
D | SkGLTextCache.h | 6 class SkGlyph; variable 37 Strike* findGlyph(const SkGlyph&, int* offset); 38 Strike* addGlyphAndBind(const SkGlyph&, const uint8_t*, int* offset); 64 Strike* findGlyph(const SkGlyph&, int* offset); 71 Strike* addGlyphAndBind(const SkGlyph&, const uint8_t image[], int* offset);
|
D | SkGLTextCache.cpp | 43 SkGLTextCache::Strike::findGlyph(const SkGlyph& glyph, int* offset) { in findGlyph() 72 SkGLTextCache::Strike::addGlyphAndBind(const SkGlyph& glyph, in addGlyphAndBind() 152 SkGLTextCache::Strike* SkGLTextCache::findGlyph(const SkGlyph& glyph, in findGlyph() 170 SkGLTextCache::Strike* SkGLTextCache::addGlyphAndBind(const SkGlyph& glyph, in addGlyphAndBind()
|
D | SkGLDevice.cpp | 35 void addQuad(GLuint texture, int x, int y, const SkGlyph& glyph, in addQuad() 599 static void SkGL_Draw1Glyph(const SkDraw1Glyph& state, const SkGlyph& glyph, in SkGL_Draw1Glyph()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 112 virtual void generateAdvance(SkGlyph* glyph); 113 virtual void generateMetrics(SkGlyph* glyph); 114 virtual void generateImage(const SkGlyph& glyph); 115 virtual void generatePath(const SkGlyph& glyph, SkPath* path); 535 void SkScalerContext_FreeType::generateAdvance(SkGlyph* glyph) { in generateAdvance() 568 void SkScalerContext_FreeType::generateMetrics(SkGlyph* glyph) { in generateMetrics() 652 extern void CopyFreetypeBitmapToLCDMask(const SkGlyph& dest, const FT_Bitmap& source); 653 extern void CopyFreetypeBitmapToVerticalLCDMask(const SkGlyph& dest, const FT_Bitmap& source); 659 void SkScalerContext_FreeType::generateImage(const SkGlyph& glyph) { in generateImage() 838 void SkScalerContext_FreeType::generatePath(const SkGlyph& glyph, in generatePath()
|
/external/skia/src/views/ |
D | SkTextBox.cpp | 46 const SkGlyph& glyph = cache->getUnicharMetrics(uni); in linebreak()
|