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/docs/SkPDFDocument.h"
10 
MakeDocument(SkWStream *,const SkPDF::Metadata &)11 sk_sp<SkDocument> SkPDF::MakeDocument(SkWStream*, const SkPDF::Metadata&) { return nullptr; }
12 
SetNodeId(SkCanvas * c,int n)13 void SkPDF::SetNodeId(SkCanvas* c, int n) {
14     c->drawAnnotation({0, 0, 0, 0}, "PDF_Node_Key", SkData::MakeWithCopy(&n, sizeof(n)).get());
15 }
16