/external/skia/src/pdf/ |
D | SkPDFTypes.h | 19 class SkPDFObject; variable 35 class SkPDFObject : public SkRefCnt { 59 virtual ~SkPDFObject() {} in ~SkPDFObject() 116 static SkPDFUnion Object(sk_sp<SkPDFObject>); 117 static SkPDFUnion ObjRef(sk_sp<SkPDFObject>); 133 SkPDFObject* fObject; 166 class SkPDFAtom final : public SkPDFObject { 175 typedef SkPDFObject INHERITED; 185 class SkPDFArray final : public SkPDFObject { 218 void appendObject(sk_sp<SkPDFObject>); [all …]
|
D | SkPDFDocument.h | 39 sk_sp<SkPDFObject> fInfoDict; 45 void addObjectRecursively(const sk_sp<SkPDFObject>&); 48 void serializeFooter(SkWStream*, const sk_sp<SkPDFObject>, sk_sp<SkPDFObject>); 78 void serialize(const sk_sp<SkPDFObject>&); 91 sk_sp<SkPDFObject> fID; 92 sk_sp<SkPDFObject> fXMP;
|
D | SkPDFResourceDict.h | 15 class SkPDFObject; variable 44 const SkTDArray<SkPDFObject*>* gStateResources, 45 const SkTDArray<SkPDFObject*>* patternResources, 46 const SkTDArray<SkPDFObject*>* xObjectResources, 47 const SkTDArray<SkPDFObject*>* fontResources);
|
D | SkPDFDevice.h | 33 class SkPDFObject; variable 124 void appendDestinations(SkPDFDict* dict, SkPDFObject* page) const; 194 SkTDArray<SkPDFObject*> fGraphicStateResources; 195 SkTDArray<SkPDFObject*> fXObjectResources; 197 SkTDArray<SkPDFObject*> fShaderResources; 213 sk_sp<SkPDFObject> makeFormXObjectFromDevice(); 216 sk_sp<SkPDFObject> mask, 229 sk_sp<SkPDFObject>* dst); 230 void finishContentEntry(SkBlendMode, sk_sp<SkPDFObject> dst, SkPath* shape); 238 int addGraphicStateResource(SkPDFObject* gs); [all …]
|
D | SkPDFMetadata.h | 13 class SkPDFObject; variable 16 sk_sp<SkPDFObject> MakeDocumentInformationDict(const SkDocument::PDFMetadata&); 24 sk_sp<SkPDFObject> MakePdfId(const UUID& doc, const UUID& instance); 26 sk_sp<SkPDFObject> MakeXMPObject(const SkDocument::PDFMetadata&,
|
D | SkPDFResourceDict.cpp | 57 const SkTDArray<SkPDFObject*>& resourceList, in add_subdict() 72 const SkTDArray<SkPDFObject*>* gStateResources, in Make() 73 const SkTDArray<SkPDFObject*>* patternResources, in Make() 74 const SkTDArray<SkPDFObject*>* xObjectResources, in Make() 75 const SkTDArray<SkPDFObject*>* fontResources) { in Make()
|
D | SkPDFBitmap.h | 14 class SkPDFObject; variable 21 sk_sp<SkPDFObject> SkPDFCreateBitmapObject(sk_sp<SkImage>,
|
D | SkPDFTypes.cpp | 234 SkPDFUnion SkPDFUnion::ObjRef(sk_sp<SkPDFObject> objSp) { in ObjRef() 241 SkPDFUnion SkPDFUnion::Object(sk_sp<SkPDFObject> objSp) { in Object() 333 void SkPDFArray::appendObject(sk_sp<SkPDFObject> objSp) { in appendObject() 337 void SkPDFArray::appendObjRef(sk_sp<SkPDFObject> objSp) { in appendObjRef() 391 void SkPDFDict::insertObjRef(const char key[], sk_sp<SkPDFObject> objSp) { in insertObjRef() 395 void SkPDFDict::insertObjRef(const SkString& key, sk_sp<SkPDFObject> objSp) { in insertObjRef() 399 void SkPDFDict::insertObject(const char key[], sk_sp<SkPDFObject> objSp) { in insertObject() 402 void SkPDFDict::insertObject(const SkString& key, sk_sp<SkPDFObject> objSp) { in insertObject() 579 bool SkPDFObjNumMap::addObject(SkPDFObject* obj) { in addObject() 588 void SkPDFObjNumMap::addObjectRecursively(SkPDFObject* obj) { in addObjectRecursively() [all …]
|
D | SkPDFBitmap.cpp | 278 const sk_sp<SkPDFObject>& smask, in emit_image_xobject() 324 class PDFAlphaBitmap final : public SkPDFObject { 343 class PDFDefaultBitmap final : public SkPDFObject { 354 PDFDefaultBitmap(sk_sp<SkImage> image, sk_sp<SkPDFObject> smask) in PDFDefaultBitmap() 359 sk_sp<SkPDFObject> fSMask; 371 class PDFJpegBitmap final : public SkPDFObject { 407 sk_sp<SkPDFObject> SkPDFCreateBitmapObject(sk_sp<SkImage> image, in SkPDFCreateBitmapObject() 442 sk_sp<SkPDFObject> smask; in SkPDFCreateBitmapObject()
|
D | SkPDFGradientShader.cpp | 595 sk_sp<SkPDFObject> range) { in make_ps_function() 786 static sk_sp<SkPDFObject> find_pdf_shader(SkPDFDocument* doc, 790 static sk_sp<SkPDFDict> get_gradient_resource_dict(SkPDFObject* functionShader, in get_gradient_resource_dict() 791 SkPDFObject* gState) { in get_gradient_resource_dict() 792 SkTDArray<SkPDFObject*> patterns; in get_gradient_resource_dict() 796 SkTDArray<SkPDFObject*> graphicStates; in get_gradient_resource_dict() 846 static sk_sp<SkPDFObject> create_smask_graphic_state(SkPDFDocument* doc, in create_smask_graphic_state() 857 sk_sp<SkPDFObject> luminosityShader = find_pdf_shader(doc, std::move(luminosityState), false); in create_smask_graphic_state() 860 sk_sp<SkPDFObject> alphaMask = SkPDFMakeFormXObject(create_pattern_fill_content(-1, bbox), in create_smask_graphic_state() 881 sk_sp<SkPDFObject> colorShader = find_pdf_shader(doc, std::move(opaqueState), false); in make_alpha_function_shader() [all …]
|
D | SkPDFDocument.cpp | 27 void SkPDFObjectSerializer::addObjectRecursively(const sk_sp<SkPDFObject>& object) { in addObjectRecursively() 54 const SkTArray<sk_sp<SkPDFObject>>& objects = fObjNumMap.objects(); in serializeObjects() 56 SkPDFObject* object = objects[fNextToBeSerialized].get(); in serializeObjects() 74 const sk_sp<SkPDFObject> docCatalog, in serializeFooter() 75 sk_sp<SkPDFObject> id) { in serializeFooter() 192 void SkPDFDocument::serialize(const sk_sp<SkPDFObject>& object) { in serialize()
|
D | SkPDFFormXObject.cpp | 12 sk_sp<SkPDFObject> SkPDFMakeFormXObject(std::unique_ptr<SkStreamAsset> content, in SkPDFMakeFormXObject() 21 sk_sp<SkPDFObject> mat(SkPDFUtils::MatrixToArray(inverseTransform)); in SkPDFMakeFormXObject()
|
D | SkPDFCanon.h | 33 SkTHashMap<SkPDFImageShaderKey, sk_sp<SkPDFObject>> fImageShaderMap; 37 SkTHashMap<SkBitmapKey, sk_sp<SkPDFObject>> fPDFBitmapMap;
|
D | SkPDFGradientShader.h | 20 sk_sp<SkPDFObject> Make(SkPDFDocument* doc, 40 using HashMap = SkTHashMap<Key, sk_sp<SkPDFObject>, KeyHash>;
|
D | SkPDFMetadata.cpp | 48 sk_sp<SkPDFObject> SkPDFMetadata::MakeDocumentInformationDict( in MakeDocumentInformationDict() 112 sk_sp<SkPDFObject> SkPDFMetadata::MakePdfId(const UUID& doc, in MakePdfId() 157 class PDFXMLObject final : public SkPDFObject { 234 sk_sp<SkPDFObject> SkPDFMetadata::MakeXMPObject( in MakeXMPObject()
|
D | SkPDFShader.cpp | 252 static sk_sp<SkPDFObject> make_fallback_shader(SkPDFDocument* doc, in make_fallback_shader() 311 sk_sp<SkPDFObject> SkPDFMakeShader(SkPDFDocument* doc, in SkPDFMakeShader() 335 sk_sp<SkPDFObject>* shaderPtr = canon->fImageShaderMap.find(key); in SkPDFMakeShader() 339 sk_sp<SkPDFObject> pdfShader = make_image_shader(doc, key, skimg); in SkPDFMakeShader()
|
D | SkPDFFormXObject.h | 20 sk_sp<SkPDFObject> SkPDFMakeFormXObject(std::unique_ptr<SkStreamAsset> content,
|
D | SkPDFShader.h | 38 sk_sp<SkPDFObject> SkPDFMakeShader(SkPDFDocument* doc,
|
D | SkPDFGraphicState.h | 40 sk_sp<SkPDFDict> GetSMaskGraphicState(sk_sp<SkPDFObject> sMask,
|
D | SkPDFDevice.cpp | 533 sk_sp<SkPDFObject> fDstFormXObject; 1742 sk_sp<SkPDFObject> xObject = pdfDevice->makeFormXObjectFromDevice(); in drawDevice() 1752 SkTDArray<SkPDFObject*> fonts; in makeResourceDict() 1877 void SkPDFDevice::appendDestinations(SkPDFDict* dict, SkPDFObject* page) const { in appendDestinations() 1892 sk_sp<SkPDFObject> SkPDFDevice::makeFormXObjectFromDevice() { in makeFormXObjectFromDevice() 1900 sk_sp<SkPDFObject> xobject = in makeFormXObjectFromDevice() 1912 sk_sp<SkPDFObject> mask, in drawFormXObjectWithMask() 1939 sk_sp<SkPDFObject>* dst) { in setUpContentEntry() 1985 sk_sp<SkPDFObject> dst, in finishContentEntry() 2027 sk_sp<SkPDFObject> srcFormXObject; in finishContentEntry() [all …]
|
D | SkPDFGraphicState.cpp | 145 sk_sp<SkPDFObject> sMask, in GetSMaskGraphicState()
|
/external/skia/bench/ |
D | PDFBench.cpp | 47 static void test_pdf_object_serialization(const sk_sp<SkPDFObject> object) { in test_pdf_object_serialization() 53 SkPDFObject* object = objNumMap.objects()[i].get(); in test_pdf_object_serialization() 156 sk_sp<SkPDFObject> object = in onDraw() 219 sk_sp<SkPDFObject> shader = in onDraw()
|
/external/skia/site/dev/design/ |
D | pdftheory.md | 94 The class SkPDFObjNumMap and the virtual class SkPDFObject are used to 96 PDF object must inherit from SkPDFObject and implement the methods to
|