/third_party/skia/src/core/ |
D | SkScalerContext.cpp | 43 SkScalerContextRec SkScalerContext::PreprocessRec(const SkTypeface& typeface, in PreprocessRec() 75 SkScalerContext::SkScalerContext(sk_sp<SkTypeface> typeface, const SkScalerContextEffects& effects, in SkScalerContext() function in SkScalerContext 84 , fPreBlend(fMaskFilter ? SkMaskGamma::PreBlend() : SkScalerContext::GetMaskPreBlend(fRec)) in SkScalerContext() 94 SkScalerContext::~SkScalerContext() {} in ~SkScalerContext() 138 SkMaskGamma::PreBlend SkScalerContext::GetMaskPreBlend(const SkScalerContextRec& rec) { in GetMaskPreBlend() 149 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() 162 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() 180 SkGlyph SkScalerContext::makeGlyph(SkPackedGlyphID packedID) { in makeGlyph() 184 SkGlyph SkScalerContext::internalMakeGlyph(SkPackedGlyphID packedID, SkMask::Format format) { in internalMakeGlyph() 215 const bool a8FromLCD = fRec.fFlags & SkScalerContext::kGenA8FromLCD_Flag; in internalMakeGlyph() [all …]
|
D | SkScalerContext.h | 31 class SkScalerContext; variable 216 friend class SkScalerContext; 240 class SkScalerContext { 275 SkScalerContext(sk_sp<SkTypeface>, const SkScalerContextEffects&, const SkDescriptor*); 276 virtual ~SkScalerContext(); 330 static std::unique_ptr<SkScalerContext> MakeEmpty( 440 unsigned hint = (fFlags & SkScalerContext::kHinting_Mask) >> in getHinting() 441 SkScalerContext::kHinting_Shift; in getHinting() 446 fFlags = (fFlags & ~SkScalerContext::kHinting_Mask) | in setHinting() 447 (static_cast<unsigned>(hinting) << SkScalerContext::kHinting_Shift); in setHinting()
|
D | SkScalerCache.h | 22 class SkScalerContext; variable 55 SkScalerCache(std::unique_ptr<SkScalerContext> scaler, 109 SkScalerContext* getScalerContext() const { return fScalerContext.get(); } in getScalerContext() 140 const std::unique_ptr<SkScalerContext> fScalerContext;
|
D | SkTypeface_remote.h | 23 class SkScalerContextProxy : public SkScalerContext { 40 using INHERITED = SkScalerContext; 97 std::unique_ptr<SkScalerContext> onCreateScalerContext( in onCreateScalerContext()
|
D | SkTypeface.cpp | 47 std::unique_ptr<SkScalerContext> onCreateScalerContext( in onCreateScalerContext() 50 return SkScalerContext::MakeEmpty( in onCreateScalerContext() 374 std::unique_ptr<SkScalerContext> SkTypeface::createScalerContext( in createScalerContext() 376 std::unique_ptr<SkScalerContext> scalerContext = this->onCreateScalerContext(effects, desc); in createScalerContext() 550 SkScalerContext::MakeRecAndEffectsFromFont(font, &rec, &effects); in onComputeBounds() 554 SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, noeffects, &ad); in onComputeBounds() 556 std::unique_ptr<SkScalerContext> ctx = this->createScalerContext(noeffects, ad.getDesc()); in onComputeBounds()
|
D | SkGlyph.h | 21 class SkScalerContext; variable 262 bool setImage(SkArenaAlloc* alloc, SkScalerContext* scalerContext); 293 bool setPath(SkArenaAlloc* alloc, SkScalerContext* scalerContext); 342 friend class SkScalerContext; variable
|
D | SkStrikeCache.h | 44 std::unique_ptr<SkScalerContext> scaler, in SkStrike() 65 SkScalerContext* getScalerContext() const { in getScalerContext()
|
D | SkTypeface_remote.cpp | 19 : SkScalerContext{std::move(tf), effects, desc} in SkScalerContextProxy()
|
D | SkGlyph.cpp | 78 bool SkGlyph::setImage(SkArenaAlloc* alloc, SkScalerContext* scalerContext) { in setImage() 156 bool SkGlyph::setPath(SkArenaAlloc* alloc, SkScalerContext* scalerContext) { in setPath()
|
D | SkScalerCache.cpp | 17 const SkFontMetrics* metrics, SkScalerContext* context) { in use_or_generate_metrics() 28 std::unique_ptr<SkScalerContext> scaler, in SkScalerCache()
|
/third_party/skia/include/core/ |
D | SkTypeface.h | 24 class SkScalerContext; variable 335 std::unique_ptr<SkScalerContext> createScalerContext(const SkScalerContextEffects&, 373 virtual std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&, 376 friend class SkScalerContext; // onFilterRec variable
|
/third_party/skia/tools/fonts/ |
D | RandomScalerContext.cpp | 18 class RandomScalerContext : public SkScalerContext { 36 std::unique_ptr<SkScalerContext> fProxy; 44 : SkScalerContext(std::move(face), effects, desc) in RandomScalerContext() 144 std::unique_ptr<SkScalerContext> SkRandomTypeface::onCreateScalerContext( in onCreateScalerContext()
|
D | TestTypeface.cpp | 148 class SkTestScalerContext : public SkScalerContext { 153 : SkScalerContext(std::move(face), effects, desc) { in SkTestScalerContext() 195 std::unique_ptr<SkScalerContext> TestTypeface::onCreateScalerContext( in onCreateScalerContext()
|
D | TestEmptyTypeface.h | 27 std::unique_ptr<SkScalerContext> onCreateScalerContext( in onCreateScalerContext() 30 return SkScalerContext::MakeEmpty( in onCreateScalerContext()
|
D | TestTypeface.h | 28 class SkScalerContext; variable 73 std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&,
|
D | TestSVGTypeface.h | 36 class SkScalerContext; variable 85 std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&,
|
D | RandomScalerContext.h | 27 std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&,
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.h | 39 class SkScalerContext_FreeType_Base : public SkScalerContext { 64 using INHERITED = SkScalerContext; 116 std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&,
|
D | SkScalerContext_mac_ct.h | 42 class SkScalerContext_Mac : public SkScalerContext { 112 using INHERITED = SkScalerContext;
|
D | SkTypeface_win_dw.cpp | 393 std::unique_ptr<SkScalerContext> DWriteFontTypeface::onCreateScalerContext( in onCreateScalerContext() 401 if (rec->fFlags & SkScalerContext::kLCD_Vertical_Flag) { in onFilterRec() 403 rec->fFlags |= SkScalerContext::kGenA8FromLCD_Flag; in onFilterRec() 406 unsigned flagsWeDontSupport = SkScalerContext::kForceAutohinting_Flag | in onFilterRec() 407 SkScalerContext::kEmbolden_Flag | in onFilterRec() 408 SkScalerContext::kLCD_Vertical_Flag; in onFilterRec()
|
D | SkTypeface_mac_ct.h | 41 class SkScalerContext; variable 106 std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&,
|
D | SkFontHost_win.cpp | 277 std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&, 555 class SkScalerContext_GDI : public SkScalerContext { 625 if (rec.fFlags & SkScalerContext::kGenA8FromLCD_Flag) { in compute_quality() 636 : SkScalerContext(std::move(rawTypeface), effects, desc) in SkScalerContext_GDI() 1114 if (isAA && !(fRec.fFlags & SkScalerContext::kGenA8FromLCD_Flag)) { in generateImage() 2075 std::unique_ptr<SkScalerContext> LogFontTypeface::onCreateScalerContext( in onCreateScalerContext() 2092 return SkScalerContext::MakeEmpty( in onCreateScalerContext() 2097 if (rec->fFlags & SkScalerContext::kLCD_BGROrder_Flag || in onFilterRec() 2098 rec->fFlags & SkScalerContext::kLCD_Vertical_Flag) in onFilterRec() 2101 rec->fFlags |= SkScalerContext::kGenA8FromLCD_Flag; in onFilterRec() [all …]
|
D | SkTypeface_mac_ct.cpp | 920 std::unique_ptr<SkScalerContext> SkTypeface_Mac::onCreateScalerContext( in onCreateScalerContext() 928 if (rec->fFlags & SkScalerContext::kLCD_BGROrder_Flag || in onFilterRec() 929 rec->fFlags & SkScalerContext::kLCD_Vertical_Flag) in onFilterRec() 939 unsigned flagsWeDontSupport = SkScalerContext::kForceAutohinting_Flag | in onFilterRec() 940 SkScalerContext::kLCD_BGROrder_Flag | in onFilterRec() 941 SkScalerContext::kLCD_Vertical_Flag; in onFilterRec()
|
/third_party/skia/src/gpu/text/ |
D | GrDistanceFieldAdjustTable.cpp | 59 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma, 66 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
|
/third_party/skia/src/utils/ |
D | SkCustomTypeface.cpp | 54 std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&, 190 class SkUserScalerContext : public SkScalerContext { 195 : SkScalerContext(std::move(face), effects, desc) { in SkUserScalerContext() 236 std::unique_ptr<SkScalerContext> SkUserTypeface::onCreateScalerContext( in onCreateScalerContext()
|