All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Circle.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2024 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFAnnotsCircle
6 #define PDFTRON_H_CPPPDFAnnotsCircle
7 
8 #include <PDF/Annots/Markup.h>
9 
10 namespace pdftron {
11  namespace PDF {
12  namespace Annots {
19 class Circle : public Markup
20 {
21 public:
22 
29  Circle(SDF::Obj d = 0);
30 
37  Circle(const Annot& circle) : Markup(circle.GetSDFObj()) {}
38 
47  static Circle Create(SDF::SDFDoc& doc, const Rect& pos);
48  static Circle CreateAnnot(SDF::SDFDoc& doc, const Rect& pos);
49 
50  // @cond PRIVATE_DOC
51  #ifndef SWIGHIDDEN
52  Circle(TRN_Annot circle);
53  #endif
54  // @endcond
55 
56 };//class Circle
57  };//namespace Annot
58  };//namespace PDF
59 };//namespace pdftron
60 
61 #include <Impl/Page.inl>
62 
63 #endif // PDFTRON_H_CPPPDFAnnotsCircle
SDF::Obj GetSDFObj() const
Circle(const Annot &circle)
Definition: Circle.h:37
static Circle Create(SDF::SDFDoc &doc, const Rect &pos)
static Circle CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)