/external/skia/src/doc/ |
D | SkDocument_PDF.cpp | 18 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/ |
D | SkPDFGraphicState.cpp | 152 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()
|
D | SkPDFTypes.cpp | 338 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 …]
|
D | SkPDFFont.h | 80 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;
|
D | SkPDFResourceDict.cpp | 60 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()
|
D | SkPDFFormXObject.cpp | 22 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()
|
D | SkPDFTypes.h | 240 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;
|
D | SkPDFGraphicState.h | 58 static SkPDFDict* GetSMaskGraphicState(SkPDFFormXObject* sMask, 70 static SkPDFDict* GetNoSMaskGraphicState(); 87 typedef SkPDFDict INHERITED;
|
D | SkPDFFont.cpp | 810 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 …]
|
D | SkPDFFormXObject.h | 46 SkPDFDict* resourceDict); 51 SkPDFDict* resourceDict, SkPDFArray* bbox);
|
D | SkPDFStream.h | 25 class SkPDFStream : public SkPDFDict { 63 typedef SkPDFDict INHERITED;
|
D | SkPDFShader.h | 53 class SkPDFFunctionShader final : public SkPDFDict { 65 typedef SkPDFDict INHERITED;
|
D | SkPDFFontImpl.h | 30 typedef SkPDFDict INHERITED; 67 SkPDFDict* relatedFontDescriptor);
|
D | SkPDFDevice.h | 27 class SkPDFDict; variable 150 SkPDFDict* createResourceDict() const; 166 void appendDestinations(SkPDFDict* dict, SkPDFObject* page) const;
|
D | SkPDFShader.cpp | 457 : 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()
|
D | SkPDFResourceDict.h | 39 static SkPDFDict* Create(
|
D | SkPDFMetadata.cpp | 31 SkAutoTUnref<SkPDFDict> dict(new SkPDFDict); in createDocumentInformationDict() 193 SkPDFDict dict("Metadata"); in emitObject()
|
D | SkPDFDevice.cpp | 881 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()
|
D | SkPDFBitmap.cpp | 351 SkPDFDict pdfDict("XObject"); in emit_image_xobject() 449 SkPDFDict pdfDict("XObject"); in emitObject()
|
/external/skia/tests/ |
D | PDFPrimitivesTest.cpp | 160 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()
|