Flutter Engine
The Flutter Engine
|
Classes | |
class | AttributeList |
struct | DateTime |
struct | Metadata |
struct | StructureElementNode |
Functions | |
SK_API void | SetNodeId (SkCanvas *dst, int nodeID) |
SK_API sk_sp< SkDocument > | MakeDocument (SkWStream *stream, const Metadata &metadata) |
static sk_sp< SkDocument > | MakeDocument (SkWStream *stream) |
|
inlinestatic |
Definition at line 216 of file SkPDFDocument.h.
sk_sp< SkDocument > SkPDF::MakeDocument | ( | SkWStream * | stream, |
const Metadata & | metadata | ||
) |
Create a PDF-backed document, writing the results into a SkWStream.
PDF pages are sized in point units. 1 pt == 1/72 inch == 127/360 mm.
stream | A PDF document will be written to this stream. The document may write to the stream at anytime during its lifetime, until either close() is called or the document is deleted. |
metadata | a PDFmetadata object. Any fields may be left empty. |
Definition at line 14 of file SkDocument_PDF_None.cpp.
Associate a node ID with subsequent drawing commands in an SkCanvas. The same node ID can appear in a StructureElementNode in order to associate a document's structure element tree with its content.
A node ID of zero indicates no node ID.
canvas | The canvas used to draw to the PDF. |
nodeId | The node ID for subsequent drawing commands. |
Definition at line 16 of file SkDocument_PDF_None.cpp.