From 9770e95e2ea1dff02a80a310c94a2fa7389114d5 Mon Sep 17 00:00:00 2001 From: Jaro Date: Mon, 5 Jun 2023 13:50:37 +0200 Subject: [PATCH] Expose rect unions in public interface. --- CHANGELOG.md | 2 ++ lib/Data/Text/ParagraphLayout/Rect.hs | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b77d502..3c9060a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 1.1.1.0 -- TBD +* Exposed functions for calculating rectangle unions. + ## 1.1.0.0 -- 2023-05-31 * Updated support for bidirectional text: diff --git a/lib/Data/Text/ParagraphLayout/Rect.hs b/lib/Data/Text/ParagraphLayout/Rect.hs index a9e6d1d..99e9ff8 100644 --- a/lib/Data/Text/ParagraphLayout/Rect.hs +++ b/lib/Data/Text/ParagraphLayout/Rect.hs @@ -10,6 +10,10 @@ module Data.Text.ParagraphLayout.Rect , y_max , y_min , y_terminus + , union + , unionMany + , unionMany1 + , Bias (LL, LH, HL, HH) ) where -- 2.30.2