Module conrod::graph::algo
[−]
[src]
This module was created in order to keep the graph
module clean and focused upon the
Graph data structure behaviour.
This module hosts more complex algorithms in which the Graph is a key component in producing the desired result.
Functions
bounding_box |
The box that bounds the widget with the given ID as well as all its widget kids. |
pick_scrollable_widget |
If the given Point is currently over a scrollable widget, return an index to that widget. |
pick_widget |
If the given Point is currently on a Widget, return an index to that widget. |
scroll_offset |
Calculate the total scroll offset for the widget with the given index. |
visible_area_of_widget |
The rectangle that represents the maximum visible area for the widget with the given index. |
visible_area_of_widget_within_depth |
The rectangle that represents the maximum visible area for the widget with the given index. |