31 :
x(static_cast<float>(p.first)),
y(static_cast<float>(p.second))
37 std::ostream&
operator<<(std::ostream& o,
const TPixelCoordf& p);
49 return x == o.
x &&
y == o.
y;
55 std::ostream&
operator<<(std::ostream& o,
const TPixelCoord& p);
float pixel_coord_t
The type of x and y.
A pair (x,y) of pixel coordinates (subpixel resolution).
TPixelCoord(const int _x, const int _y)
TPixelCoordf(const std::pair< T, T > &p)
A pair (x,y) of pixel coordinates (integer resolution).
bool operator==(const TPixelCoord &o)
TPixelCoordf(const float _x, const float _y)
Constructor from x,y values.
int pixel_coord_t
The type of x and y.
TPixelCoordf()=default
Default constructor: undefined values of x,y.
std::ostream & operator<<(std::ostream &o, const TColor &c)