Searched refs:HBBlob (Results 1 – 3 of 3) sorted by relevance
19 using HBBlob = resource<hb_blob_t, hb_blob_destroy>; typedef24 static HBBlob to_blob(sk_sp<SkData> data) { in to_blob()25 return HBBlob(hb_blob_create((char*)data->data(), SkToUInt(data->size()), in to_blob()30 static sk_sp<SkData> to_data(HBBlob blob) { in to_data()72 HBBlob result(hb_face_reference_blob(subset.get())); in SkPDFSubsetFont()
46 using HBBlob = resource<hb_blob_t , hb_blob_destroy >; typedef53 HBBlob stream_to_blob(std::unique_ptr<SkStreamAsset> asset) { in stream_to_blob()55 HBBlob blob; in stream_to_blob()84 HBBlob blob(stream_to_blob(std::move(typefaceAsset))); in create_hb_font()
56 using HBBlob = resource<hb_blob_t , hb_blob_destroy >; typedef63 HBBlob stream_to_blob(std::unique_ptr<SkStreamAsset> asset) { in stream_to_blob()65 HBBlob blob; in stream_to_blob()281 HBBlob blob(stream_to_blob(std::move(typefaceAsset))); in create_hb_font()