PoDoFo 1.0.0-dev
Loading...
Searching...
No Matches
PdfPainterTextObject.h
1
7#ifndef PDF_PAINTER_PATH_H
8#define PDF_PAINTER_PATH_H
9
10#include "PdfStringStream.h"
11
12namespace PoDoFo {
13
14class PdfPainter;
15
22{
23 friend class PdfPainter;
24
25private:
27
28public:
41 void Begin();
42
57 void AddText(const std::string_view& str);
58
73 void MoveTo(double x, double y);
74
85 void End();
86
87private:
88 PdfPainter* m_painter;
89};
90
91}
92
93#endif // PDF_PAINTER_PATH_H
This class describes a manually handled PDF text object (content stream operators surrounded by BT .
Definition PdfPainterTextObject.h:22
This class provides an easy to use painter object which allows you to draw on a PDF page object.
Definition PdfPainter.h:244
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