~jaro/balkon

balkon/test/Data/Text/ParagraphLayout/RectSpec.hs -rw-r--r-- 4.3 KiB
Test unions of lists of rectangles.
Parametrise rectangle union bias.
Hide Rect union from public interface.

The function behaves in a specific way that should not be relied on by
other modules.
Make paragraphRect origin always 0,0.

This convention should make it easier for the caller to properly place
the paragraph within a document.
Add module for working with rectangle coordinates.