LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
vcl::pdf::Matrix3 Class Reference

#include <Matrix3.hxx>

Public Member Functions

 Matrix3 ()
 
void skew (double alpha, double beta)
 
void scale (double sx, double sy)
 
void rotate (double angle)
 
void translate (double tx, double ty)
 
void invert ()
 
double get (size_t i) const
 
Point transform (const Point &rPoint) const
 
basegfx::B2DPoint transform (const basegfx::B2DPoint &rPoint) const
 

Private Member Functions

void set (const double *pn)
 

Private Attributes

double f [6]
 

Detailed Description

Definition at line 27 of file Matrix3.hxx.

Constructor & Destructor Documentation

◆ Matrix3()

vcl::pdf::Matrix3::Matrix3 ( )

Definition at line 16 of file Matrix3.cxx.

References f.

Member Function Documentation

◆ get()

double vcl::pdf::Matrix3::get ( size_t  i) const
inline

Definition at line 46 of file Matrix3.hxx.

References f, and i.

Referenced by vcl::pdf::PDFPage::appendMatrix3().

◆ invert()

void vcl::pdf::Matrix3::invert ( )

Definition at line 91 of file Matrix3.cxx.

References f, and set().

Referenced by vcl::PDFWriterImpl::drawHorizontalGlyphs().

◆ rotate()

void vcl::pdf::Matrix3::rotate ( double  angle)

◆ scale()

void vcl::pdf::Matrix3::scale ( double  sx,
double  sy 
)

◆ set()

void vcl::pdf::Matrix3::set ( const double *  pn)
inlineprivate

Definition at line 31 of file Matrix3.hxx.

References f, and i.

Referenced by invert(), rotate(), scale(), and skew().

◆ skew()

void vcl::pdf::Matrix3::skew ( double  alpha,
double  beta 
)

Definition at line 39 of file Matrix3.cxx.

References alpha, f, and set().

Referenced by vcl::PDFWriterImpl::drawHorizontalGlyphs(), and vcl::PDFWriterImpl::drawVerticalGlyphs().

◆ transform() [1/2]

basegfx::B2DPoint vcl::pdf::Matrix3::transform ( const basegfx::B2DPoint rPoint) const

◆ transform() [2/2]

Point vcl::pdf::Matrix3::transform ( const Point rPoint) const

◆ translate()

void vcl::pdf::Matrix3::translate ( double  tx,
double  ty 
)

Member Data Documentation

◆ f

double vcl::pdf::Matrix3::f[6]
private

Definition at line 29 of file Matrix3.hxx.

Referenced by get(), invert(), Matrix3(), rotate(), scale(), set(), skew(), transform(), and translate().


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