Loading...
Searching...
No Matches
Square.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3// Consult legal.txt regarding legal and license information.
4//---------------------------------------------------------------------------------------
5#ifndef PDFTRON_H_CPPPDFAnnotsSquare
6#define PDFTRON_H_CPPPDFAnnotsSquare
7
8#include <PDF/Annots/Markup.h>
9
10namespace pdftron {
11 namespace PDF {
12 namespace Annots {
19class Square : public Markup
20{
21 public:
29
36 Square(const Annot& ann) : Markup(ann.GetSDFObj()) {}
37
46 static Square Create(SDF::SDFDoc& doc, const Rect& pos);
47 static Square CreateAnnot(SDF::SDFDoc& doc, const Rect& pos);
48
49// @cond PRIVATE_DOC
50#ifndef SWIGHIDDEN
51 Square(TRN_Annot square);
52#endif
53// @endcond
54
55};//class Square
56 };//namespace Annot
57 };//namespace PDF
58};//namespace pdftron
59#include <Impl/Page.inl>
60
61#endif // PDFTRON_H_CPPPDFAnnotsSquare
Annot(SDF::Obj d=0)
SDF::Obj GetSDFObj() const
static Square CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
Square(const Annot &ann)
Definition Square.h:36
static Square Create(SDF::SDFDoc &doc, const Rect &pos)