Home
last modified time | relevance | path

Searched refs:SkPDFDict (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/doc/
DSkDocument_PDF.cpp18 class SkPDFDict;
36 SkPDFDict trailerDict; in emit_pdf_footer()
79 static SkPDFDict* create_pdf_page(const SkPDFDevice* pageDevice) { in create_pdf_page()
80 SkAutoTUnref<SkPDFDict> page(new SkPDFDict("Page")); in create_pdf_page()
92 static void generate_page_tree(const SkTDArray<SkPDFDict*>& pages, in generate_page_tree()
93 SkTDArray<SkPDFDict*>* pageTree, in generate_page_tree()
94 SkPDFDict** rootNode) { in generate_page_tree()
105 SkTDArray<SkPDFDict*> curNodes; in generate_page_tree()
113 SkTDArray<SkPDFDict*> nextRoundNodes; in generate_page_tree()
124 SkAutoTUnref<SkPDFDict> newNode(new SkPDFDict("Pages")); in generate_page_tree()
[all …]
/external/skia/src/pdf/
DSkPDFGraphicState.cpp152 SkPDFDict* SkPDFGraphicState::GetSMaskGraphicState(SkPDFFormXObject* sMask, in GetSMaskGraphicState()
157 SkAutoTUnref<SkPDFDict> sMaskDict(new SkPDFDict("Mask")); in GetSMaskGraphicState()
168 SkPDFDict* result = new SkPDFDict("ExtGState"); in GetSMaskGraphicState()
173 static SkPDFDict* create_no_smask_graphic_state() { in create_no_smask_graphic_state()
174 SkPDFDict* noSMaskGS = new SkPDFDict("ExtGState"); in create_no_smask_graphic_state()
178 SK_DECLARE_STATIC_ONCE_PTR(SkPDFDict, noSMaskGraphicState);
181 SkPDFDict* SkPDFGraphicState::GetNoSMaskGraphicState() { in GetNoSMaskGraphicState()
189 SkAutoTUnref<SkPDFDict> dict(new SkPDFDict("ExtGState")); in emitObject()
DSkPDFTypes.cpp338 SkPDFDict::SkPDFDict() {} in SkPDFDict() function in SkPDFDict
340 SkPDFDict::~SkPDFDict() { this->clear(); } in ~SkPDFDict()
342 SkPDFDict::SkPDFDict(const char type[]) { this->insertName("Type", type); } in SkPDFDict() function in SkPDFDict
344 void SkPDFDict::emitObject(SkWStream* stream, in emitObject()
352 void SkPDFDict::emitAll(SkWStream* stream, in emitAll()
365 void SkPDFDict::addResources(SkPDFObjNumMap* catalog, in addResources()
373 void SkPDFDict::set(SkPDFUnion&& name, SkPDFUnion&& value) { in set()
380 int SkPDFDict::size() const { return fRecords.count(); } in size()
382 void SkPDFDict::insertObjRef(const char key[], SkPDFObject* value) { in insertObjRef()
385 void SkPDFDict::insertObjRef(const SkString& key, SkPDFObject* value) { in insertObjRef()
[all …]
DSkPDFFont.h80 class SkPDFFont : public SkPDFDict {
162 SkPDFDict* relatedFontDescriptor);
172 SkPDFDict* getFontDescriptor();
173 void setFontDescriptor(SkPDFDict* descriptor);
192 SkPDFDict* relatedFontDescriptor);
204 SkAutoTUnref<SkPDFDict> fDescriptor;
208 typedef SkPDFDict INHERITED;
DSkPDFResourceDict.cpp60 SkPDFDict* dst) { in add_subdict()
64 SkAutoTUnref<SkPDFDict> resources(new SkPDFDict); in add_subdict()
72 SkPDFDict* SkPDFResourceDict::Create( in Create()
77 SkAutoTUnref<SkPDFDict> dict(new SkPDFDict); in Create()
DSkPDFFormXObject.cpp22 SkAutoTUnref<SkPDFDict> resourceDict(device->createResourceDict()); in SkPDFFormXObject()
48 SkPDFDict* resourceDict) { in SkPDFFormXObject()
60 SkPDFDict* resourceDict, SkPDFArray* bbox) { in init()
68 SkAutoTUnref<SkPDFDict> group(new SkPDFDict("Group")); in init()
DSkPDFTypes.h240 class SkPDFDict : public SkPDFObject {
244 SkPDFDict();
249 explicit SkPDFDict(const char type[]);
251 virtual ~SkPDFDict();
320 SkPDFSharedStream(SkStreamAsset* data) : fAsset(data), fDict(new SkPDFDict) { SkASSERT(data); } in SkPDFSharedStream()
321 SkPDFDict* dict() { return fDict; } in dict()
330 SkAutoTUnref<SkPDFDict> fDict;
DSkPDFGraphicState.h58 static SkPDFDict* GetSMaskGraphicState(SkPDFFormXObject* sMask,
70 static SkPDFDict* GetNoSMaskGraphicState();
87 typedef SkPDFDict INHERITED;
DSkPDFFont.cpp810 SkPDFDict* relatedFontDescriptor = nullptr; in GetFontResource()
861 SkPDFDict* relatedFontDescriptor) in SkPDFFont()
862 : SkPDFDict("Font") in SkPDFFont()
881 SkPDFDict* relatedFontDescriptor) { in Create()
927 SkPDFDict* SkPDFFont::getFontDescriptor() { in getFontDescriptor()
931 void SkPDFFont::setFontDescriptor(SkPDFDict* descriptor) { in setFontDescriptor()
1049 SkAutoTUnref<SkPDFDict> descriptor(new SkPDFDict("FontDescriptor")); in addFontDescriptor()
1146 SkAutoTUnref<SkPDFDict> sysInfo(new SkPDFDict); in populate()
1197 SkPDFDict* relatedFontDescriptor) in SkPDFType1Font()
1205 if (SkPDFDict* descriptor = getFontDescriptor()) { in addFontDescriptor()
[all …]
DSkPDFFormXObject.h46 SkPDFDict* resourceDict);
51 SkPDFDict* resourceDict, SkPDFArray* bbox);
DSkPDFStream.h25 class SkPDFStream : public SkPDFDict {
63 typedef SkPDFDict INHERITED;
DSkPDFShader.h53 class SkPDFFunctionShader final : public SkPDFDict {
65 typedef SkPDFDict INHERITED;
DSkPDFFontImpl.h30 typedef SkPDFDict INHERITED;
67 SkPDFDict* relatedFontDescriptor);
DSkPDFDevice.h27 class SkPDFDict; variable
150 SkPDFDict* createResourceDict() const;
166 void appendDestinations(SkPDFDict* dict, SkPDFObject* page) const;
DSkPDFShader.cpp457 : SkPDFDict("Pattern"), fShaderState(state) {} in SkPDFFunctionShader()
526 static SkPDFDict* get_gradient_resource_dict( in get_gradient_resource_dict()
540 static void populate_tiling_pattern_dict(SkPDFDict* pattern, in populate_tiling_pattern_dict()
542 SkPDFDict* resources, in populate_tiling_pattern_dict()
595 SkAutoTUnref<SkPDFDict> in create_smask_graphic_state()
630 SkAutoTUnref<SkPDFDict> resourceDict( in Create()
802 SkAutoTUnref<SkPDFDict> pdfShader(new SkPDFDict); in Create()
1027 SkAutoTUnref<SkPDFDict> resourceDict( in Create()
DSkPDFResourceDict.h39 static SkPDFDict* Create(
DSkPDFMetadata.cpp31 SkAutoTUnref<SkPDFDict> dict(new SkPDFDict); in createDocumentInformationDict()
193 SkPDFDict dict("Metadata"); in emitObject()
DSkPDFDevice.cpp881 static SkPDFDict* create_link_annotation(const SkRect& translatedRect) { in create_link_annotation()
882 SkAutoTUnref<SkPDFDict> annotation(new SkPDFDict("Annot")); in create_link_annotation()
903 static SkPDFDict* create_link_to_url(const SkData* urlData, const SkRect& r) { in create_link_to_url()
904 SkAutoTUnref<SkPDFDict> annotation(create_link_annotation(r)); in create_link_to_url()
908 SkAutoTUnref<SkPDFDict> action(new SkPDFDict("Action")); in create_link_to_url()
915 static SkPDFDict* create_link_named_dest(const SkData* nameData, in create_link_named_dest()
917 SkAutoTUnref<SkPDFDict> annotation(create_link_annotation(r)); in create_link_named_dest()
1539 SkPDFDict* SkPDFDevice::createResourceDict() const { in createResourceDict()
1749 void SkPDFDevice::appendDestinations(SkPDFDict* dict, SkPDFObject* page) const { in appendDestinations()
DSkPDFBitmap.cpp351 SkPDFDict pdfDict("XObject"); in emit_image_xobject()
449 SkPDFDict pdfDict("XObject"); in emitObject()
/external/skia/tests/
DPDFPrimitivesTest.cpp160 SkAutoTUnref<SkPDFDict> proxy(new SkPDFDict()); in TestSubstitute()
161 SkAutoTUnref<SkPDFDict> stub(new SkPDFDict()); in TestSubstitute()
292 SkAutoTUnref<SkPDFDict> dict(new SkPDFDict); in TestPDFDict()
298 dict.reset(new SkPDFDict); in TestPDFDict()
312 dict.reset(new SkPDFDict); in TestPDFDict()
339 dict.reset(new SkPDFDict("DType")); in TestPDFDict()