Skia
2D Graphics Library
SkPDFDocument.h File Reference
#include "include/core/SkDocument.h"
#include <vector>
#include "include/core/SkColor.h"
#include "include/core/SkMilestone.h"
#include "include/core/SkScalar.h"
#include "include/core/SkString.h"
#include "include/private/base/SkNoncopyable.h"
#include "src/base/SkTime.h"
Include dependency graph for SkPDFDocument.h:

Go to the source code of this file.

Classes

class  SkPDF::AttributeList
 Attributes for nodes in the PDF tree. More...
 
struct  SkPDF::StructureElementNode
 A node in a PDF structure tree, giving a semantic representation of the content. More...
 
struct  SkPDF::DateTime
 
struct  SkPDF::Metadata
 Optional metadata to be passed into the PDF factory function. More...
 

Namespaces

 SkPDF
 

Macros

#define SKPDF_STRING(X)   SKPDF_STRING_IMPL(X)
 
#define SKPDF_STRING_IMPL(X)   #X
 

Functions

SK_API void SkPDF::SetNodeId (SkCanvas *dst, int nodeID)
 Associate a node ID with subsequent drawing commands in an SkCanvas. More...
 
SK_API sk_sp< SkDocumentSkPDF::MakeDocument (SkWStream *stream, const Metadata &metadata)
 Create a PDF-backed document, writing the results into a SkWStream. More...
 
static sk_sp< SkDocumentSkPDF::MakeDocument (SkWStream *stream)
 

Macro Definition Documentation

◆ SKPDF_STRING

#define SKPDF_STRING (   X)    SKPDF_STRING_IMPL(X)

◆ SKPDF_STRING_IMPL

#define SKPDF_STRING_IMPL (   X)    #X