PoDoFo 1.2.0
Loading...
Searching...
No Matches
PdfPainterTextObject.h
1// SPDX-FileCopyrightText: 2005 Dominik Seichter <domseichter@web.de>
2// SPDX-FileCopyrightText: 2020 Francesco Pretto <ceztko@gmail.com>
3// SPDX-License-Identifier: LGPL-2.0-or-later OR MPL-2.0
4
5#ifndef PDF_PAINTER_PATH_H
6#define PDF_PAINTER_PATH_H
7
8#include "PdfStringStream.h"
9
10namespace PoDoFo {
11
12class PdfPainter;
13
18{
19 friend class PdfPainter;
20
21private:
23
24public:
36 void Begin();
37
51 void AddText(const std::string_view& str);
52
66 void MoveTo(double x, double y);
67
77 void End();
78
79private:
80 PdfPainter* m_painter;
81};
82
83}
84
85#endif // PDF_PAINTER_PATH_H
This class describes a manually handled PDF text object (content stream operators surrounded by BT .
Definition PdfPainterTextObject.h:18
This class provides an easy to use painter object which allows you to draw on a PDF page object.
Definition PdfPainter.h:217
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