OpenXLSX 1.9.1
Loading...
Searching...
No Matches
OpenXLSX::XLDistance Class Reference

#include <XLConstants.hpp>

Public Member Functions

 XLDistance ()=default
 
uint64_t getEMU () const
 
uint32_t getPixels () const
 
double getInches () const
 

Static Public Member Functions

static XLDistance Pixels (uint32_t px)
 
static XLDistance Centimeters (double cm)
 
static XLDistance Inches (double inch)
 
static XLDistance Points (double pt)
 
static XLDistance EMU (uint64_t emu)
 

Constructor & Destructor Documentation

◆ XLDistance()

OpenXLSX::XLDistance::XLDistance ( )
default

Member Function Documentation

◆ Centimeters()

static XLDistance OpenXLSX::XLDistance::Centimeters ( double  cm)
inlinestatic

◆ EMU()

static XLDistance OpenXLSX::XLDistance::EMU ( uint64_t  emu)
inlinestatic

◆ getEMU()

uint64_t OpenXLSX::XLDistance::getEMU ( ) const
inline

◆ getInches()

double OpenXLSX::XLDistance::getInches ( ) const
inline

◆ getPixels()

uint32_t OpenXLSX::XLDistance::getPixels ( ) const
inline

◆ Inches()

static XLDistance OpenXLSX::XLDistance::Inches ( double  inch)
inlinestatic

◆ Pixels()

static XLDistance OpenXLSX::XLDistance::Pixels ( uint32_t  px)
inlinestatic

◆ Points()

static XLDistance OpenXLSX::XLDistance::Points ( double  pt)
inlinestatic

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