62#if __cplusplus >= 201703L
72 set_resWidth(t_resWidth);
73 set_resHeight(t_resHeight);
80 set_resWidth(other.resWidth());
81 set_resHeight(other.resHeight());
88 set_resWidth(other.res_width);
89 set_resHeight(other.res_height);
92#if __cplusplus >= 201103L
97 set_resWidth(other.resWidth());
98 set_resHeight(other.resHeight());
105 set_resWidth(other.res_width);
106 set_resHeight(other.res_height);
120 set_resWidth(other.resWidth());
121 set_resHeight(other.resHeight());
133 set_resWidth(other.res_width);
134 set_resHeight(other.res_height);
138#if __cplusplus >= 201103L
141 if (&other ==
this) {
146 set_resWidth(other.resWidth());
147 set_resHeight(other.resHeight());
153 if (&other ==
this) {
158 set_resWidth(other.res_width);
159 set_resHeight(other.res_height);
176 return percentCoordinate().relativeCoordinate(cameraPivot, cameraOffset);
246 return !(*
this == other);
256 return !(*
this == other);
gu_percent_coordinate px_coord_to_pct_coord(const gu_pixel_coordinate coord)
gu_camera_coordinate px_coord_to_cam_coord(const gu_pixel_coordinate coord)
pixels_t gu_pixel_coordinate_y_lower_bound(const gu_pixel_coordinate coord)
pixels_t gu_pixel_coordinate_y_upper_bound(const gu_pixel_coordinate coord)
pixels_t gu_pixel_coordinate_x_lower_bound(const gu_pixel_coordinate coord)
bool gu_pixel_coordinate_equals(const gu_pixel_coordinate lhs, const gu_pixel_coordinate rhs)
pixels_t gu_pixel_coordinate_x_upper_bound(const gu_pixel_coordinate coord)
bool operator==(const PixelCoordinate &other) const NOEXCEPT
RelativeCoordinate relativeCoordinate(const GU::CameraPivot &, const int) const NOEXCEPT
void set_y(const pixels_t) NOEXCEPT
pixels_t yUpperBound() const NOEXCEPT
pixels_t xLowerBound() const NOEXCEPT
PercentCoordinate percentCoordinate() const NOEXCEPT
pixels_t y() const NOEXCEPT
pixels_t x() const NOEXCEPT
PixelCoordinate() NOEXCEPT
void set_x(const pixels_t) NOEXCEPT
~PixelCoordinate() NOEXCEPT
pixels_t yLowerBound() const NOEXCEPT
pixels_u resWidth() const NOEXCEPT
pixels_t xUpperBound() const NOEXCEPT
pixels_u resHeight() const NOEXCEPT
void set_resHeight(const pixels_u) NOEXCEPT
bool operator!=(const PixelCoordinate &other) const NOEXCEPT
void set_resWidth(const pixels_u) NOEXCEPT
CameraCoordinate cameraCoordinate() const NOEXCEPT
PixelCoordinate & operator=(const PixelCoordinate &other) NOEXCEPT
A gu_pixel_coordinate represents the coordinate of a pixel within an image.
pixels_u res_height
The height of the resolution of the image.
pixels_t x
The x coordinate of the pixel within the image.
pixels_u res_width
The width of the resolution of the image.
pixels_t y
The y coordinate of the pixel within the image.