git: 9front

Download patch

ref: 2a33256a51e43b0571cfbbe1ad0259e3a30faee8
parent: 51bf47c7015b9f87cecb4a9fc90017a8e0568cad
author: rodri <rgl@antares-labs.eu>
date: Sun Sep 7 23:17:18 EDT 2025

draw(3): document new affinewarp protocol message 'a'

--- a/sys/man/3/draw
+++ b/sys/man/3/draw
@@ -176,6 +176,31 @@
 .B publicscreen
 interface.
 .HP
+.B a
+.IR dstid [4]
+.IR dr [4*4]
+.IR srcid [4]
+.IR sp [2*4]
+.IR warp [3*3*4]
+.IR smooth [1]
+.br
+Apply an affine image warping transformation
+.I warp
+to the image with id
+.I srcid
+starting at point
+.IR sp ,
+and blit the result to the subregion of image
+.I dstid
+defined by
+.IR dr .
+If the
+.I smooth
+byte is set, a bilinear interpolation filter will be applied to the
+samples.
+See
+.IR affinewarp (2).
+.HP
 .B b 
 .IR id [4]
 .IR screenid [4]
--