View Source API Reference rect_layout v0.2.1
Modules
Create and manipulate rectangular objects and groups of them
Represent a group of graphical object, moves and scales them together proportionally
A common attribute access protocol that graphical object implement Allows them to be used inside the layout calculations You can use your own custom objects as well, as long as they implement the same protocol
Represent a rectangle. Used as the backbone of all the graphics calculations
You should probably not use this directly but use %RectLayout.Sprite{}
structs as they can track which external (svg) object you are manipulating
Represent a graphical object and tracks its position and size using %RectLayout.Rect{}
struct