/external/skia/src/core/ |
D | SkGlyphCache.h | 43 const SkGlyph& getUnicharAdvance(SkUnichar); 44 const SkGlyph& getGlyphIDAdvance(uint16_t); 53 const SkGlyph& getUnicharMetrics(SkUnichar); 54 const SkGlyph& getGlyphIDMetrics(uint16_t); 61 const SkGlyph& getUnicharMetrics(SkUnichar, SkFixed x, SkFixed y); 62 const SkGlyph& getGlyphIDMetrics(uint16_t, SkFixed x, SkFixed y); 90 const void* findImage(const SkGlyph&); 94 const SkPath* findPath(const SkGlyph&); 195 SkGlyph* lookupMetrics(uint32_t id, MetricsType); 229 SkGlyph* fGlyphHash[kHashCount]; [all …]
|
D | SkGlyphCache.cpp | 50 #define kMinGlphAlloc (sizeof(SkGlyph) * 64) 78 SkGlyph** gptr = fGlyphArray.begin(); in ~SkGlyphCache() 79 SkGlyph** stop = fGlyphArray.end(); in ~SkGlyphCache() 102 uint32_t id = SkGlyph::MakeID(charCode); in unicharToGlyph() 122 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() 124 uint32_t id = SkGlyph::MakeID(charCode); in getUnicharAdvance() 131 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); in getUnicharAdvance() 137 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance() 139 uint32_t id = SkGlyph::MakeID(glyphID); in getGlyphIDAdvance() 141 SkGlyph* glyph = fGlyphHash[index]; in getGlyphIDAdvance() [all …]
|
D | SkScalerContext.h | 22 struct SkGlyph; 186 void getAdvance(SkGlyph*); 187 void getMetrics(SkGlyph*); 188 void getImage(const SkGlyph&); 189 void getPath(const SkGlyph&, SkPath*); 214 virtual void generateAdvance(SkGlyph*) = 0; 215 virtual void generateMetrics(SkGlyph*) = 0; 216 virtual void generateImage(const SkGlyph&) = 0; 217 virtual void generatePath(const SkGlyph&, SkPath*) = 0; 236 void internalGetPath(const SkGlyph& glyph, SkPath* fillPath, [all …]
|
D | SkScalerContext.cpp | 28 void SkGlyph::toMask(SkMask* mask) const { in toMask() 37 size_t SkGlyph::computeImageSize() const { in computeImageSize() 48 void SkGlyph::zeroMetrics() { in zeroMetrics() 183 SkScalerContext* SkScalerContext::getGlyphContext(const SkGlyph& glyph) { in getGlyphContext() 265 void SkScalerContext::getAdvance(SkGlyph* glyph) { in getAdvance() 274 void SkScalerContext::getMetrics(SkGlyph* glyph) { in getMetrics() 512 void SkScalerContext::getImage(const SkGlyph& origGlyph) { in getImage() 513 const SkGlyph* glyph = &origGlyph; in getImage() 514 SkGlyph tmpGlyph; in getImage() 600 void SkScalerContext::getPath(const SkGlyph& glyph, SkPath* path) { in getPath() [all …]
|
D | SkPaint.cpp | 455 const SkGlyph& SkPaint::getUnicharMetrics(SkUnichar text, const SkMatrix* deviceMatrix) { in getUnicharMetrics() 459 const SkGlyph& glyph = cache->getUnicharMetrics(text); in getUnicharMetrics() 465 const SkGlyph& SkPaint::getGlyphMetrics(uint16_t glyphId, const SkMatrix* deviceMatrix) { in getGlyphMetrics() 469 const SkGlyph& glyph = cache->getGlyphIDMetrics(glyphId); in getGlyphMetrics() 475 const void* SkPaint::findImage(const SkGlyph& glyph, const SkMatrix* deviceMatrix) { in findImage() 635 static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache, in sk_getMetrics_utf8_next() 643 static const SkGlyph& sk_getMetrics_utf8_prev(SkGlyphCache* cache, in sk_getMetrics_utf8_prev() 651 static const SkGlyph& sk_getMetrics_utf16_next(SkGlyphCache* cache, in sk_getMetrics_utf16_next() 659 static const SkGlyph& sk_getMetrics_utf16_prev(SkGlyphCache* cache, in sk_getMetrics_utf16_prev() 667 static const SkGlyph& sk_getMetrics_utf32_next(SkGlyphCache* cache, in sk_getMetrics_utf32_next() [all …]
|
/external/skia/legacy/src/core/ |
D | SkGlyphCache.h | 40 const SkGlyph& getUnicharAdvance(SkUnichar); 41 const SkGlyph& getGlyphIDAdvance(uint16_t); 50 const SkGlyph& getUnicharMetrics(SkUnichar); 51 const SkGlyph& getGlyphIDMetrics(uint16_t); 58 const SkGlyph& getUnicharMetrics(SkUnichar, SkFixed x, SkFixed y); 59 const SkGlyph& getGlyphIDMetrics(uint16_t, SkFixed x, SkFixed y); 87 const void* findImage(const SkGlyph&); 91 const SkPath* findPath(const SkGlyph&); 207 SkGlyph* lookupMetrics(uint32_t id, MetricsType); 241 SkGlyph* fGlyphHash[kHashCount]; [all …]
|
D | SkGlyphCache.cpp | 48 #define kMinGlphAlloc (sizeof(SkGlyph) * 64) 76 SkGlyph** gptr = fGlyphArray.begin(); in ~SkGlyphCache() 77 SkGlyph** stop = fGlyphArray.end(); in ~SkGlyphCache() 100 uint32_t id = SkGlyph::MakeID(charCode); in unicharToGlyph() 120 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() 122 uint32_t id = SkGlyph::MakeID(charCode); in getUnicharAdvance() 129 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); in getUnicharAdvance() 135 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance() 137 uint32_t id = SkGlyph::MakeID(glyphID); in getGlyphIDAdvance() 139 SkGlyph* glyph = fGlyphHash[index]; in getGlyphIDAdvance() [all …]
|
D | SkScalerContext.cpp | 24 void SkGlyph::toMask(SkMask* mask) const { in toMask() 33 size_t SkGlyph::computeImageSize() const { in computeImageSize() 44 void SkGlyph::zeroMetrics() { in zeroMetrics() 180 SkScalerContext* SkScalerContext::getGlyphContext(const SkGlyph& glyph) { in getGlyphContext() 262 void SkScalerContext::getAdvance(SkGlyph* glyph) { in getAdvance() 271 void SkScalerContext::getMetrics(SkGlyph* glyph) { in getMetrics() 519 void SkScalerContext::getImage(const SkGlyph& origGlyph) { in getImage() 520 const SkGlyph* glyph = &origGlyph; in getImage() 521 SkGlyph tmpGlyph; in getImage() 600 void SkScalerContext::getPath(const SkGlyph& glyph, SkPath* path) { in getPath() [all …]
|
D | SkPaint.cpp | 422 const SkGlyph& SkPaint::getUnicharMetrics(SkUnichar text, const SkMatrix* deviceMatrix) { in getUnicharMetrics() 426 const SkGlyph& glyph = cache->getUnicharMetrics(text); in getUnicharMetrics() 432 const SkGlyph& SkPaint::getGlyphMetrics(uint16_t glyphId, const SkMatrix* deviceMatrix) { in getGlyphMetrics() 436 const SkGlyph& glyph = cache->getGlyphIDMetrics(glyphId); in getGlyphMetrics() 442 const void* SkPaint::findImage(const SkGlyph& glyph, const SkMatrix* deviceMatrix) { in findImage() 613 static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache, in sk_getMetrics_utf8_next() 621 static const SkGlyph& sk_getMetrics_utf8_prev(SkGlyphCache* cache, in sk_getMetrics_utf8_prev() 629 static const SkGlyph& sk_getMetrics_utf16_next(SkGlyphCache* cache, in sk_getMetrics_utf16_next() 637 static const SkGlyph& sk_getMetrics_utf16_prev(SkGlyphCache* cache, in sk_getMetrics_utf16_prev() 645 static const SkGlyph& sk_getMetrics_glyph_next(SkGlyphCache* cache, in sk_getMetrics_glyph_next() [all …]
|
D | SkDraw.cpp | 1296 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); in measure_text() 1342 const SkGlyph& glyph) { in D1G_NoBounder_RectClip() 1386 const SkGlyph& glyph) { in D1G_NoBounder_RgnClip() 1423 const SkGlyph& glyph) { in D1G_Bounder() 1464 const SkGlyph& glyph) { in D1G_Bounder_AAClip() 1595 fx += SK_FixedHalf >> SkGlyph::kSubBits; in drawText() 1596 fy += SK_FixedHalf >> SkGlyph::kSubBits; in drawText() 1619 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask); in drawText() 1634 typedef void (*AlignProc)(const SkPoint&, const SkGlyph&, SkIPoint*); 1636 static void leftAlignProc(const SkPoint& loc, const SkGlyph& glyph, in leftAlignProc() [all …]
|
/external/skia/legacy/include/core/ |
D | SkScalerContext.h | 37 struct SkGlyph { struct 302 void getAdvance(SkGlyph*); 303 void getMetrics(SkGlyph*); 304 void getImage(const SkGlyph&); 305 void getPath(const SkGlyph&, SkPath*); 328 virtual void generateAdvance(SkGlyph*) = 0; 329 virtual void generateMetrics(SkGlyph*) = 0; 330 virtual void generateImage(const SkGlyph&) = 0; 331 virtual void generatePath(const SkGlyph&, SkPath*) = 0; 351 void internalGetPath(const SkGlyph& glyph, SkPath* fillPath, [all …]
|
D | SkPaint.h | 28 struct SkGlyph; 40 typedef const SkGlyph& (*SkDrawCacheProc)(SkGlyphCache*, const char**, 43 typedef const SkGlyph& (*SkMeasureCacheProc)(SkGlyphCache*, const char**); 888 const SkGlyph& getUnicharMetrics(SkUnichar, const SkMatrix*); 889 const SkGlyph& getGlyphMetrics(uint16_t, const SkMatrix*); 890 const void* findImage(const SkGlyph&, const SkMatrix*);
|
D | SkBounder.h | 17 struct SkGlyph; 38 bool doIRectGlyph(const SkIRect& , int x, int y, const SkGlyph&);
|
/external/skia/src/ports/ |
D | SkFontHost_ascender.cpp | 34 virtual void generateMetrics(SkGlyph* glyph); 35 virtual void generateImage(const SkGlyph& glyph); 36 virtual void generatePath(const SkGlyph& glyph, SkPath* path); 122 void SkScalerContext_Ascender::generateMetrics(SkGlyph* glyph) in generateMetrics() 157 void SkScalerContext_Ascender::generateImage(const SkGlyph& glyph) in generateImage() 179 void SkScalerContext_Ascender::generatePath(const SkGlyph& glyph, SkPath* path) in generatePath()
|
D | SkFontHost_FreeType_common.h | 39 void generateGlyphImage(FT_Face face, const SkGlyph& glyph); 40 void generateGlyphPath(FT_Face face, const SkGlyph& glyph, SkPath* path);
|
D | SkFontHost_mac_atsui.cpp | 82 virtual void generateAdvance(SkGlyph* glyph); 83 virtual void generateMetrics(SkGlyph* glyph); 84 virtual void generateImage(const SkGlyph& glyph); 85 virtual void generatePath(const SkGlyph& glyph, SkPath* path); 208 static void set_glyph_metrics_on_error(SkGlyph* glyph) { in set_glyph_metrics_on_error() 219 void SkScalerContext_Mac::generateAdvance(SkGlyph* glyph) { in generateAdvance() 223 void SkScalerContext_Mac::generateMetrics(SkGlyph* glyph) { in generateMetrics() 256 void SkScalerContext_Mac::generateImage(const SkGlyph& glyph) in generateImage() 411 void SkScalerContext_Mac::generatePath(const SkGlyph& glyph, SkPath* path) in generatePath()
|
D | SkFontHost_win.cpp | 79 static void apply_outset(SkGlyph* glyph, const SkIRect& outset) { in apply_outset() 446 const void* draw(const SkGlyph&, bool isBW, size_t* srcRBPtr); 465 const void* HDCOffscreen::draw(const SkGlyph& glyph, bool isBW, in draw() 549 virtual void generateAdvance(SkGlyph* glyph) SK_OVERRIDE; 550 virtual void generateMetrics(SkGlyph* glyph) SK_OVERRIDE; 551 virtual void generateImage(const SkGlyph& glyph) SK_OVERRIDE; 552 virtual void generatePath(const SkGlyph& glyph, SkPath* path) SK_OVERRIDE; 779 void SkScalerContext_Windows::generateAdvance(SkGlyph* glyph) { in generateAdvance() 783 void SkScalerContext_Windows::generateMetrics(SkGlyph* glyph) { in generateMetrics() 1043 const SkGlyph& glyph) { in rgb_to_bw() [all …]
|
D | SkFontHost_FreeType.cpp | 174 virtual void generateAdvance(SkGlyph* glyph) SK_OVERRIDE; 175 virtual void generateMetrics(SkGlyph* glyph) SK_OVERRIDE; 176 virtual void generateImage(const SkGlyph& glyph) SK_OVERRIDE; 177 virtual void generatePath(const SkGlyph& glyph, SkPath* path) SK_OVERRIDE; 193 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, 196 void updateGlyphIfLCD(SkGlyph* glyph); 953 void SkScalerContext_FreeType::generateAdvance(SkGlyph* glyph) { in generateAdvance() 986 void SkScalerContext_FreeType::getBBoxForCurrentGlyph(SkGlyph* glyph, in getBBoxForCurrentGlyph() 1025 void SkScalerContext_FreeType::updateGlyphIfLCD(SkGlyph* glyph) { in updateGlyphIfLCD() 1037 void SkScalerContext_FreeType::generateMetrics(SkGlyph* glyph) { in generateMetrics() [all …]
|
D | SkFontHost_win_dw.cpp | 64 const void* draw(const SkGlyph&, bool isBW); 108 const void* DWriteOffscreen::draw(const SkGlyph& glyph, bool isBW) { in draw() 490 virtual void generateAdvance(SkGlyph* glyph) SK_OVERRIDE; 491 virtual void generateMetrics(SkGlyph* glyph) SK_OVERRIDE; 492 virtual void generateImage(const SkGlyph& glyph) SK_OVERRIDE; 493 virtual void generatePath(const SkGlyph& glyph, SkPath* path) SK_OVERRIDE; 744 void SkScalerContext_Windows::generateAdvance(SkGlyph* glyph) { 779 void SkScalerContext_Windows::generateMetrics(SkGlyph* glyph) { 884 static void bilevel_to_bw(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph) { 923 static void rgb_to_a8(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, const uint8_t* table8) { [all …]
|
/external/skia/legacy/src/ports/ |
D | SkFontHost_ascender.cpp | 34 virtual void generateMetrics(SkGlyph* glyph); 35 virtual void generateImage(const SkGlyph& glyph); 36 virtual void generatePath(const SkGlyph& glyph, SkPath* path); 122 void SkScalerContext_Ascender::generateMetrics(SkGlyph* glyph) in generateMetrics() 157 void SkScalerContext_Ascender::generateImage(const SkGlyph& glyph) in generateImage() 179 void SkScalerContext_Ascender::generatePath(const SkGlyph& glyph, SkPath* path) in generatePath()
|
D | SkFontHost_mac_atsui.cpp | 82 virtual void generateAdvance(SkGlyph* glyph); 83 virtual void generateMetrics(SkGlyph* glyph); 84 virtual void generateImage(const SkGlyph& glyph); 85 virtual void generatePath(const SkGlyph& glyph, SkPath* path); 208 static void set_glyph_metrics_on_error(SkGlyph* glyph) { in set_glyph_metrics_on_error() 219 void SkScalerContext_Mac::generateAdvance(SkGlyph* glyph) { in generateAdvance() 223 void SkScalerContext_Mac::generateMetrics(SkGlyph* glyph) { in generateMetrics() 256 void SkScalerContext_Mac::generateImage(const SkGlyph& glyph) in generateImage() 411 void SkScalerContext_Mac::generatePath(const SkGlyph& glyph, SkPath* path) in generatePath()
|
D | SkFontHost_win.cpp | 308 const void* draw(const SkGlyph&, bool isBW, SkGdiRGB fgColor, 329 const void* HDCOffscreen::draw(const SkGlyph& glyph, bool isBW, in draw() 421 virtual void generateAdvance(SkGlyph* glyph); 422 virtual void generateMetrics(SkGlyph* glyph); 423 virtual void generateImage(const SkGlyph& glyph); 424 virtual void generatePath(const SkGlyph& glyph, SkPath* path); 581 void SkScalerContext_Windows::generateAdvance(SkGlyph* glyph) { in generateAdvance() 585 void SkScalerContext_Windows::generateMetrics(SkGlyph* glyph) { in generateMetrics() 772 const SkGlyph& glyph, int32_t xorMask) { in rgb_to_bw() 815 const SkGlyph& glyph, int32_t xorMask) { in rgb_to_a8() [all …]
|
/external/skia/include/core/ |
D | SkBounder.h | 17 struct SkGlyph; 40 bool doIRectGlyph(const SkIRect& , int x, int y, const SkGlyph&);
|
D | SkPaint.h | 28 struct SkGlyph; 41 typedef const SkGlyph& (*SkDrawCacheProc)(SkGlyphCache*, const char**, 44 typedef const SkGlyph& (*SkMeasureCacheProc)(SkGlyphCache*, const char**); 886 const SkGlyph& getUnicharMetrics(SkUnichar, const SkMatrix*); 887 const SkGlyph& getGlyphMetrics(uint16_t, const SkMatrix*); 888 const void* findImage(const SkGlyph&, const SkMatrix*);
|
/external/skia/src/gpu/ |
D | SkGrFontScaler.cpp | 105 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), in getPackedGlyphBounds() 142 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), in getPackedGlyphImage() 194 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID); in getGlyphPath()
|