7 #ifndef PDF_GRAPHICS_PATH_H
8 #define PDF_GRAPHICS_PATH_H
10 #include "PdfStringStream.h"
11 #include <podofo/auxiliary/Rect.h>
28 void MoveTo(
double x,
double y);
35 void AddLineTo(
double x,
double y);
44 void AddLine(
double x1,
double y1,
double x2,
double y2);
55 void AddCubicBezierTo(
double x1,
double y1,
double x2,
double y2,
double x3,
double y3);
67 void AddCubicBezier(
double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
double x4,
double y4);
74 void AddCircle(
double x,
double y,
double radius);
82 void AddEllipse(
double x,
double y,
double width,
double height);
93 void AddArc(
double x,
double y,
double radius,
double angle1,
double angle2,
bool clockwise =
false);
103 void AddArcTo(
double x1,
double y1,
double x2,
double y2,
double radius);
113 void AddRectangle(
double x,
double y,
double width,
double height,
114 double roundX = 0.0,
double roundY = 0.0);
121 void AddRectangle(
const Rect& rect,
double roundX = 0.0,
double roundY = 0.0);
145 std::string_view GetContent()
const;
150 const Vector2& GetFirstPoint()
const;
155 const Vector2& GetCurrentPoint()
const;
158 void checkOpened()
const;
159 void open(
double x,
double y);
168 Vector2 m_CurrentPoint;
This class describes PDF paths being written to a PdfPainter.
Definition: PdfPainterPath.h:19
A specialized Pdf output string stream It supplies an iostream-like operator<< interface,...
Definition: PdfStringStream.h:20
A rectangle defined by position and size.
Definition: Rect.h:20
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16