GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
pdfpainter Class Reference
Inheritance diagram for pdfpainter:
Collaboration diagram for pdfpainter:

Public Member Functions

 pdfpainter (QString fname, QRectF sizepix, double dpi)
 
 ~pdfpainter (void)
 
void finish (void)
 
QString get_fname (void) const
 
QRect get_rect (void) const
 
QRectF get_rectf (void) const
 
double get_scale (void) const
 

Private Attributes

double m_dpi
 
QString m_fname
 
QPrinter m_printer
 
QRectF m_sizef
 

Detailed Description

Definition at line 38 of file octave-svgconvert.cc.

Constructor & Destructor Documentation

◆ pdfpainter()

pdfpainter::pdfpainter ( QString  fname,
QRectF  sizepix,
double  dpi 
)
inline

Definition at line 41 of file octave-svgconvert.cc.

References get_fname(), get_rect(), get_rectf(), get_scale(), m_printer, m_sizef, and scale().

◆ ~pdfpainter()

pdfpainter::~pdfpainter ( void  )
inline

Definition at line 61 of file octave-svgconvert.cc.

Member Function Documentation

◆ finish()

void pdfpainter::finish ( void  )
inline

Definition at line 71 of file octave-svgconvert.cc.

Referenced by main().

◆ get_fname()

QString pdfpainter::get_fname ( void  ) const
inline

Definition at line 63 of file octave-svgconvert.cc.

References m_fname.

Referenced by pdfpainter().

◆ get_rect()

QRect pdfpainter::get_rect ( void  ) const
inline

Definition at line 67 of file octave-svgconvert.cc.

References m_sizef.

Referenced by pdfpainter().

◆ get_rectf()

QRectF pdfpainter::get_rectf ( void  ) const
inline

Definition at line 65 of file octave-svgconvert.cc.

References m_sizef.

Referenced by pdfpainter().

◆ get_scale()

double pdfpainter::get_scale ( void  ) const
inline

Definition at line 69 of file octave-svgconvert.cc.

References m_dpi.

Referenced by pdfpainter(), and draw().

Member Data Documentation

◆ m_dpi

double pdfpainter::m_dpi
private

Definition at line 76 of file octave-svgconvert.cc.

Referenced by get_scale().

◆ m_fname

QString pdfpainter::m_fname
private

Definition at line 74 of file octave-svgconvert.cc.

Referenced by get_fname().

◆ m_printer

QPrinter pdfpainter::m_printer
private

Definition at line 77 of file octave-svgconvert.cc.

Referenced by pdfpainter().

◆ m_sizef

QRectF pdfpainter::m_sizef
private

Definition at line 75 of file octave-svgconvert.cc.

Referenced by pdfpainter(), get_rect(), and get_rectf().


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