aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFDocument.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-03-25 12:15:04 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-25 12:15:04 -0700
commita43b41538ad6af0f2b7742b4ade8265d344b9d64 (patch)
tree2713507976b9997bd977fb03a5fc8dc61f17af7e /src/pdf/SkPDFDocument.h
parentf41061cc8dc717b63efe75d2357a3176f04153ec (diff)
SkPDF: merge skdocument_pdf and skpdfdocument
Diffstat (limited to 'src/pdf/SkPDFDocument.h')
-rw-r--r--src/pdf/SkPDFDocument.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/pdf/SkPDFDocument.h b/src/pdf/SkPDFDocument.h
deleted file mode 100644
index 0e1728999a..0000000000
--- a/src/pdf/SkPDFDocument.h
+++ /dev/null
@@ -1,41 +0,0 @@
-
-/*
- * Copyright 2010 The Android Open Source Project
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-
-#ifndef SkPDFDocument_DEFINED
-#define SkPDFDocument_DEFINED
-
-#include "SkAdvancedTypefaceMetrics.h"
-#include "SkTDArray.h"
-
-class SkPDFDevice;
-class SkWStream;
-
-namespace SkPDFDocument {
-/**
- * Assemble pages together and generate a PDF document file.
- *
- * Output the PDF to the passed stream. It is an error to call this (it
- * will return false and not modify stream) if pageDevices is empty.
- * No device pointer can be NULL.
- *
- * @param pageDevices An array of pages, in order. All pages
- * should be created using the same SkPDFCanon.
- * @param SkWStream The writable output stream to send the PDF to.
- */
-bool EmitPDF(const SkTDArray<const SkPDFDevice*>& pageDevices, SkWStream*);
-
-/** Get the count of unique font types used in the given pages.
- */
-void GetCountOfFontTypes(const SkTDArray<SkPDFDevice*>& pageDevices,
- int counts[SkAdvancedTypefaceMetrics::kOther_Font + 1],
- int* notSubsettableCount,
- int* notEmbedddableCount);
-}
-
-#endif