Searched refs:SkRandomTypeface (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/fonts/ |
D | SkRandomScalerContext.cpp | 21 SkRandomScalerContext(sk_sp<SkRandomTypeface>, const SkScalerContextEffects&, 34 SkRandomTypeface* getRandomTypeface() const { in getRandomTypeface() 35 return static_cast<SkRandomTypeface*>(this->getTypeface()); in getRandomTypeface() 41 SkRandomScalerContext::SkRandomScalerContext(sk_sp<SkRandomTypeface> face, in SkRandomScalerContext() 192 SkRandomTypeface::SkRandomTypeface(sk_sp<SkTypeface> proxy, const SkPaint& paint, bool fakeIt) in SkRandomTypeface() function in SkRandomTypeface 198 SkScalerContext* SkRandomTypeface::onCreateScalerContext(const SkScalerContextEffects& effects, in onCreateScalerContext() 200 return new SkRandomScalerContext(sk_ref_sp(const_cast<SkRandomTypeface*>(this)), in onCreateScalerContext() 204 void SkRandomTypeface::onFilterRec(SkScalerContextRec* rec) const { in onFilterRec() 210 std::unique_ptr<SkAdvancedTypefaceMetrics> SkRandomTypeface::onGetAdvancedMetrics() const { in onGetAdvancedMetrics() 214 SkStreamAsset* SkRandomTypeface::onOpenStream(int* ttcIndex) const { in onOpenStream() [all …]
|
D | SkRandomScalerContext.h | 19 class SkRandomTypeface : public SkTypeface { 21 SkRandomTypeface(sk_sp<SkTypeface> proxy, const SkPaint&, bool fakeit);
|
/external/skia/gm/ |
D | textblobrandomfont.cpp | 48 paint.setTypeface(sk_make_sp<SkRandomTypeface>(orig, paint, false)); in onOnceBeforeDraw() 76 paint.setTypeface(sk_make_sp<SkRandomTypeface>(orig, paint, false)); in onOnceBeforeDraw()
|
/external/skia/tests/ |
D | TextBlobCacheTest.cpp | 98 paint.setTypeface(sk_make_sp<SkRandomTypeface>(orig, paint, true)); in text_blob_cache_inner()
|
/external/skia/include/core/ |
D | SkTypeface.h | 385 friend class SkRandomTypeface;
|