PoDoFo
1.2.0
Loading...
Searching...
No Matches
src
podofo
main
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
10
namespace
PoDoFo
{
11
12
class
PdfPainter;
13
17
class
PODOFO_API
PdfPainterTextObject
final
18
{
19
friend
class
PdfPainter
;
20
21
private
:
22
PdfPainterTextObject
(
PdfPainter
&
painter
);
23
24
public
:
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
79
private
:
80
PdfPainter
* m_painter;
81
};
82
83
}
84
85
#endif
// PDF_PAINTER_PATH_H
PoDoFo::PdfPainterTextObject
This class describes a manually handled PDF text object (content stream operators surrounded by BT .
Definition
PdfPainterTextObject.h:18
PoDoFo::PdfPainter
This class provides an easy to use painter object which allows you to draw on a PDF page object.
Definition
PdfPainter.h:217
PoDoFo::charbuff_t
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition
basetypes.h:30
PoDoFo
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition
basetypes.h:13
Generated by
1.9.8