Searched refs:SkPDFDevice (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/src/pdf/ |
D | SkPDFDevice.cpp | 212 SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice() 223 return new SkPDFDevice(cinfo.fInfo.dimensions(), fDocument); in onCreateDevice() 230 ScopedContentEntry(SkPDFDevice* device, in ScopedContentEntry() 247 ScopedContentEntry(SkPDFDevice* dev, const SkPaint& paint, SkScalar textScale = 0) in ScopedContentEntry() 298 SkPDFDevice* fDevice = nullptr; 308 SkPDFDevice::SkPDFDevice(SkISize pageSize, SkPDFDocument* doc, const SkMatrix& transform) in SkPDFDevice() function in SkPDFDevice 318 SkPDFDevice::~SkPDFDevice() = default; 320 void SkPDFDevice::reset() { in reset() 329 void SkPDFDevice::drawAnnotation(const SkRect& rect, const char key[], SkData* value) { in drawAnnotation() 378 void SkPDFDevice::drawPaint(const SkPaint& srcPaint) { in drawPaint() [all …]
|
D | SkPDFDevice.h | 31 class SkPDFDevice; variable 46 class SkPDFDevice final : public SkClipStackDevice { 58 SkPDFDevice(SkISize pageSize, SkPDFDocument* document, 61 sk_sp<SkPDFDevice> makeCongruentDevice() { in makeCongruentDevice() 62 return sk_make_sp<SkPDFDevice>(this->size(), fDocument); in makeCongruentDevice() 65 ~SkPDFDevice() override;
|
D | SkPDFDocumentPriv.h | 23 class SkPDFDevice; variable 164 sk_sp<SkPDFDevice> fPageDevice;
|
D | SkPDFShader.cpp | 105 auto patternDevice = sk_make_sp<SkPDFDevice>(patternDeviceSize, doc); in make_image_shader()
|
D | SkPDFDocument.cpp | 280 fPageDevice = sk_make_sp<SkPDFDevice>(pageSize, this, initialTransform); in onBeginPage()
|
/third_party/skia/gn/ |
D | pdf.gni | 25 "$_src/pdf/SkPDFDevice.cpp", 26 "$_src/pdf/SkPDFDevice.h",
|
/third_party/skia/site/docs/dev/design/ |
D | pdftheory.md | 15 Internally, SkPDFDocument and SkPDFDevice represents PDF documents and pages. 26 SkPDFDevice is the main interface to the PDF backend. This child of SkDevice can 29 added to the SkPDFDocument that owns the device. A new SkPDFDevice should be 163 (which will be explained later), SkPDFDevice records each drawing operation into 233 As the canvas makes drawing calls into SkPDFDevice, the active transform, clip 244 For each draw call on an SkPDFDevice, a new ContentEntry is created, which 256 SkPDFDevice::content() to request the complete content stream for the page. The 285 SkPDFDevice has a method, makeFormXObjectFromDevice(), which uses the 286 SkPDFDevice::content() method to construct a form x-object from the the device. 287 SkPDFDevice::drawDevice() works by creating a form x-object of the passed device [all …]
|