Home
last modified time | relevance | path

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

12

/external/skia/src/pdf/
DSkPDFTypes.cpp340 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 …]
DSkPDFTypes.h27 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,
DSkPDFTag.cpp127 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendInt()
137 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendFloat()
147 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendName()
157 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendString()
167 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendFloatArray()
184 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendStringArray()
201 std::unique_ptr<SkPDFDict> attrDict = SkPDFMakeDict(); in appendNodeIdArray()
324 std::unique_ptr<SkPDFDict> mcr = SkPDFMakeDict("MCR"); in PrepareTagTreeToEmit()
330 std::unique_ptr<SkPDFDict> annotationDict = SkPDFMakeDict("OBJR"); in PrepareTagTreeToEmit()
336 SkPDFDict dict("StructElem"); in PrepareTagTreeToEmit()
[all …]
DSkPDFGraphicState.cpp65 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()
DSkPDFResourceDict.h15 class SkPDFDict; variable
35 std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict(
DSkPDFFormXObject.cpp15 std::unique_ptr<SkPDFDict> resourceDict, in SkPDFMakeFormXObject()
18 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in SkPDFMakeFormXObject()
DSkPDFDocument.cpp122 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()
DSkPDFResourceDict.cpp64 SkPDFDict* dst) { in add_subdict()
84 std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict( in SkPDFMakeResourceDict()
DSkPDFFont.cpp239 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()
DSkPDFGradientShader.cpp198 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()
DSkPDFDocumentPriv.h103 void emitStream(const SkPDFDict& dict, T writeStream, SkPDFIndirectReference ref) { in emitStream()
161 std::vector<std::unique_ptr<SkPDFDict>> fPages;
/external/skqp/src/pdf/
DSkPDFTypes.cpp337 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 …]
DSkPDFTypes.h27 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,
DSkPDFGraphicState.cpp65 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()
DSkPDFResourceDict.h15 class SkPDFDict; variable
35 std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict(
DSkPDFFormXObject.cpp15 std::unique_ptr<SkPDFDict> resourceDict, in SkPDFMakeFormXObject()
18 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in SkPDFMakeFormXObject()
DSkPDFDocumentPriv.h75 void emitStream(const SkPDFDict& dict, T writeStream, SkPDFIndirectReference ref) { in emitStream()
117 std::vector<std::unique_ptr<SkPDFDict>> fPages;
119 SkPDFDict fDests;
DSkPDFTag.cpp178 std::unique_ptr<SkPDFDict> mcr = SkPDFMakeDict("MCR"); in prepare_tag_tree_to_emit()
184 SkPDFDict dict("StructElem"); in prepare_tag_tree_to_emit()
203 SkPDFDict structTreeRoot("StructTreeRoot"); in makeStructTreeRoot()
209 SkPDFDict parentTree("ParentTree"); in makeStructTreeRoot()
DSkPDFFont.cpp241 static void add_common_font_descriptor_entries(SkPDFDict* descriptor, in add_common_font_descriptor_entries()
321 std::unique_ptr<SkPDFDict> tmp = SkPDFMakeDict(); in emit_subset_type0()
337 std::unique_ptr<SkPDFDict> tmp = SkPDFMakeDict(); in emit_subset_type0()
345 std::unique_ptr<SkPDFDict> tmp = SkPDFMakeDict(); in emit_subset_type0()
393 SkPDFDict fontDict("Font"); in emit_subset_type0()
422 SkPDFDict descriptor("FontDescriptor"); in make_type1_font_descriptor()
435 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in make_type1_font_descriptor()
480 SkPDFDict font("Font"); in emit_subset_type1()
612 SkPDFDict descriptor("FontDescriptor"); in type3_descriptor()
651 SkPDFDict font("Font"); in emit_subset_type3()
DSkPDFResourceDict.cpp64 SkPDFDict* dst) { in add_subdict()
84 std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict( in SkPDFMakeResourceDict()
DSkPDFDevice.h31 class SkPDFDict; variable
102 std::unique_ptr<SkPDFDict> makeResourceDict();
111 void appendDestinations(SkPDFDict* dict, SkPDFIndirectReference page) const;
DSkPDFGradientShader.cpp198 static std::unique_ptr<SkPDFDict> createInterpolationFunction(const ColorTuple& color1, in createInterpolationFunction()
222 static std::unique_ptr<SkPDFDict> gradientStitchCode(const SkShader::GradientInfo& info) { in gradientStitchCode()
581 std::unique_ptr<SkPDFDict> dict = SkPDFMakeDict(); in make_ps_function()
745 SkPDFDict pdfFunctionShader("Pattern"); in make_function_shader()
756 static std::unique_ptr<SkPDFDict> get_gradient_resource_dict(SkPDFIndirectReference functionShader, in get_gradient_resource_dict()
829 std::unique_ptr<SkPDFDict> resources = get_gradient_resource_dict(luminosityShader, in create_smask_graphic_state()
862 std::unique_ptr<SkPDFDict> resourceDict = get_gradient_resource_dict(colorShader, alphaGsRef); in make_alpha_function_shader()
866 std::unique_ptr<SkPDFDict> alphaFunctionShader = SkPDFMakeDict(); in make_alpha_function_shader()
DSkPDFUtils.h122 void PopulateTilingPatternDict(SkPDFDict* pattern,
124 std::unique_ptr<SkPDFDict> resources,
/external/skqp/tests/
DPDFPrimitivesTest.cpp188 std::unique_ptr<SkPDFDict> dict(new SkPDFDict); in TestPDFDict()
194 dict.reset(new SkPDFDict); in TestPDFDict()
208 dict.reset(new SkPDFDict); in TestPDFDict()
235 dict.reset(new SkPDFDict("DType")); in TestPDFDict()
/external/skia/tests/
DPDFPrimitivesTest.cpp197 std::unique_ptr<SkPDFDict> dict(new SkPDFDict); in TestPDFDict()
203 dict = std::make_unique<SkPDFDict>(); in TestPDFDict()
217 dict = std::make_unique<SkPDFDict>(); in TestPDFDict()
244 dict = std::make_unique<SkPDFDict>("DType"); in TestPDFDict()

12