Home
last modified time | relevance | path

Searched refs:SkPDFResourceType (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/pdf/
DSkPDFResourceDict.cpp16 static_assert(0 == (int)SkPDFResourceType::kExtGState, "resource_type_mismatch");
17 static_assert(1 == (int)SkPDFResourceType::kPattern, "resource_type_mismatch");
18 static_assert(2 == (int)SkPDFResourceType::kXObject, "resource_type_mismatch");
19 static_assert(3 == (int)SkPDFResourceType::kFont, "resource_type_mismatch");
25 static char* get_resource_name(char dst[kMaxResourceNameLength], SkPDFResourceType type, int key) { in get_resource_name()
37 void SkPDFWriteResourceName(SkWStream* dst, SkPDFResourceType type, int key) { in SkPDFWriteResourceName()
45 static const char* resource_name(SkPDFResourceType type) { in resource_name()
56 static SkString resource(SkPDFResourceType type, int index) { in resource()
63 SkPDFResourceType type, in add_subdict()
91 add_subdict(graphicStateResources, SkPDFResourceType::kExtGState, dict.get()); in SkPDFMakeResourceDict()
[all …]
DSkPDFResourceDict.h19 enum class SkPDFResourceType { enum
48 void SkPDFWriteResourceName(SkWStream*, SkPDFResourceType type, int key);
DSkPDFUtils.cpp241 SkPDFWriteResourceName(content, SkPDFResourceType::kExtGState, objectIndex); in ApplyGraphicState()
249 SkPDFWriteResourceName(content, SkPDFResourceType::kPattern, objectIndex); in ApplyPattern()
251 SkPDFWriteResourceName(content, SkPDFResourceType::kPattern, objectIndex); in ApplyPattern()
DSkPDFDevice.cpp937 SkPDFWriteResourceName(out, SkPDFResourceType::kFont, in internalDrawGlyphRun()
971 SkPDFWriteResourceName(content, SkPDFResourceType::kXObject, in drawFormXObject()
/external/skqp/src/pdf/
DSkPDFResourceDict.cpp16 static_assert(0 == (int)SkPDFResourceType::kExtGState, "resource_type_mismatch");
17 static_assert(1 == (int)SkPDFResourceType::kPattern, "resource_type_mismatch");
18 static_assert(2 == (int)SkPDFResourceType::kXObject, "resource_type_mismatch");
19 static_assert(3 == (int)SkPDFResourceType::kFont, "resource_type_mismatch");
25 static char* get_resource_name(char dst[kMaxResourceNameLength], SkPDFResourceType type, int key) { in get_resource_name()
37 void SkPDFWriteResourceName(SkWStream* dst, SkPDFResourceType type, int key) { in SkPDFWriteResourceName()
45 static const char* resource_name(SkPDFResourceType type) { in resource_name()
56 static SkString resource(SkPDFResourceType type, int index) { in resource()
63 SkPDFResourceType type, in add_subdict()
91 add_subdict(graphicStateResources, SkPDFResourceType::kExtGState, dict.get()); in SkPDFMakeResourceDict()
[all …]
DSkPDFResourceDict.h19 enum class SkPDFResourceType { enum
48 void SkPDFWriteResourceName(SkWStream*, SkPDFResourceType type, int key);
DSkPDFUtils.cpp233 SkPDFWriteResourceName(content, SkPDFResourceType::kExtGState, objectIndex); in ApplyGraphicState()
241 SkPDFWriteResourceName(content, SkPDFResourceType::kPattern, objectIndex); in ApplyPattern()
243 SkPDFWriteResourceName(content, SkPDFResourceType::kPattern, objectIndex); in ApplyPattern()
DSkPDFDevice.cpp1212 SkPDFWriteResourceName(out, SkPDFResourceType::kFont, in internalDrawGlyphRun()
1244 SkPDFWriteResourceName(content, SkPDFResourceType::kXObject, in drawFormXObject()