Home | History | Annotate | Download | only in ports

Lines Matching full:sk_sp

548 static sk_sp<SkTypeface> create_from_CTFontRef(UniqueCFRef<CTFontRef> font,
556 return sk_sp<SkTypeface>(face);
570 return sk_sp<SkTypeface>(face);
574 static sk_sp<SkTypeface> create_from_desc(CTFontDescriptorRef desc) {
649 static sk_sp<SkTypeface> create_from_name(const char familyName[], const SkFontStyle& style) {
694 SkScalerContext_Mac(sk_sp<SkTypeface_Mac>, const SkScalerContextEffects&, const SkDescriptor*);
769 SkScalerContext_Mac::SkScalerContext_Mac(sk_sp<SkTypeface_Mac> typeface,
1391 static sk_sp<SkTypeface> create_from_dataProvider(UniqueCFRef<CGDataProviderRef> provider,
2402 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData> data, int ttcIndex) const override {
2410 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream,
2507 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> s,
2594 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData> fontData) const override {
2627 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override {
2635 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const override {
2640 sk_sp<SkTypeface> face = create_from_name(familyName, style);
2657 sk_sp<SkFontMgr> SkFontMgr::Factory() { return sk_make_sp<SkFontMgr_Mac>(); }