git: 9front

Download patch

ref: e0a70e7f9c30c06d11c9a9c2175f15bf47decc10
parent: 75f3760e992fd4f4a337e05513d7d82d1d0fde88
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,
--