7#ifndef PDF_CANVAS_INPUT_DEVICE_H
8#define PDF_CANVAS_INPUT_DEVICE_H
10#include <podofo/auxiliary/InputDevice.h>
29 size_t GetLength()
const override;
30 size_t GetPosition()
const override;
31 bool Eof()
const override {
return m_eof; }
34 bool tryPopNextDevice();
37 size_t readBuffer(
char*
buffer,
size_t size,
bool&
eof)
override;
38 bool readChar(
char&
ch)
override;
39 bool peek(
char&
ch)
const override;
42 std::list<const PdfObject*> m_contents;
44 std::unique_ptr<InputStreamDevice> m_currDevice;
45 bool m_deviceSwitchOccurred;
A interface that provides the necessary features for a painter to draw onto a PdfObject.
Definition PdfCanvas.h:28
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:38
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition basetypes.h:16