openMSX
Public Member Functions | List of all members
openmsx::Paper Class Reference

Public Member Functions

 Paper (unsigned x, unsigned y, double dotSizeX, double dotSizeY)
 
std::string save () const
 
void setDotSize (double sizeX, double sizeY)
 
void plot (double x, double y)
 

Detailed Description

Definition at line 21 of file Printer.cc.

Constructor & Destructor Documentation

◆ Paper()

openmsx::Paper::Paper ( unsigned  x,
unsigned  y,
double  dotSizeX,
double  dotSizeY 
)

Definition at line 1607 of file Printer.cc.

References ranges::fill(), and setDotSize().

Member Function Documentation

◆ plot()

void openmsx::Paper::plot ( double  x,
double  y 
)

Definition at line 1688 of file Printer.cc.

References gl::max(), gl::min(), sum(), t, and xrange().

◆ save()

std::string openmsx::Paper::save ( ) const

◆ setDotSize()

void openmsx::Paper::setDotSize ( double  sizeX,
double  sizeY 
)

Definition at line 1627 of file Printer.cc.

References Math::e.

Referenced by Paper().


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