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);
103 void AddArcTo(
double x1,
double y1,
double x2,
double y2,
double radius);
113 void AddRectangle(
double x,
double y,
double width,
double height,
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
An normalized rectangle defined by position (left-bottom) and size.
Definition Rect.h:20
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