fix the issue

This commit is contained in:
saqib mir
2026-06-22 10:17:51 +05:30
parent 8e9b0c8dfb
commit e1e1c91736
8 changed files with 321 additions and 35 deletions
@@ -4,6 +4,7 @@
#include <vector>
#include <memory>
#include <pdfengine/graphics_state.hpp>
#include <pdfengine/path.hpp>
namespace pdfengine {
@@ -59,4 +60,19 @@ public:
Matrix transform;
};
enum class PathPaintOp {
Stroke,
Fill,
FillStroke
};
class PathObject : public ContentObject {
public:
ContentObjectType getType() const override { return ContentObjectType::Path; }
Path path;
PathPaintOp paintOp = PathPaintOp::Stroke;
Matrix transform;
};
} // namespace pdfengine