texture

Generic Function

Package: common-graphics

Arguments: standard-object

Returns (or sets with setf) the texture used by a pixmap or cursor (specified by the argument). The texture is a standard object that defines the array of pixel values for the pixmap. The data for a texture is stored internally as a lisp array, the platform- and version-independent interface to the texture is the nested set of lists of pixel values stored in its contents property. The array is the value of the texture-array property. See also the texture class.

The file in ex/cg/misc/textur.cl has an example of defining a new texture.

texture is a property of the cursor and pixmap classes.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.