static TextureSize FullSize()
static TextureSize Relative(int32_t numW, int32_t denW, int32_t numH, int32_t denH)
static TextureSize TwoThirdsSize()
static TextureSize ThirdSize()
bool isFullSize() const noexcept
static TextureSize Absolute(uint32_t w, uint32_t h)
TextureSize(const Fraction &relW, const Fraction &relH) noexcept
static TextureSize Relative(const Fraction &w, const Fraction &h)
TextureSize(uint32_t w, uint32_t h) noexcept
float getRelativeHeightFloat() const noexcept
static TextureSize QuarterSize()
static TextureSize ThreeQuartersSize()
TextureSize(int32_t numW, int32_t denW, int32_t numH, int32_t denH) noexcept
float getRelativeWidthFloat() const noexcept
static TextureSize HalfSize()