PoDoFo  1.0.0-dev
PdfPainterTextObject.h
1 
7 #ifndef PDF_PAINTER_PATH_H
8 #define PDF_PAINTER_PATH_H
9 
10 #include "PdfStringStream.h"
11 
12 namespace PoDoFo {
13 
14 class PdfPainter;
15 
21 class PODOFO_API PdfPainterTextObject final
22 {
23  friend class PdfPainter;
24 
25 private:
27 
28 public:
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 
87 private:
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:220
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16