All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Squiggly.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2023 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFAnnotsSquiggly
6 #define PDFTRON_H_CPPPDFAnnotsSquiggly
7 
9 
10 namespace pdftron {
11  namespace PDF {
12  namespace Annots {
17 class Squiggly : public TextMarkup
18 {
19  public:
26  Squiggly(SDF::Obj d);
27 
34  Squiggly(const Annot& ann) : TextMarkup(ann.GetSDFObj()) {}
35 
44  static Squiggly Create(SDF::SDFDoc& doc, const Rect& pos);
45  static Squiggly CreateAnnot(SDF::SDFDoc& doc, const Rect& pos);
46 
47 
48 // @cond PRIVATE_DOC
49 #ifndef SWIGHIDDEN
50 Squiggly(TRN_Annot squiggly);
51 #endif
52 // @endcond
53 
54 
55 };//class Squiggly
56  };//namespace Annot
57  };//namespace PDF
58 };//namespace pdftron
59 #include <Impl/Page.inl>
60 
61 #endif // PDFTRON_H_CPPPDFAnnotsSquiggly
SDF::Obj GetSDFObj() const
Squiggly(const Annot &ann)
Definition: Squiggly.h:34
static Squiggly CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
static Squiggly Create(SDF::SDFDoc &doc, const Rect &pos)