shithub: front

Download patch

ref: 75201c49996de9faed5b74a77964ac9c2fa0dd3d
parent: 69cd42bb94c4454c8478eae8a61c5fec9e16ebb7
author: rodri <rgl@antares-labs.eu>
date: Fri Aug 15 11:09:19 EDT 2025

memdraw(2): document new behavior and fix mkwarp() paragraph

--- a/sys/man/2/memdraw
+++ b/sys/man/2/memdraw
@@ -392,6 +392,17 @@
 .BR src ,
 and stores the result in the
 .BR dst .
+It follows the behavior of
+.IR draw (2)
+regarding the use of
+.B clipr
+and the
+.B repl
+bit, but applied to the affine mappings.
+Both
+.BR Memimage s
+must have the same channel description and use 8-bit channels.
+.PP
 .I Mkwarp
 converts a 3×3 row-major matrix of
 .BR double s
@@ -405,9 +416,6 @@
 ignoring the last row which is always set to
 .B "[0 0 1]"
 for affine transformations.
-Both
-.BR Memimage s
-must have the same channel description and use 8-bit channels.
 .PP
 .I Drawclip
 takes the images involved in a draw operation,
--