@@ -376,30 +376,30 @@ return range; } static OF_INLINE of_point_t -of_point(int x, int y) +of_point(float x, float y) { of_point_t point = { x, y }; return point; } static OF_INLINE of_dimension_t -of_dimension(int width, int height) +of_dimension(float width, float height) { of_dimension_t dimension = { width, height }; return dimension; } static OF_INLINE of_rectangle_t -of_rectangle(int x, int y, int width, int height) +of_rectangle(float x, float y, float width, float height) { of_rectangle_t rectangle = { of_point(x, y), of_dimension(width, height) }; return rectangle; }