Home
last modified time | relevance | path

Searched refs:SkPDFDocument (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/src/pdf/
DSkPDFDocument.cpp139 SkPDFDocument* doc, in generate_page_tree()
155 static std::vector<PageTreeNode> Layer(std::vector<PageTreeNode> vec, SkPDFDocument* doc) { in generate_page_tree()
210 SkPDFDocument::SkPDFDocument(SkWStream* stream, in SkPDFDocument() function in SkPDFDocument
225 SkPDFDocument::~SkPDFDocument() { in ~SkPDFDocument()
230 SkPDFIndirectReference SkPDFDocument::emit(const SkPDFObject& object, SkPDFIndirectReference ref){ in emit()
237 SkWStream* SkPDFDocument::beginObject(SkPDFIndirectReference ref) SK_REQUIRES(fMutex) { in beginObject()
242 void SkPDFDocument::endObject() SK_REQUIRES(fMutex) { in endObject()
249 SkCanvas* SkPDFDocument::onBeginPage(SkScalar width, SkScalar height) { in onBeginPage()
298 SkPDFDocument* doc, in append_destinations()
315 std::unique_ptr<SkPDFArray> SkPDFDocument::getAnnotations() { in getAnnotations()
[all …]
DSkPDFFont.h20 class SkPDFDocument; variable
89 static SkPDFFont* GetFontResource(SkPDFDocument* doc,
98 SkPDFDocument* canon);
101 SkPDFDocument* canon);
108 void emitSubset(SkPDFDocument*) const;
114 static bool CanEmbedTypeface(SkTypeface*, SkPDFDocument*);
DSkPDFTag.h16 class SkPDFDocument; variable
35 SkPDFIndirectReference makeStructTreeRoot(SkPDFDocument* doc);
51 SkPDFDocument* doc);
DSkPDFBitmap.cpp70 static void emit_image_stream(SkPDFDocument* doc, in emit_image_stream()
102 static void do_deflated_alpha(const SkPixmap& pm, SkPDFDocument* doc, SkPDFIndirectReference ref) { in do_deflated_alpha()
139 SkPDFDocument* doc, in do_deflated_image()
197 static bool do_jpeg(sk_sp<SkData> data, SkPDFDocument* doc, SkISize size, in do_jpeg()
252 SkPDFDocument* doc, in serialize_image()
277 SkPDFDocument* doc, in SkPDFSerializeImage()
DSkPDFBitmap.h11 class SkPDFDocument; variable
19 SkPDFDocument* doc,
DSkPDFFormXObject.h15 class SkPDFDocument; variable
22 SkPDFIndirectReference SkPDFMakeFormXObject(SkPDFDocument* doc,
DSkPDFShader.h18 class SkPDFDocument; variable
41 SkPDFIndirectReference SkPDFMakeShader(SkPDFDocument* doc,
DSkPDFGraphicState.cpp56 SkPDFIndirectReference SkPDFGraphicState::GetGraphicStateForPaint(SkPDFDocument* doc, in GetGraphicStateForPaint()
105 static SkPDFIndirectReference make_invert_function(SkPDFDocument* doc) { in make_invert_function()
122 SkPDFDocument* doc) { in GetSMaskGraphicState()
DSkPDFGraphicState.h32 SkPDFIndirectReference GetGraphicStateForPaint(SkPDFDocument*, const SkPaint&);
44 SkPDFDocument* doc);
DSkPDFDevice.h33 class SkPDFDocument; variable
58 SkPDFDevice(SkISize pageSize, SkPDFDocument* document,
136 SkPDFDocument* fDocument;
DSkPDFDocumentPriv.h81 class SkPDFDocument : public SkDocument {
83 SkPDFDocument(SkWStream*, SkPDF::Metadata);
84 ~SkPDFDocument() override;
DSkPDFFont.cpp107 SkPDFDocument* canon) { in GetMetrics()
157 SkPDFDocument* canon) { in GetUnicodeMap()
182 SkPDFFont* SkPDFFont::GetFontResource(SkPDFDocument* doc, in GetFontResource()
283 static void emit_subset_type0(const SkPDFFont& font, SkPDFDocument* doc) { in emit_subset_type0()
484 static SkPDFIndirectReference type3_descriptor(SkPDFDocument* doc, in type3_descriptor()
529 static void emit_subset_type3(const SkPDFFont& pdfFont, SkPDFDocument* doc) { in emit_subset_type3()
669 void SkPDFFont::emitSubset(SkPDFDocument* doc) const { in emitSubset()
685 bool SkPDFFont::CanEmbedTypeface(SkTypeface* typeface, SkPDFDocument* doc) { in CanEmbedTypeface()
DSkPDFGradientShader.h15 class SkPDFDocument; variable
20 SkPDFIndirectReference Make(SkPDFDocument* doc,
DSkPDFType1Font.cpp227 static SkPDFIndirectReference make_type1_font_descriptor(SkPDFDocument* doc, in make_type1_font_descriptor()
257 static const std::vector<SkString>& type_1_glyphnames(SkPDFDocument* canon, in type_1_glyphnames()
270 static SkPDFIndirectReference type1_font_descriptor(SkPDFDocument* doc, in type1_font_descriptor()
283 void SkPDFEmitType1Font(const SkPDFFont& pdfFont, SkPDFDocument* doc) { in SkPDFEmitType1Font()
DSkPDFTypes.h28 class SkPDFDocument; variable
202 SkPDFDocument* doc,
DSkPDFGradientShader.cpp579 SkPDFDocument* doc) { in make_ps_function()
587 static SkPDFIndirectReference make_function_shader(SkPDFDocument* doc, in make_function_shader()
751 static SkPDFIndirectReference find_pdf_shader(SkPDFDocument* doc,
816 static SkPDFIndirectReference create_smask_graphic_state(SkPDFDocument* doc, in create_smask_graphic_state()
842 static SkPDFIndirectReference make_alpha_function_shader(SkPDFDocument* doc, in make_alpha_function_shader()
894 static SkPDFIndirectReference find_pdf_shader(SkPDFDocument* doc, in find_pdf_shader()
912 SkPDFIndirectReference SkPDFGradientShader::Make(SkPDFDocument* doc, in Make()
DSkPDFType1Font.h9 void SkPDFEmitType1Font(const SkPDFFont&, SkPDFDocument*);
DSkPDFMetadata.h27 SkPDFDocument*);
DSkPDFShader.cpp74 static SkPDFIndirectReference make_image_shader(SkPDFDocument* doc, in make_image_shader()
263 static SkPDFIndirectReference make_fallback_shader(SkPDFDocument* doc, in make_fallback_shader()
331 SkPDFIndirectReference SkPDFMakeShader(SkPDFDocument* doc, in SkPDFMakeShader()
DSkPDFFormXObject.cpp12 SkPDFIndirectReference SkPDFMakeFormXObject(SkPDFDocument* doc, in SkPDFMakeFormXObject()
DSkPDFTag.cpp252 SkPDFDocument* doc) { in PrepareTagTreeToEmit()
316 SkPDFIndirectReference SkPDFTagTree::makeStructTreeRoot(SkPDFDocument* doc) { in makeStructTreeRoot()
DSkPDFTypes.cpp427 SkPDFDocument* doc, in serialize_stream()
470 SkPDFDocument* doc, in SkPDFStreamOut()
/third_party/skia/bench/
DPDFBench.cpp112 SkPDFDocument doc(&nullStream, SkPDF::Metadata()); in onDraw()
147 SkPDFDocument doc(&nullStream, SkPDF::Metadata()); in onDraw()
177 SkPDFDocument doc(&wStream, SkPDF::Metadata()); in onDraw()
220 SkPDFDocument doc(&nullStream, SkPDF::Metadata()); in onDraw()
294 SkPDFDocument doc(&wStream, SkPDF::Metadata()); in onDraw()
/third_party/skia/gn/
Dpdf.gni10 skia_pdf_public = [ "$_include/docs/SkPDFDocument.h" ]
13 "$_include/docs/SkPDFDocument.h",
27 "$_src/pdf/SkPDFDocument.cpp",
/third_party/skia/site/docs/dev/design/
Dpdftheory.md15 Internally, SkPDFDocument and SkPDFDevice represents PDF documents and pages.
29 added to the SkPDFDocument that owns the device. A new SkPDFDevice should be
31 been added to the document, `SkPDFDocument::onClose()` is called to finish
194 there is only one copy of each object, the SkPDFDocument holds on to a mapping
255 When all drawing is complete, SkPDFDocument::onEndPage() will call

12