inLimbo
TUI Music Player that keeps you in Limbo.
 
Loading...
Searching...
No Matches
tiv::size Struct Reference

#include <tiv_lib.h>

Public Member Functions

 size (unsigned int in_width, unsigned int in_height)
 
 size (cimg_library::CImg< unsigned int > img)
 
size scaled (double scale)
 
size fitted_within (size container)
 

Public Attributes

unsigned int width
 
unsigned int height
 

Constructor & Destructor Documentation

◆ size() [1/2]

tiv::size::size ( unsigned int in_width,
unsigned int in_height )
inline

◆ size() [2/2]

tiv::size::size ( cimg_library::CImg< unsigned int > img)
inlineexplicit

Member Function Documentation

◆ fitted_within()

size tiv::size::fitted_within ( size container)
inline

◆ scaled()

size tiv::size::scaled ( double scale)
inline

Member Data Documentation

◆ height

unsigned int tiv::size::height

◆ width

unsigned int tiv::size::width

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