From dcd0947aa5c2f0d97abc1fdb64787bdf579bc775 Mon Sep 17 00:00:00 2001 From: David Delavennat Date: Wed, 26 Aug 2026 04:18:14 +0200 Subject: [PATCH] Say that the mesh shadings are drawn, and where a pattern goes render v0.7.0 draws all four mesh kinds, and places a pattern in the space of the form that names it rather than at the page's origin. An ExtGState soft mask is the gap that takes its place in the scope list. --- docs/rendering.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/rendering.md b/docs/rendering.md index dff564e..f60ba0d 100644 --- a/docs/rendering.md +++ b/docs/rendering.md @@ -38,9 +38,20 @@ Gradients and patterns: axial and radial shadings painted on their own with and all four kinds of PDF function, which are also what a Separation or DeviceN tint transform is written in. -Mesh shadings and the standard fourteen faces are the waves that follow. The -corpus holds 371 mesh shadings of the fourth kind and 198 of the seventh, -against 19 923 axial and 5 589 radial ones. +And the mesh shadings, all four kinds, which is how a plotting tool writes a +surface: free-form and lattice-form triangles, each corner its own colour, and +Coons and tensor patches, whose four sides are cubic curves. A patch is drawn +by cutting it into a grid of little quadrilaterals — the inside of a Coons +patch follows from its twelve boundary points, and a tensor patch says four +more — and each triangle is filled by mixing the colours at its corners across +it. A patch may carry on from the one before it, sharing an edge and two of +its colours. + +A pattern is placed in the space of the content that names it: the page's own +space at the top level, and inside a form the form's — its matrix and the +transform that drew it both count. Nearly every figure a plotting tool writes +is a form, so a pattern that stayed at the page's origin would miss the shape +it was asked to fill by the width of a page. ## How it is checked