- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
10 namespace pdftron {
11 namespace PDF {
12 namespace Annots {
19 class Square : public Markup
20 {
21 public:
28 Square(SDF::Obj d = 0);
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
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::Square::Square
Square(SDF::Obj d=0)
pdftron::PDF::Annots::Square::CreateAnnot
static Square CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Square::Square
Square(const Annot &ann)
Definition: Square.h:36
pdftron::PDF::Rect
Definition: Rect.h:28
Markup.h
pdftron::SDF::SDFDoc
Definition: SDFDoc.h:67
pdftron::PDF::Annots::Square::Create
static Square Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Square
Definition: Square.h:19
pdftron::PDF::Annot
Definition: Annot.h:33
pdftron::SDF::Obj
Definition: Obj.h:40
pdftron::PDF::Annots::Markup
Definition: Markup.h:43