From 91a0bec70c7c7ef29ff94a3ae6768a34648376ab Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Tue, 2 Aug 2022 13:52:45 -0500 Subject: [PATCH] add to bindings --- bindings/bindings.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/bindings.nim b/bindings/bindings.nim index 367fbc71..1563309b 100644 --- a/bindings/bindings.nim +++ b/bindings/bindings.nim @@ -123,7 +123,8 @@ exportRefObject Image: flipHorizontal flipVertical rotate90 - subImage + subImage(Image, int, int, int, int) + subImage(Image, Rect) minifyBy2(Image, int) magnifyBy2(Image, int) applyOpacity(Image, float32) @@ -142,6 +143,7 @@ exportRefObject Image: fillPath(Image, Path, Paint, Mat3, WindingRule) strokePath(Image, Path, Paint, Mat3, float32, LineCap, LineJoin, float32, seq[float32]) newContext(Image) + opaqueBounds exportRefObject Paint: fields: