[−][src]Module pushrod::core::point
Contains geometric shape representations: Point and Size, representing a point on
the screen within a window, and the size of an object.
Structs
| Point | Structure identifying a point on the screen by X and Y coordinates. X and Y coordinates are represented from the upper left-hand corner of the base object. |
| Size | Structure identifying a size of an object by W (width) and H (height), respectively. Other systems may use "width" and "height" as nomenclature, however, we wanted to keep naming consistent. |
Functions
| make_origin_point | Convenience method to create a |
| make_point_f64 | Convenience method to convert floating point X and Y positions to a graphical |
| make_point_i32 | Convenience method to create a new |
| make_unsized | Convenience method to create a non-existent size, defined as a width and height of 0. |