#include "src/pdf/SkPDFResourceDict.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include "include/private/base/SkAssert.h"
#include "src/pdf/SkPDFTypes.h"
#include <cstddef>
#include <utility>
static_assert …;
static_assert …;
static_assert …;
static_assert …;
constexpr size_t kMaxResourceNameLength = …;
static char* get_resource_name(char dst[kMaxResourceNameLength], SkPDFResourceType type, int key) { … }
void SkPDFWriteResourceName(SkWStream* dst, SkPDFResourceType type, int key) { … }
static const char* resource_name(SkPDFResourceType type) { … }
static SkString resource(SkPDFResourceType type, int index) { … }
static void add_subdict(const std::vector<SkPDFIndirectReference>& resourceList,
SkPDFResourceType type,
SkPDFDict* dst) { … }
static std::unique_ptr<SkPDFArray> make_proc_set() { … }
std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict(
const std::vector<SkPDFIndirectReference>& graphicStateResources,
const std::vector<SkPDFIndirectReference>& shaderResources,
const std::vector<SkPDFIndirectReference>& xObjectResources,
const std::vector<SkPDFIndirectReference>& fontResources) { … }