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; }
28 bool tryGetNextBuffer();
29 bool tryPopNextBuffer();
37 size_t getPos()
const;
38 void setPos(
size_t pos);
40 size_t readBuffer(
char*
buffer,
size_t size,
bool&
eof)
override;
41 bool readChar(
char&
ch)
override;
42 bool peek(
char&
ch)
const override;
45 std::list<const PdfObject*> m_contents;
47 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