Lines Matching refs:SkDocument
22 sk_sp<SkDocument> doc(SkDocument::MakePDF(&stream)); in test_empty()
31 sk_sp<SkDocument> doc(SkDocument::MakePDF(&stream)); in test_abort()
56 sk_sp<SkDocument> doc(SkDocument::MakePDF(path.c_str())); in test_abortWithFile()
82 sk_sp<SkDocument> doc(SkDocument::MakePDF(path.c_str())); in test_file()
100 sk_sp<SkDocument> doc(SkDocument::MakePDF(&stream)); in test_close()
131 sk_sp<SkDocument> doc; in count_bytes()
133 doc = SkDocument::MakePDF(&stream, SK_ScalarDefaultRasterDPI, in count_bytes()
134 SkDocument::PDFMetadata(), in count_bytes()
137 doc = SkDocument::MakePDF(&stream); in count_bytes()
158 sk_sp<SkDocument> doc(SkDocument::MakePDF(&stream)); in DEF_TEST()
182 SkDocument::PDFMetadata pdfMetadata; in DEF_TEST()
188 auto doc = SkDocument::MakePDF(&buffer, SK_ScalarDefaultRasterDPI, in DEF_TEST()
207 doc = SkDocument::MakePDF(&buffer, SK_ScalarDefaultRasterDPI, in DEF_TEST()