4#ifndef PDF_CANVAS_INPUT_DEVICE_H
5#define PDF_CANVAS_INPUT_DEVICE_H
7#include <podofo/auxiliary/InputDevice.h>
24 size_t GetLength()
const override;
25 size_t GetPosition()
const override;
26 bool Eof()
const override {
return m_eof; }
29 bool tryPopNextDevice();
32 size_t readBuffer(
char*
buffer,
size_t size,
bool&
eof)
override;
33 bool readChar(
char&
ch)
override;
34 bool peek(
char&
ch)
const override;
37 std::list<const PdfObject*> m_contents;
39 std::unique_ptr<InputStreamDevice> m_currDevice;
40 bool m_deviceSwitchOccurred;
An interface that provides the necessary features for a painter to draw onto a PdfObject.
Definition PdfCanvas.h:25
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:30
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13