3#ifndef SkPDFDocument_DEFINED
4#define SkPDFDocument_DEFINED
24#define SKPDF_STRING(X) SKPDF_STRING_IMPL(X)
25#define SKPDF_STRING_IMPL(X) #X
38 void appendInt(
const char* owner,
const char*
name,
int value);
39 void appendFloat(
const char* owner,
const char*
name,
float value);
40 void appendName(
const char* owner,
const char* attrName,
const char*
value);
41 void appendFloatArray(
const char* owner,
43 const std::vector<float>&
value);
44 void appendNodeIdArray(
const char* owner,
46 const std::vector<int>& nodeIds);
49 friend class ::SkPDFTagTree;
51 std::unique_ptr<SkPDFArray> fAttrs;
159 StructureElementHeaders = 1,
223#undef SKPDF_STRING_IMPL
static constexpr SkScalar SK_ScalarDefaultRasterDPI
SK_API sk_sp< SkDocument > MakeDocument(SkWStream *stream, const Metadata &metadata)
SK_API void SetNodeId(SkCanvas *dst, int nodeID)
DEF_SWITCHES_START aot vmservice shared library name
void toISO8601(SkString *dst) const
uint8_t fDayOfWeek
0..6, 0==Sunday
std::vector< std::unique_ptr< StructureElementNode > > fChildVector
std::vector< int > fAdditionalNodeIds
AttributeList fAttributes