64 const bool equalX = fabs(pct_d_to_d(lhs.
x) - pct_d_to_d(rhs.
x)) <= pct_d_to_d(tolerance);
65 const bool equalY = fabs(pct_d_to_d(lhs.
y) - pct_d_to_d(rhs.
y)) <= pct_d_to_d(tolerance);
66 return equalX && equalY;
percent_d gu_percent_coordinate_x_upper_bound(const gu_percent_coordinate coord)
percent_d gu_percent_coordinate_y_upper_bound(const gu_percent_coordinate coord)
percent_d gu_percent_coordinate_y_lower_bound(const gu_percent_coordinate coord)
bool gu_percent_coordinate_equals(const gu_percent_coordinate lhs, const gu_percent_coordinate rhs, const percent_d tolerance)
percent_d gu_percent_coordinate_x_lower_bound(const gu_percent_coordinate coord)
A gu_percent_coordinate represents the coordinate of a pixel within an image.
percent_d y
The y coordinate of the pixel within the image as a percentage.
percent_d x
The x coordinate of the pixel within the image as a percentage.