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
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
Markup.h
pdftron::PDF::Annot::Annot
Annot(SDF::Obj d=0)
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::Markup::Markup
Markup(SDF::Obj d=0)
pdftron::PDF::Annots::Square::CreateAnnot
static Square CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Square::Square
Square(SDF::Obj d=0)
pdftron::PDF::Annots::Square::Square
Square(const Annot &ann)
Definition Square.h:36
pdftron::PDF::Annots::Square::Create
static Square Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Rect
Definition Rect.h:29
pdftron::SDF::Obj
Definition Obj.h:41
pdftron::SDF::SDFDoc
Definition SDFDoc.h:68
pdftron::PDF::Annots
Definition Caret.h:12
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10