Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/time/timevalue.hpp"
Framerate specified as frames per second.
Implemented as rational number.
Definition at line 655 of file timevalue.hpp.
Public Member Functions | |
FrameRate (uint fps) | |
FrameRate (uint num, uint denom) | |
FrameRate (size_t count, Duration timeReference) | |
FrameRate (boost::rational< uint > fractionalRate) | |
double | asDouble () const |
Duration | duration () const |
duration of one frame More... | |
operator std::string () const | |
Static Public Member Functions | |
static FrameRate | approx (double fps) |
Static Public Attributes | |
static const FrameRate | HALTED |
static const FrameRate | NTSC |
static const FrameRate | PAL |
predefined constant for PAL framerate | |
static const FrameRate | STEP |
1 frame per second | |
Duration duration | ( | ) | const |