xref: /third_party/skia/src/pdf/SkDocument_PDF_None.cpp
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/src/pdf/
1cb93a386Sopenharmony_ci/*
2cb93a386Sopenharmony_ci * Copyright 2015 Google Inc.
3cb93a386Sopenharmony_ci *
4cb93a386Sopenharmony_ci * Use of this source code is governed by a BSD-style license that can be
5cb93a386Sopenharmony_ci * found in the LICENSE file.
6cb93a386Sopenharmony_ci */
7cb93a386Sopenharmony_ci
8cb93a386Sopenharmony_ci#include "include/core/SkCanvas.h"
9cb93a386Sopenharmony_ci#include "include/core/SkData.h"
10cb93a386Sopenharmony_ci#include "include/docs/SkPDFDocument.h"
11cb93a386Sopenharmony_ci
12cb93a386Sopenharmony_ciclass SkPDFArray {};
13cb93a386Sopenharmony_ci
14cb93a386Sopenharmony_cisk_sp<SkDocument> SkPDF::MakeDocument(SkWStream*, const SkPDF::Metadata&) { return nullptr; }
15cb93a386Sopenharmony_ci
16cb93a386Sopenharmony_civoid SkPDF::SetNodeId(SkCanvas* c, int n) {
17cb93a386Sopenharmony_ci    c->drawAnnotation({0, 0, 0, 0}, "PDF_Node_Key", SkData::MakeWithCopy(&n, sizeof(n)).get());
18cb93a386Sopenharmony_ci}
19cb93a386Sopenharmony_ci
20cb93a386Sopenharmony_ciSkPDF::AttributeList::AttributeList() = default;
21cb93a386Sopenharmony_ci
22cb93a386Sopenharmony_ciSkPDF::AttributeList::~AttributeList() = default;
23

Indexes created Thu Nov 07 10:32:03 CST 2024