fix the issue
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user