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-2020 by PDFTron Systems 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 
49  // @cond PRIVATE_DOC
50  #ifndef SWIGHIDDEN
51  Circle(TRN_Annot circle);
52  #endif
53  // @endcond
54 
55 };//class Circle
56  };//namespace Annot
57  };//namespace PDF
58 };//namespace pdftron
59 
60 #include <Impl/Page.inl>
61 
62 #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)