Home
last modified time | relevance | path

Searched refs:fPageDevice (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/pdf/
DSkPDFDocument.cpp218 fPageDevice = sk_make_sp<SkPDFDevice>(pageSize, this); in onBeginPage()
219 fPageDevice->setFlip(); // Only the top-level device needs to be flipped. in onBeginPage()
220 fCanvas.reset(new SkCanvas(fPageDevice.get())); in onBeginPage()
228 SkASSERT(fPageDevice); in onEndPage()
230 page->insertObject("Resources", fPageDevice->makeResourceDict()); in onEndPage()
231 page->insertObject("MediaBox", fPageDevice->copyMediaBox()); in onEndPage()
233 fPageDevice->appendAnnotations(annotations.get()); in onEndPage()
237 auto contentObject = sk_make_sp<SkPDFStream>(fPageDevice->content()); in onEndPage()
240 fPageDevice->appendDestinations(fDests.get(), page.get()); in onEndPage()
242 fPageDevice.reset(nullptr); in onEndPage()
DSkPDFDocument.h89 sk_sp<SkPDFDevice> fPageDevice; variable