Home
last modified time | relevance | path

Searched refs:SkPDFDevice (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/pdf/
DSkPDFDevice.h30 class SkPDFDevice; variable
45 class SkPDFDevice final : public SkClipStackDevice {
57 SkPDFDevice(SkISize pageSize, SkPDFDocument* document,
60 sk_sp<SkPDFDevice> makeCongruentDevice() { in makeCongruentDevice()
61 return sk_make_sp<SkPDFDevice>(this->size(), fDocument); in makeCongruentDevice()
64 ~SkPDFDevice() override;
128 void DrawGlyphRunAsPath(SkPDFDevice* dev, const SkGlyphRun& glyphRun, SkPoint offset);
176 void updateDrawingState(const SkPDFDevice::GraphicStateEntry& state);
180 SkPDFDevice::GraphicStateEntry* currentEntry() { return &fEntries[fStackDepth]; } in currentEntry()
183 SkPDFDevice::GraphicStateEntry fEntries[kMaxStackDepth + 1];
[all …]
DSkPDFDevice.cpp178 SkPDFDevice::GraphicStackState::GraphicStackState(SkDynamicMemoryWStream* s) : fContentStream(s) { in GraphicStackState()
181 void SkPDFDevice::GraphicStackState::drainStack() { in drainStack()
190 void SkPDFDevice::GraphicStackState::push() { in push()
197 void SkPDFDevice::GraphicStackState::pop() { in pop()
200 fEntries[fStackDepth] = SkPDFDevice::GraphicStateEntry(); in pop()
286 void SkPDFDevice::GraphicStackState::updateClip(const SkClipStack* clipStack, in updateClip()
322 void SkPDFDevice::GraphicStackState::updateMatrix(const SkMatrix& matrix) { in updateMatrix()
344 void SkPDFDevice::GraphicStackState::updateDrawingState(const SkPDFDevice::GraphicStateEntry& state… in updateDrawingState()
378 SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice()
389 return new SkPDFDevice(cinfo.fInfo.dimensions(), fDocument); in onCreateDevice()
[all …]
DSkPDFDocumentPriv.h23 class SkPDFDevice; variable
120 sk_sp<SkPDFDevice> fPageDevice;
DSkPDFShader.cpp74 auto patternDevice = sk_make_sp<SkPDFDevice>(patternDeviceSize, doc); in make_image_shader()
DSkPDFDocument.cpp259 fPageDevice = sk_make_sp<SkPDFDevice>(pageSize, this, initialTransform); in onBeginPage()
/external/skqp/src/pdf/
DSkPDFDevice.h30 class SkPDFDevice; variable
45 class SkPDFDevice final : public SkClipStackDevice {
57 SkPDFDevice(SkISize pageSize, SkPDFDocument* document,
60 sk_sp<SkPDFDevice> makeCongruentDevice() { in makeCongruentDevice()
61 return sk_make_sp<SkPDFDevice>(this->size(), fDocument); in makeCongruentDevice()
64 ~SkPDFDevice() override;
132 void DrawGlyphRunAsPath(SkPDFDevice* dev, const SkGlyphRun& glyphRun, SkPoint offset);
180 void updateDrawingState(const SkPDFDevice::GraphicStateEntry& state);
184 SkPDFDevice::GraphicStateEntry* currentEntry() { return &fEntries[fStackDepth]; } in currentEntry()
187 SkPDFDevice::GraphicStateEntry fEntries[kMaxStackDepth + 1];
[all …]
DSkPDFDevice.cpp178 SkPDFDevice::GraphicStackState::GraphicStackState(SkDynamicMemoryWStream* s) : fContentStream(s) { in GraphicStackState()
181 void SkPDFDevice::GraphicStackState::drainStack() { in drainStack()
190 void SkPDFDevice::GraphicStackState::push() { in push()
197 void SkPDFDevice::GraphicStackState::pop() { in pop()
200 fEntries[fStackDepth] = SkPDFDevice::GraphicStateEntry(); in pop()
286 void SkPDFDevice::GraphicStackState::updateClip(const SkClipStack* clipStack, in updateClip()
322 void SkPDFDevice::GraphicStackState::updateMatrix(const SkMatrix& matrix) { in updateMatrix()
344 void SkPDFDevice::GraphicStackState::updateDrawingState(const SkPDFDevice::GraphicStateEntry& state… in updateDrawingState()
378 SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice()
389 return new SkPDFDevice(cinfo.fInfo.dimensions(), fDocument); in onCreateDevice()
[all …]
DSkPDFDocumentPriv.h23 class SkPDFDevice; variable
120 sk_sp<SkPDFDevice> fPageDevice;
DSkPDFShader.cpp74 auto patternDevice = sk_make_sp<SkPDFDevice>(patternDeviceSize, doc); in make_image_shader()
DSkPDFDocument.cpp259 fPageDevice = sk_make_sp<SkPDFDevice>(pageSize, this, initialTransform); in onBeginPage()
/external/skia/gn/
Dpdf.gni25 "$_src/pdf/SkPDFDevice.cpp",
26 "$_src/pdf/SkPDFDevice.h",
/external/skqp/gn/
Dpdf.gni25 "$_src/pdf/SkPDFDevice.cpp",
26 "$_src/pdf/SkPDFDevice.h",
/external/skqp/site/dev/design/
Dpdftheory.md14 Internally, SkPDFDocument and SkPDFDevice represents PDF documents and
44 SkPDFDevice is the main interface to the PDF backend. This child of
48 the device. A new SkPDFDevice should be created for each page or
198 explained later), SkPDFDevice records each drawing operation into an
277 As the canvas makes drawing calls into SkPDFDevice, the active
290 For each draw call on an SkPDFDevice, a new ContentEntry is created,
304 SkPDFDevice::content() to request the complete content stream for the
337 used to implement layers. SkPDFDevice has a method,
338 makeFormXObjectFromDevice(), which uses the SkPDFDevice::content()
340 device. SkPDFDevice::drawDevice() works by creating a form x-object of
[all …]
/external/skia/site/dev/design/
Dpdftheory.md14 Internally, SkPDFDocument and SkPDFDevice represents PDF documents and
44 SkPDFDevice is the main interface to the PDF backend. This child of
48 the device. A new SkPDFDevice should be created for each page or
198 explained later), SkPDFDevice records each drawing operation into an
277 As the canvas makes drawing calls into SkPDFDevice, the active
290 For each draw call on an SkPDFDevice, a new ContentEntry is created,
304 SkPDFDevice::content() to request the complete content stream for the
337 used to implement layers. SkPDFDevice has a method,
338 makeFormXObjectFromDevice(), which uses the SkPDFDevice::content()
340 device. SkPDFDevice::drawDevice() works by creating a form x-object of
[all …]
/external/skia/
DAndroid.bp400 "src/pdf/SkPDFDevice.cpp",