This software enables users to layout items in a grid format by following textual instructions.
Instead of using brand-X fancy GUI layout tool, this module enables you to lay out GUI in a simple and easy way. It uses contiguous groups of like characters and symbols to specify screen regions that give you a pictorial representation of the layout. It's important to note that spaces are not legal and you should avoid using them. However, a "-" is accepted, but it's used by other modules for other things. Therefore, you should beware of using "-" in your pattern.
The textual arrangement can be as big as you want, and although it may not appear so, all spacing is assumed to be the same in both X and Y directions. The aspect ratio of the pattern is 16/7 (width/height).
To make the GUI layout useful, you must be able to map the textual layout to screen coordinates, and this is where the map_range function plays a critical role. You can use it to convert the pattern into a real coordinate system while preserving spatial relativity and size associations.
Acme::TextLayout was primarily designed for GUI application, but it can be used in other areas too. The module is simple to use: just create a new instance of the module and use the "instantiate" method to load the pattern into it. If you find any new use for this module, do let the developer know by using the email address mentioned in the document.
Overall, Acme::TextLayout is a valuable tool that makes it much easier to layout things in a grid, and it might just be the solution you didn't know you needed!
Version 0.01: N/A