wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
wxPdfPageLink Class Reference

Class representing the sensitive area of links referring to a page. (For internal use only) More...

#include <pdflinks.h>

Inheritance diagram for wxPdfPageLink:
[legend]
Collaboration diagram for wxPdfPageLink:
[legend]

Public Member Functions

 wxPdfPageLink (double x, double y, double w, double h, const wxPdfLink &pdfLink)
 Constructor.
 
virtual ~wxPdfPageLink ()
 Destructor.
 
double GetX ()
 Get the X offset.
 
double GetY ()
 Get the Y offset.
 
double GetWidth ()
 Get the width.
 
double GetHeight ()
 Get the height.
 
bool IsValid () const
 Check whether this instance is a valid link reference.
 
bool IsLinkRef () const
 Check whether this instance is an internal reference.
 
int GetLinkRef () const
 Get the internal link reference.
 
const wxString GetLinkURL () const
 Get the external link reference.
 
void SetLink (int page, double ypos)
 Set page number and position on page.
 
int GetPage ()
 Get the page this link refers to.
 
double GetPosition ()
 Get the page position this link refers to.
 

Detailed Description

Class representing the sensitive area of links referring to a page. (For internal use only)

Member Function Documentation

◆ GetHeight()

double wxPdfPageLink::GetHeight ( )
inline

Get the height.

Returns
The height

◆ GetPage()

int wxPdfLink::GetPage ( )
inlineinherited

Get the page this link refers to.

Returns
The page number

◆ GetPosition()

double wxPdfLink::GetPosition ( )
inlineinherited

Get the page position this link refers to.

Returns
The Y position on the page

◆ GetWidth()

double wxPdfPageLink::GetWidth ( )
inline

Get the width.

Returns
The width

◆ GetX()

double wxPdfPageLink::GetX ( )
inline

Get the X offset.

Returns
The X offset

◆ GetY()

double wxPdfPageLink::GetY ( )
inline

Get the Y offset.

Returns
The Y offset

The documentation for this class was generated from the following files: