Skip to main content

ImageSize

ImageSize

#include <ImageSize.hpp>

Public Functions

Name
bool operator==(ImageSize const & other) const
bool operator!=(ImageSize const & other) const
bool isDefined() const
Check if the image size is defined (not -1, -1).

Public Attributes

Name
int width
int height

Public Functions Documentation

function operator==

inline bool operator==(
    ImageSize const & other
) const

function operator!=

inline bool operator!=(
    ImageSize const & other
) const

function isDefined

inline bool isDefined() const

Check if the image size is defined (not -1, -1).

Public Attributes Documentation

variable width

int width = -1;

variable height

int height = -1;

Updated on 2026-11-13 at 20:25:39 +0000