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