1 | /* |
---|---|
2 | * Copyright 2015 Google Inc. |
3 | * |
4 | * Use of this source code is governed by a BSD-style license that can be |
5 | * found in the LICENSE file. |
6 | */ |
7 | |
8 | #include "include/core/SkCanvas.h" |
9 | #include "include/core/SkData.h" |
10 | #include "include/docs/SkPDFDocument.h" |
11 | |
12 | class SkPDFArray {}; |
13 | |
14 | sk_sp<SkDocument> SkPDF::MakeDocument(SkWStream*, const SkPDF::Metadata&) { return nullptr; } |
15 | |
16 | void SkPDF::SetNodeId(SkCanvas* c, int n) { |
17 | c->drawAnnotation({0, 0, 0, 0}, "PDF_Node_Key", SkData::MakeWithCopy(&n, sizeof(n)).get()); |
18 | } |
19 | |
20 | SkPDF::AttributeList::AttributeList() = default; |
21 | |
22 | SkPDF::AttributeList::~AttributeList() = default; |
23 |