wxMaxima
Loading...
Searching...
No Matches
pdfannotation.h
Go to the documentation of this file.
1
2// Name: pdfannotation.h
3// Purpose:
4// Author: Ulrich Telle
5// Created: 2009-06-24
6// Copyright: (c) Ulrich Telle
7// Licence: wxWindows licence
9
11
12#ifndef _PDF_ANNOTATION_H_
13#define _PDF_ANNOTATION_H_
14
15// wxWidgets headers
16#include <wx/string.h>
17
18// wxPdfDocument headers
19#include "wx/pdfdocdef.h"
20
22class WXDLLIMPEXP_PDFDOC wxPdfAnnotation
23{
24public:
26
32 wxPdfAnnotation(double x, double y, const wxString& text);
33
35
38 wxPdfAnnotation(const wxPdfAnnotation& annotation);
39
41 virtual ~wxPdfAnnotation() {}
42
44
47 double GetX() const { return m_x; }
48
50
53 double GetY() const { return m_y; }
54
56
59 wxString GetText() const { return m_text; }
60
61private:
62 double m_x;
63 double m_y;
64 wxString m_text;
65};
66
67#endif
Class representing text annotations.
Definition: pdfannotation.h:23
double GetX() const
Get the X offset of the annotation.
Definition: pdfannotation.h:47
wxString GetText() const
Get the text of the annotation.
Definition: pdfannotation.h:59
virtual ~wxPdfAnnotation()
Destructor.
Definition: pdfannotation.h:41
double GetY() const
Get the Y offset of the annotation.
Definition: pdfannotation.h:53
Compile time switches for the wxPdfDocument component.