Next Previous Up Top Contents Index

4.3 DUIM-DCs Module

make-stencil

Function

Summary

Returns a pattern design generated from a two-dimensional array.

Library

duim-dcs

Module

duim-dcs

Signature

make-stencil array => stencil

Arguments

array
An instance of type <array>.

Values

stencil
An instance of type <stencil>.

Description

Returns a pattern design that has (array-dimension array 0) cells in the vertical direction and (array-dimension array 1) cells in the horizontal direction. array must be a two-dimensional array of real numbers between 0 and 1 (inclusive) that represent opacities. The design in cell i,j of the resulting pattern is the value of (make-opacity (aref array i j)).


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index