Home
last modified time | relevance | path

Searched refs:SkPDFObject (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/pdf/
DSkPDFTypes.h21 class SkPDFObject; variable
35 class SkPDFObject : public SkRefCnt {
115 static SkPDFUnion Object(SkPDFObject*);
121 static SkPDFUnion ObjRef(SkPDFObject*);
139 SkPDFObject* fObject;
171 class SkPDFAtom final : public SkPDFObject {
181 typedef SkPDFObject INHERITED;
191 class SkPDFArray final : public SkPDFObject {
227 void appendObject(SkPDFObject*);
228 void appendObjRef(SkPDFObject*);
[all …]
DSkPDFTypes.cpp179 SkPDFObject* obj = substituteMap.getSubstitute(fObject); in addResources()
236 SkPDFUnion SkPDFUnion::ObjRef(SkPDFObject* ptr) { in ObjRef()
243 SkPDFUnion SkPDFUnion::Object(SkPDFObject* ptr) { in Object()
328 void SkPDFArray::appendObject(SkPDFObject* value) { in appendObject()
332 void SkPDFArray::appendObjRef(SkPDFObject* value) { in appendObjRef()
382 void SkPDFDict::insertObjRef(const char key[], SkPDFObject* value) { in insertObjRef()
385 void SkPDFDict::insertObjRef(const SkString& key, SkPDFObject* value) { in insertObjRef()
389 void SkPDFDict::insertObject(const char key[], SkPDFObject* value) { in insertObject()
392 void SkPDFDict::insertObject(const SkString& key, SkPDFObject* value) { in insertObject()
475 [](SkPDFObject*, SkPDFObject** v) { (*v)->unref(); }); in ~SkPDFSubstituteMap() argument
[all …]
DSkPDFResourceDict.h40 const SkTDArray<SkPDFObject*>* gStateResources,
41 const SkTDArray<SkPDFObject*>* patternResources,
42 const SkTDArray<SkPDFObject*>* xObjectResources,
43 const SkTDArray<SkPDFObject*>* fontResources);
DSkPDFMetadata.h14 class SkPDFObject; variable
21 SkPDFObject* createDocumentInformationDict() const;
28 static SkPDFObject* CreatePdfId(const UUID& doc, const UUID& instance);
29 SkPDFObject* createXMPObject(const UUID& doc, const UUID& instance) const;
DSkPDFResourceDict.cpp58 const SkTDArray<SkPDFObject*>& resourceList, in add_subdict()
73 const SkTDArray<SkPDFObject*>* gStateResources, in Create()
74 const SkTDArray<SkPDFObject*>* patternResources, in Create()
75 const SkTDArray<SkPDFObject*>* xObjectResources, in Create()
76 const SkTDArray<SkPDFObject*>* fontResources) { in Create()
DSkPDFDevice.h32 class SkPDFObject; variable
166 void appendDestinations(SkPDFDict* dict, SkPDFObject* page) const;
216 SkTDArray<SkPDFObject*> fGraphicStateResources;
217 SkTDArray<SkPDFObject*> fXObjectResources;
219 SkTDArray<SkPDFObject*> fShaderResources;
284 int addGraphicStateResource(SkPDFObject* gs);
285 int addXObjectResource(SkPDFObject* xObject);
DSkPDFCanon.cpp34 fPDFBitmapMap.foreach([](uint32_t, SkPDFObject** p) { SkSafeUnref(*p); }); in reset()
130 SkPDFObject* SkPDFCanon::findPDFBitmap(const SkImage* image) const { in findPDFBitmap()
131 SkPDFObject** ptr = fPDFBitmapMap.find(image->uniqueID()); in findPDFBitmap()
135 void SkPDFCanon::addPDFBitmap(uint32_t imageUniqueID, SkPDFObject* pdfBitmap) { in addPDFBitmap()
DSkPDFCanon.h78 SkPDFObject* findPDFBitmap(const SkImage* image) const;
79 void addPDFBitmap(uint32_t imageUniqueID, SkPDFObject*);
118 SkTHashMap<uint32_t /*ImageUniqueID*/, SkPDFObject*> fPDFBitmapMap;
DSkPDFBitmap.cpp333 SkPDFObject* smask, in emit_image_xobject()
383 class PDFAlphaBitmap final : public SkPDFObject {
402 class PDFDefaultBitmap final : public SkPDFObject {
412 SkPDFObject* obj = subs.getSubstitute(fSMask.get()); in addResources()
417 PDFDefaultBitmap(const SkImage* image, SkPDFObject* smask) in PDFDefaultBitmap()
422 const SkAutoTUnref<SkPDFObject> fSMask;
434 class PDFJpegBitmap final : public SkPDFObject {
471 SkPDFObject* SkPDFCreateBitmapObject(const SkImage* image, in SkPDFCreateBitmapObject()
505 SkPDFObject* smask = in SkPDFCreateBitmapObject()
DSkPDFShader.cpp489 static SkPDFObject* get_pdf_shader_by_state( in get_pdf_shader_by_state()
501 SkPDFObject* shader = canon->findImageShader(state); in get_pdf_shader_by_state()
505 SkPDFObject* shader = canon->findAlphaShader(state); in get_pdf_shader_by_state()
509 SkPDFObject* shader = canon->findFunctionShader(state); in get_pdf_shader_by_state()
516 SkPDFObject* SkPDFShader::GetPDFShader(SkPDFCanon* canon, in GetPDFShader()
527 SkPDFObject* functionShader, in get_gradient_resource_dict()
528 SkPDFObject* gState) { in get_gradient_resource_dict()
529 SkTDArray<SkPDFObject*> patterns; in get_gradient_resource_dict()
533 SkTDArray<SkPDFObject*> graphicStates; in get_gradient_resource_dict()
583 static SkPDFObject* create_smask_graphic_state( in create_smask_graphic_state()
[all …]
DSkPDFMetadata.cpp30 SkPDFObject* SkPDFMetadata::createDocumentInformationDict() const { in createDocumentInformationDict()
86 SkPDFObject* SkPDFMetadata::CreatePdfId(const UUID& doc, const UUID& instance) { in CreatePdfId()
187 class PDFXMLObject final : public SkPDFObject {
265 SkPDFObject* SkPDFMetadata::createXMPObject(const UUID& doc, in createXMPObject()
DSkPDFBitmap.h19 SkPDFObject* SkPDFCreateBitmapObject(const SkImage*, SkPixelSerializer*);
DSkPDFGraphicState.cpp129 static SkPDFObject* create_invert_function() { in create_invert_function()
149 SK_DECLARE_STATIC_ONCE_PTR(SkPDFObject, invertFunction);
DSkPDFGraphicState.h25 class SkPDFGraphicState final : public SkPDFObject {
DSkPDFShader.h45 static SkPDFObject* GetPDFShader(SkPDFCanon* canon,
DSkPDFDevice.cpp1540 SkTDArray<SkPDFObject*> fonts; in createResourceDict()
1749 void SkPDFDevice::appendDestinations(SkPDFDict* dict, SkPDFObject* page) const { in appendDestinations()
1784 SkAutoTUnref<SkPDFObject> sMaskGS(SkPDFGraphicState::GetSMaskGraphicState( in drawFormXObjectWithMask()
2083 SkAutoTUnref<SkPDFObject> pdfShader; in populateGraphicStateEntryFromPaint()
2155 int SkPDFDevice::addGraphicStateResource(SkPDFObject* gs) { in addGraphicStateResource()
2167 int SkPDFDevice::addXObjectResource(SkPDFObject* xObject) { in addXObjectResource()
2363 SkAutoTUnref<SkPDFObject> pdfimage(SkSafeRef(fCanon->findPDFBitmap(image))); in internalDrawImage()
/external/skia/bench/
DPDFBench.cpp23 static void test_pdf_object_serialization(SkPDFObject* object) { in test_pdf_object_serialization()
30 SkPDFObject* object = objNumMap.objects()[i]; in test_pdf_object_serialization()
66 SkAutoTUnref<SkPDFObject> object( in onDraw()
105 SkAutoTUnref<SkPDFObject> object( in onDraw()
138 SkAutoTUnref<SkPDFObject> object( in onDraw()
/external/skia/src/doc/
DSkDocument_PDF.cpp31 SkPDFObject* docCatalog, in emit_pdf_footer()
34 SkPDFObject* info /* take ownership */, in emit_pdf_footer()
35 SkPDFObject* id /* take ownership */) { in emit_pdf_footer()
74 static SkPDFObject* create_pdf_page_content(const SkPDFDevice* pageDevice) { in create_pdf_page_content()
190 SkAutoTUnref<SkPDFObject> infoDict( in emit_pdf_document()
193 SkAutoTUnref<SkPDFObject> id, xmp; in emit_pdf_document()
238 SkPDFObject* object = objNumMap.objects()[i]; in emit_pdf_document()
/external/skia/site/dev/design/
Dpdftheory.md112 The class SkPDFCatalog and the virtual class SkPDFObject are used to
114 PDF object must inherit from SkPDFObject and implement the methods to