/third_party/skia/src/pdf/ |
D | SkPDFTypes.cpp | 340 SkPDFDict::~SkPDFDict() {} in ~SkPDFDict() 342 SkPDFDict::SkPDFDict(const char type[]) { in SkPDFDict() function in SkPDFDict 348 void SkPDFDict::emitObject(SkWStream* stream) const { in emitObject() 362 size_t SkPDFDict::size() const { return fRecords.size(); } in size() 364 void SkPDFDict::reserve(int n) { in reserve() 368 void SkPDFDict::insertRef(const char key[], SkPDFIndirectReference ref) { in insertRef() 372 void SkPDFDict::insertRef(SkString key, SkPDFIndirectReference ref) { in insertRef() 376 void SkPDFDict::insertObject(const char key[], std::unique_ptr<SkPDFObject>&& objSp) { in insertObject() 379 void SkPDFDict::insertObject(SkString key, std::unique_ptr<SkPDFObject>&& objSp) { in insertObject() 384 void SkPDFDict::insertBool(const char key[], bool value) { in insertBool() [all …]
|
D | SkPDFTypes.h | 27 class SkPDFDict; variable 144 class SkPDFDict final : public SkPDFObject { 149 explicit SkPDFDict(const char type[] = nullptr); 151 ~SkPDFDict() override; 190 static inline std::unique_ptr<SkPDFDict> SkPDFMakeDict(const char* type = nullptr) { 191 return std::make_unique<SkPDFDict>(type); 200 SkPDFIndirectReference SkPDFStreamOut(std::unique_ptr<SkPDFDict> dict,
|
D | SkPDFTag.cpp | 68 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendInt() 78 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendFloat() 88 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendName() 98 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendString() 108 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendFloatArray() 125 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendStringArray() 142 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendNodeIdArray() 264 std::unique_ptr<SkPDFDict> mcr = SkPDFMakeDict("MCR"); in PrepareTagTreeToEmit() 270 std::unique_ptr<SkPDFDict> annotationDict = SkPDFMakeDict("OBJR"); in PrepareTagTreeToEmit() 276 SkPDFDict dict("StructElem"); in PrepareTagTreeToEmit() [all …]
|
D | SkPDFGraphicState.cpp | 67 SkPDFDict state; in GetGraphicStateForPaint() 87 SkPDFDict state; in GetGraphicStateForPaint() 112 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in make_invert_function() 139 SkPDFDict result("ExtGState"); in GetSMaskGraphicState()
|
D | SkPDFResourceDict.h | 15 class SkPDFDict; variable 35 std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict(
|
D | SkPDFFormXObject.cpp | 15 std::unique_ptr<SkPDFDict> resourceDict, in SkPDFMakeFormXObject() 18 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in SkPDFMakeFormXObject()
|
D | SkPDFDocument.cpp | 122 SkPDFDict trailerDict; in serialize_footer() 140 std::vector<std::unique_ptr<SkPDFDict>> pages, in generate_page_tree() 151 std::unique_ptr<SkPDFDict> fNode; in generate_page_tree() 287 static void populate_link_annotation(SkPDFDict* annotation, const SkRect& r) { in populate_link_annotation() 301 SkPDFDict destinations; in append_destinations() 324 SkPDFDict annotation("Annot"); in getAnnotations() 327 std::unique_ptr<SkPDFDict> action = SkPDFMakeDict("Action"); in getAnnotations() 500 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in make_srgb_color_profile()
|
D | SkPDFResourceDict.cpp | 64 SkPDFDict* dst) { in add_subdict() 84 std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict( in SkPDFMakeResourceDict()
|
D | SkPDFFont.cpp | 239 void SkPDFFont::PopulateCommonFontDescriptor(SkPDFDict* descriptor, in PopulateCommonFontDescriptor() 316 std::unique_ptr<SkPDFDict> tmp = SkPDFMakeDict(); in emit_subset_type0() 331 std::unique_ptr<SkPDFDict> tmp = SkPDFMakeDict(); in emit_subset_type0() 339 std::unique_ptr<SkPDFDict> tmp = SkPDFMakeDict(); in emit_subset_type0() 384 SkPDFDict fontDict("Font"); in emit_subset_type0() 491 SkPDFDict descriptor("FontDescriptor"); in type3_descriptor() 554 SkPDFDict font("Font"); in emit_subset_type3()
|
D | SkPDFGradientShader.cpp | 198 static std::unique_ptr<SkPDFDict> createInterpolationFunction(const ColorTuple& color1, in createInterpolationFunction() 222 static std::unique_ptr<SkPDFDict> gradientStitchCode(const SkShader::GradientInfo& info) { in gradientStitchCode() 580 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in make_ps_function() 744 SkPDFDict pdfFunctionShader("Pattern"); in make_function_shader() 755 static std::unique_ptr<SkPDFDict> get_gradient_resource_dict(SkPDFIndirectReference functionShader, in get_gradient_resource_dict() 828 std::unique_ptr<SkPDFDict> resources = get_gradient_resource_dict(luminosityShader, in create_smask_graphic_state() 861 std::unique_ptr<SkPDFDict> resourceDict = get_gradient_resource_dict(colorShader, alphaGsRef); in make_alpha_function_shader() 865 std::unique_ptr<SkPDFDict> alphaFunctionShader = SkPDFMakeDict(); in make_alpha_function_shader()
|
D | SkPDFUtils.h | 123 void PopulateTilingPatternDict(SkPDFDict* pattern, 125 std::unique_ptr<SkPDFDict> resources,
|
D | SkPDFDocumentPriv.h | 103 void emitStream(const SkPDFDict& dict, T writeStream, SkPDFIndirectReference ref) { in emitStream() 161 std::vector<std::unique_ptr<SkPDFDict>> fPages;
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFTypes.cpp | 337 SkPDFDict::~SkPDFDict() {} in ~SkPDFDict() 339 SkPDFDict::SkPDFDict(const char type[]) { in SkPDFDict() function in SkPDFDict 345 void SkPDFDict::emitObject(SkWStream* stream) const { in emitObject() 359 size_t SkPDFDict::size() const { return fRecords.size(); } in size() 361 void SkPDFDict::reserve(int n) { in reserve() 365 void SkPDFDict::insertRef(const char key[], SkPDFIndirectReference ref) { in insertRef() 369 void SkPDFDict::insertRef(SkString key, SkPDFIndirectReference ref) { in insertRef() 373 void SkPDFDict::insertObject(const char key[], std::unique_ptr<SkPDFObject>&& objSp) { in insertObject() 376 void SkPDFDict::insertObject(SkString key, std::unique_ptr<SkPDFObject>&& objSp) { in insertObject() 381 void SkPDFDict::insertBool(const char key[], bool value) { in insertBool() [all …]
|
D | SkPDFTypes.h | 27 class SkPDFDict; variable 144 class SkPDFDict final : public SkPDFObject { 149 explicit SkPDFDict(const char type[] = nullptr); 151 ~SkPDFDict() override; 190 static inline std::unique_ptr<SkPDFDict> SkPDFMakeDict(const char* type = nullptr) { 191 return std::unique_ptr<SkPDFDict>(new SkPDFDict(type)); 200 SkPDFIndirectReference SkPDFStreamOut(std::unique_ptr<SkPDFDict> dict,
|
D | SkPDFGraphicState.cpp | 65 SkPDFDict state; in GetGraphicStateForPaint() 85 SkPDFDict state; in GetGraphicStateForPaint() 110 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in make_invert_function() 137 SkPDFDict result("ExtGState"); in GetSMaskGraphicState()
|
D | SkPDFResourceDict.h | 15 class SkPDFDict; variable 35 std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict(
|
D | SkPDFDocument.cpp | 100 SkPDFDict trailerDict; in serialize_footer() 118 std::vector<std::unique_ptr<SkPDFDict>> pages, in generate_page_tree() 129 std::unique_ptr<SkPDFDict> fNode; in generate_page_tree() 265 static void populate_link_annotation(SkPDFDict* annotation, const SkRect& r) { in populate_link_annotation() 292 SkPDFDict annotation("Annot"); in get_annotations() 294 std::unique_ptr<SkPDFDict> action = SkPDFMakeDict("Action"); in get_annotations() 301 SkPDFDict annotation("Annot"); in get_annotations() 313 SkPDFDict destinations; in append_destinations() 476 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in make_srgb_color_profile()
|
D | SkPDFFormXObject.cpp | 15 std::unique_ptr<SkPDFDict> resourceDict, in SkPDFMakeFormXObject() 18 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in SkPDFMakeFormXObject()
|
D | SkPDFTag.cpp | 177 std::unique_ptr<SkPDFDict> mcr = SkPDFMakeDict("MCR"); in prepare_tag_tree_to_emit() 183 SkPDFDict dict("StructElem"); in prepare_tag_tree_to_emit() 202 SkPDFDict structTreeRoot("StructTreeRoot"); in makeStructTreeRoot() 208 SkPDFDict parentTree("ParentTree"); in makeStructTreeRoot()
|
D | SkPDFResourceDict.cpp | 64 SkPDFDict* dst) { in add_subdict() 84 std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict( in SkPDFMakeResourceDict()
|
D | SkPDFFont.cpp | 236 void SkPDFFont::PopulateCommonFontDescriptor(SkPDFDict* descriptor, in PopulateCommonFontDescriptor() 313 std::unique_ptr<SkPDFDict> tmp = SkPDFMakeDict(); in emit_subset_type0() 328 std::unique_ptr<SkPDFDict> tmp = SkPDFMakeDict(); in emit_subset_type0() 336 std::unique_ptr<SkPDFDict> tmp = SkPDFMakeDict(); in emit_subset_type0() 381 SkPDFDict fontDict("Font"); in emit_subset_type0() 488 SkPDFDict descriptor("FontDescriptor"); in type3_descriptor() 528 SkPDFDict font("Font"); in emit_subset_type3()
|
D | SkPDFDocumentPriv.h | 82 void emitStream(const SkPDFDict& dict, T writeStream, SkPDFIndirectReference ref) { in emitStream() 134 std::vector<std::unique_ptr<SkPDFDict>> fPages;
|
D | SkPDFGradientShader.cpp | 198 static std::unique_ptr<SkPDFDict> createInterpolationFunction(const ColorTuple& color1, in createInterpolationFunction() 222 static std::unique_ptr<SkPDFDict> gradientStitchCode(const SkShader::GradientInfo& info) { in gradientStitchCode() 580 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in make_ps_function() 744 SkPDFDict pdfFunctionShader("Pattern"); in make_function_shader() 755 static std::unique_ptr<SkPDFDict> get_gradient_resource_dict(SkPDFIndirectReference functionShader, in get_gradient_resource_dict() 828 std::unique_ptr<SkPDFDict> resources = get_gradient_resource_dict(luminosityShader, in create_smask_graphic_state() 861 std::unique_ptr<SkPDFDict> resourceDict = get_gradient_resource_dict(colorShader, alphaGsRef); in make_alpha_function_shader() 865 std::unique_ptr<SkPDFDict> alphaFunctionShader = SkPDFMakeDict(); in make_alpha_function_shader()
|
/third_party/skia/tests/ |
D | PDFPrimitivesTest.cpp | 195 std::unique_ptr<SkPDFDict> dict(new SkPDFDict); in TestPDFDict() 201 dict = std::make_unique<SkPDFDict>(); in TestPDFDict() 215 dict = std::make_unique<SkPDFDict>(); in TestPDFDict() 242 dict = std::make_unique<SkPDFDict>("DType"); in TestPDFDict()
|
/third_party/flutter/skia/tests/ |
D | PDFPrimitivesTest.cpp | 190 std::unique_ptr<SkPDFDict> dict(new SkPDFDict); in TestPDFDict() 196 dict.reset(new SkPDFDict); in TestPDFDict() 210 dict.reset(new SkPDFDict); in TestPDFDict() 237 dict.reset(new SkPDFDict("DType")); in TestPDFDict()
|