mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Ink annotation graphics
This commit is contained in:
@ -35,6 +35,7 @@ class PDFObjectStorage;
|
||||
class PDFDrawWidgetProxy;
|
||||
|
||||
using TextAlignment = Qt::Alignment;
|
||||
using Polygons = std::vector<QPolygonF>;
|
||||
|
||||
enum class AnnotationType
|
||||
{
|
||||
@ -971,6 +972,7 @@ public:
|
||||
inline explicit PDFInkAnnotation() = default;
|
||||
|
||||
virtual AnnotationType getType() const override { return AnnotationType::Ink; }
|
||||
virtual void draw(AnnotationDrawParameters& parameters) const override;
|
||||
|
||||
const QPainterPath& getInkPath() const { return m_inkPath; }
|
||||
|
||||
|
Reference in New Issue
Block a user