Searched refs:ftStream (Results 1 – 3 of 3) sorted by relevance
812 FXFT_Stream ftStream = FX_Alloc(FXFT_StreamRec, 1); in LoadFace() local813 FXSYS_memset(ftStream, 0, sizeof(FXFT_StreamRec)); in LoadFace()814 ftStream->base = nullptr; in LoadFace()815 ftStream->descriptor.pointer = static_cast<void*>(pFontStream.Get()); in LoadFace()816 ftStream->pos = 0; in LoadFace()817 ftStream->size = static_cast<unsigned long>(pFontStream->GetSize()); in LoadFace()818 ftStream->read = _ftStreamRead; in LoadFace()819 ftStream->close = _ftStreamClose; in LoadFace()824 ftArgs.stream = ftStream; in LoadFace()828 FX_Free(ftStream); in LoadFace()
254 static unsigned long sk_ft_stream_io(FT_Stream ftStream, in sk_ft_stream_io() argument259 SkStreamAsset* stream = static_cast<SkStreamAsset*>(ftStream->descriptor.pointer); in sk_ft_stream_io()1643 FT_Stream ftStream) const in openFace()1659 memset(ftStream, 0, sizeof(*ftStream)); in openFace()1660 ftStream->size = stream->getLength(); in openFace()1661 ftStream->descriptor.pointer = stream; in openFace()1662 ftStream->read = sk_ft_stream_io; in openFace()1663 ftStream->close = sk_ft_stream_close; in openFace()1666 args.stream = ftStream; in openFace()
70 FT_Face openFace(SkStreamAsset* stream, int ttcIndex, FT_Stream ftStream) const;