/external/skia/src/core/ |
D | SkGlyphCache.h | 40 const SkGlyph& getUnicharAdvance(SkUnichar); 41 const SkGlyph& getGlyphIDAdvance(uint16_t); 49 const SkGlyph& getUnicharMetrics(SkUnichar); 50 const SkGlyph& getGlyphIDMetrics(uint16_t); 56 const SkGlyph& getUnicharMetrics(SkUnichar, SkFixed x, SkFixed y); 57 const SkGlyph& getGlyphIDMetrics(uint16_t, SkFixed x, SkFixed y); 78 const void* findImage(const SkGlyph&); 84 bool yAxis, SkGlyph* , SkScalar* array, int* count); 89 const SkPath* findPath(const SkGlyph&); 223 SkGlyph* lookupByPackedGlyphID(PackedGlyphID packedGlyphID, MetricsType type); [all …]
|
D | SkGlyphCache.cpp | 36 #define kMinAllocAmount ((sizeof(SkGlyph) + kMinGlyphImageSize) * kMinGlyphCount) 56 fGlyphMap.foreach ([](SkGlyph* g) { in ~SkGlyphCache() 72 fPackedUnicharIDToPackedGlyphID[i].fPackedUnicharID = SkGlyph::kImpossibleID; in getCharGlyphRec() 90 PackedUnicharID packedUnicharID = SkGlyph::MakeID(charCode); in unicharToGlyph() 94 return SkGlyph::ID2Code(rec.fPackedGlyphID); in unicharToGlyph() 114 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() 119 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance() 121 PackedGlyphID packedGlyphID = SkGlyph::MakeID(glyphID); in getGlyphIDAdvance() 127 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics() 132 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode, SkFixed x, SkFixed y) { in getUnicharMetrics() [all …]
|
D | SkScalerContext.h | 17 class SkGlyph; variable 223 void getAdvance(SkGlyph*); 224 void getMetrics(SkGlyph*); 225 void getImage(const SkGlyph&); 226 void getPath(const SkGlyph&, SkPath*); 254 virtual void generateAdvance(SkGlyph* glyph) = 0; 261 virtual void generateMetrics(SkGlyph* glyph) = 0; 272 virtual void generateImage(const SkGlyph& glyph) = 0; 281 virtual void generatePath(const SkGlyph& glyph, SkPath* path) = 0; 318 void internalGetPath(const SkGlyph& glyph, SkPath* fillPath,
|
D | SkGlyph.h | 26 class SkGlyph { 54 static const SkFixed kSubpixelRound = SK_FixedHalf >> SkGlyph::kSubBits; 72 void initGlyphIdFrom(const SkGlyph& glyph) { in initGlyphIdFrom() 137 static uint32_t GetKey(const SkGlyph& glyph) { in GetKey()
|
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() 118 void SkScalerContext::getAdvance(SkGlyph* glyph) { in getAdvance() 127 void SkScalerContext::getMetrics(SkGlyph* glyph) { in getMetrics() 470 void SkScalerContext::getImage(const SkGlyph& origGlyph) { in getImage() 471 const SkGlyph* glyph = &origGlyph; in getImage() 472 SkGlyph tmpGlyph; in getImage() 588 void SkScalerContext::getPath(const SkGlyph& glyph, SkPath* path) { in getPath() 602 void SkScalerContext::internalGetPath(const SkGlyph& glyph, SkPath* fillPath, in internalGetPath() [all …]
|
D | SkFindAndPlaceGlyph.h | 129 virtual const SkGlyph& lookupGlyph(const char** text) = 0; 130 virtual const SkGlyph& lookupGlyphXY(const char** text, SkFixed x, SkFixed y) = 0; 137 const SkGlyph& lookupGlyph(const char** text) override { 141 const SkGlyph& lookupGlyphXY(const char** text, SkFixed x, SkFixed y) override { 186 const SkGlyph& lookupGlyph(const char** text) override { 189 const SkGlyph& lookupGlyphXY(const char** text, SkFixed x, SkFixed y) override { 345 static SkPoint TextAlignmentAdjustment(SkPaint::Align textAlignment, const SkGlyph& glyph) { 363 #define kSubpixelRounding (SkFixedToScalar(SkGlyph::kSubpixelRound)) 443 const SkGlyph &metricGlyph = fGlyphFinder->lookupGlyph(&tempText); 458 const SkGlyph& renderGlyph = [all …]
|
D | SkPaint.cpp | 607 static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache, in sk_getMetrics_utf8_next() 615 static const SkGlyph& sk_getMetrics_utf16_next(SkGlyphCache* cache, in sk_getMetrics_utf16_next() 623 static const SkGlyph& sk_getMetrics_utf32_next(SkGlyphCache* cache, in sk_getMetrics_utf32_next() 634 static const SkGlyph& sk_getMetrics_glyph_next(SkGlyphCache* cache, in sk_getMetrics_glyph_next() 646 static const SkGlyph& sk_getAdvance_utf8_next(SkGlyphCache* cache, in sk_getAdvance_utf8_next() 654 static const SkGlyph& sk_getAdvance_utf16_next(SkGlyphCache* cache, in sk_getAdvance_utf16_next() 662 static const SkGlyph& sk_getAdvance_utf32_next(SkGlyphCache* cache, in sk_getAdvance_utf32_next() 673 static const SkGlyph& sk_getAdvance_glyph_next(SkGlyphCache* cache, in sk_getAdvance_glyph_next() 757 static void set_bounds(const SkGlyph& g, SkRect* bounds) { in set_bounds() 764 static void join_bounds_x(const SkGlyph& g, SkRect* bounds, Sk48Dot16 dx) { in join_bounds_x() [all …]
|
D | SkAutoKern.h | 27 SkFixed adjust(const SkGlyph& glyph) in adjust()
|
D | SkDrawProcs.h | 50 void operator()(const SkPoint& loc, const SkGlyph& glyph, SkPoint* dst) { in operator()
|
/external/skia/src/gpu/text/ |
D | GrFontScaler.h | 16 class SkGlyph; variable 53 GrMaskFormat getPackedGlyphMaskFormat(const SkGlyph&) const; 54 bool getPackedGlyphBounds(const SkGlyph&, SkIRect* bounds); 55 bool getPackedGlyphImage(const SkGlyph&, int width, int height, int rowBytes, 57 bool getPackedGlyphDFBounds(const SkGlyph&, SkIRect* bounds); 58 bool getPackedGlyphDFImage(const SkGlyph&, int width, int height, void* image); 59 const SkPath* getGlyphPath(const SkGlyph&); 60 const SkGlyph& grToSkGlyph(GrGlyph::PackedID);
|
D | GrFontScaler.cpp | 49 GrMaskFormat GrFontScaler::getPackedGlyphMaskFormat(const SkGlyph& glyph) const { in getPackedGlyphMaskFormat() 66 bool GrFontScaler::getPackedGlyphBounds(const SkGlyph& glyph, SkIRect* bounds) { in getPackedGlyphBounds() 77 bool GrFontScaler::getPackedGlyphDFBounds(const SkGlyph& glyph, SkIRect* bounds) { in getPackedGlyphDFBounds() 115 bool GrFontScaler::getPackedGlyphImage(const SkGlyph& glyph, int width, int height, int dstRB, in getPackedGlyphImage() 170 bool GrFontScaler::getPackedGlyphDFImage(const SkGlyph& glyph, int width, int height, void* dst) { in getPackedGlyphDFImage() 199 const SkPath* GrFontScaler::getGlyphPath(const SkGlyph& glyph) { in getGlyphPath() 203 const SkGlyph& GrFontScaler::grToSkGlyph(GrGlyph::PackedID id) { in grToSkGlyph()
|
D | GrTextUtils.h | 22 class SkGlyph; variable 97 GrBatchTextStrike**, const SkGlyph&, int left, int top, 101 GrBatchTextStrike**, const SkGlyph&,
|
D | GrTextUtils.cpp | 68 [&](const SkGlyph& glyph, SkPoint position, SkPoint rounding) { in DrawBmpText() 110 [&](const SkGlyph& glyph, SkPoint position, SkPoint rounding) { in DrawBmpPosText() 124 GrBatchTextStrike** strike, const SkGlyph& skGlyph, in BmpAppendGlyph() 284 const SkGlyph& glyph = glyphCacheProc(origPaintCache, &textPtr); in DrawDFText() 355 const SkGlyph& glyph = glyphCacheProc(cache, &text); in DrawDFPosText() 384 const SkGlyph& glyph = glyphCacheProc(cache, &text); in DrawDFPosText() 425 GrBatchTextStrike** strike, const SkGlyph& skGlyph, in DfAppendGlyph() 523 const SkGlyph& glyph = glyphCacheProc(cache, &text); in DrawPosTextAsPath()
|
D | GrBatchFontCache.h | 33 inline GrGlyph* getGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in getGlyph() 54 const SkGlyph& skGlyph = scaler->grToSkGlyph(packed); in getGlyph() 94 GrGlyph* generateGlyph(const SkGlyph&, GrGlyph::PackedID, GrFontScaler*);
|
D | GrBatchFontCache.cpp | 173 GrGlyph* GrBatchTextStrike::generateGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in generateGlyph() 220 const SkGlyph& skGlyph = scaler->grToSkGlyph(glyph->fPackedID); in addGlyphToAtlas()
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.h | 18 class SkGlyph; variable 29 void generateAdvance(SkGlyph* glyph) override; 30 void generateMetrics(SkGlyph* glyph) override; 31 void generateImage(const SkGlyph& glyph) override; 32 void generatePath(const SkGlyph& glyph, SkPath* path) override; 36 const void* drawDWMask(const SkGlyph& glyph, 40 HRESULT getBoundingBox(SkGlyph* glyph,
|
D | SkScalerContext_win_dw.cpp | 339 void SkScalerContext_DW::generateAdvance(SkGlyph* glyph) { in generateAdvance() 395 HRESULT SkScalerContext_DW::getBoundingBox(SkGlyph* glyph, in getBoundingBox() 449 static bool glyph_check_and_set_bounds(SkGlyph* glyph, const RECT& bbox) { in glyph_check_and_set_bounds() 460 void SkScalerContext_DW::generateMetrics(SkGlyph* glyph) { in generateMetrics() 563 static void bilevel_to_bw(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph) { in bilevel_to_bw() 602 static void rgb_to_a8(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, const uint8_t* table8) { in rgb_to_a8() 619 static void rgb_to_lcd16(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, in rgb_to_lcd16() 643 const void* SkScalerContext_DW::drawDWMask(const SkGlyph& glyph, in drawDWMask() 712 void SkScalerContext_DW::generateImage(const SkGlyph& glyph) { in generateImage() 730 const_cast<SkGlyph&>(glyph).fMaskFormat = SkMask::kBW_Format; in generateImage() [all …]
|
D | SkFontHost_FreeType.cpp | 194 void generateAdvance(SkGlyph* glyph) override; 195 void generateMetrics(SkGlyph* glyph) override; 196 void generateImage(const SkGlyph& glyph) override; 197 void generatePath(const SkGlyph& glyph, SkPath* path) override; 216 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, 220 void updateGlyphIfLCD(SkGlyph* glyph); 1008 void SkScalerContext_FreeType::generateAdvance(SkGlyph* glyph) { in generateAdvance() 1040 void SkScalerContext_FreeType::getBBoxForCurrentGlyph(SkGlyph* glyph, in getBBoxForCurrentGlyph() 1092 void SkScalerContext_FreeType::updateGlyphIfLCD(SkGlyph* glyph) { in updateGlyphIfLCD() 1104 inline void scaleGlyphMetrics(SkGlyph& glyph, SkScalar scale) { in scaleGlyphMetrics() [all …]
|
D | SkFontHost_win.cpp | 441 const void* draw(const SkGlyph&, bool isBW, size_t* srcRBPtr); 454 const void* HDCOffscreen::draw(const SkGlyph& glyph, bool isBW, in draw() 545 void generateAdvance(SkGlyph* glyph) override; 546 void generateMetrics(SkGlyph* glyph) override; 547 void generateImage(const SkGlyph& glyph) override; 548 void generatePath(const SkGlyph& glyph, SkPath* path) override; 552 DWORD getGDIGlyphPath(const SkGlyph& glyph, UINT flags, 837 void SkScalerContext_GDI::generateAdvance(SkGlyph* glyph) { in generateAdvance() 841 void SkScalerContext_GDI::generateMetrics(SkGlyph* glyph) { in generateMetrics() 1144 const SkGlyph& glyph) { in rgb_to_bw() [all …]
|
D | SkFontHost_mac.cpp | 340 CGRGBPixel* getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph, 645 void generateAdvance(SkGlyph* glyph) override; 646 void generateMetrics(SkGlyph* glyph) override; 647 void generateImage(const SkGlyph& glyph) override; 648 void generatePath(const SkGlyph& glyph, SkPath* path) override; 802 CGRGBPixel* Offscreen::getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph, in getCG() 1023 void SkScalerContext_Mac::generateAdvance(SkGlyph* glyph) { in generateAdvance() 1027 void SkScalerContext_Mac::generateMetrics(SkGlyph* glyph) { in generateMetrics() 1194 const SkGlyph& glyph, const uint8_t* table8) { in rgb_to_a8() 1223 static void rgb_to_lcd16(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& … in rgb_to_lcd16() [all …]
|
/external/skia/src/fonts/ |
D | SkRandomScalerContext.cpp | 22 void generateAdvance(SkGlyph*) override; 23 void generateMetrics(SkGlyph*) override; 24 void generateImage(const SkGlyph&) override; 25 void generatePath(const SkGlyph&, SkPath*) override; 56 void SkRandomScalerContext::generateAdvance(SkGlyph* glyph) { in generateAdvance() 60 void SkRandomScalerContext::generateMetrics(SkGlyph* glyph) { in generateMetrics() 134 void SkRandomScalerContext::generateImage(const SkGlyph& glyph) { in generateImage() 150 const_cast<SkGlyph&>(glyph).fMaskFormat = format; in generateImage() 178 void SkRandomScalerContext::generatePath(const SkGlyph& glyph, SkPath* path) { in generatePath()
|
D | SkGScalerContext.cpp | 21 void generateAdvance(SkGlyph*) override; 22 void generateMetrics(SkGlyph*) override; 23 void generateImage(const SkGlyph&) override; 24 void generatePath(const SkGlyph&, SkPath*) override; 76 void SkGScalerContext::generateAdvance(SkGlyph* glyph) { in generateAdvance() 86 void SkGScalerContext::generateMetrics(SkGlyph* glyph) { in generateMetrics() 113 void SkGScalerContext::generateImage(const SkGlyph& glyph) { in generateImage() 133 void SkGScalerContext::generatePath(const SkGlyph& glyph, SkPath* path) { in generatePath()
|
D | SkTestScalerContext.cpp | 122 void SkTestTypeface::getAdvance(SkGlyph* glyph) { in getAdvance() 131 void SkTestTypeface::getMetrics(SkGlyph* glyph) { in getMetrics() 136 void SkTestTypeface::getPath(const SkGlyph& glyph, SkPath* path) { in getPath() 206 void generateAdvance(SkGlyph* glyph) override { in generateAdvance() 215 void generateMetrics(SkGlyph* glyph) override { in generateMetrics() 240 void generateImage(const SkGlyph& glyph) override { in generateImage() 258 void generatePath(const SkGlyph& glyph, SkPath* path) override { in generatePath()
|
D | SkTestScalerContext.h | 64 void getAdvance(SkGlyph* glyph); 66 void getMetrics(SkGlyph* glyph); 67 void getPath(const SkGlyph& glyph, SkPath* path);
|
/external/skia/src/gpu/ |
D | GrPathRendering.cpp | 35 SkGlyph skGlyph; in generatePath()
|