default-inverted-texture-info

Generic Function

Package: common-graphics

Arguments: system

Returns the default-inverted-texture-info for system. The current system (and thus the default that will be used) is the value of *system*.

The default-inverted-texture-info is a texture-info instance that is used by many Allegro pixmaps for efficiency. It could be used by application pixmaps as if its attributes are appropriate.

The width and height are each 16, which is appropriate for standard-size picture-button buttons and multi-picture-button buttons. The bits-per-pixel is 4, for 16-color button images.

default-inverted-texture-info uses the default-palette-vector, and so the pixmap would need to use that particular palette of colors in order for this texture-info to be appropriate.

Also, "inverted" means that this texture-info's invert-p slot is true to indicate that the printed pixmap array is vertically inverted from the actual image that is drawn in a window. load-pixmap returns a pixmap array in this orientation for efficiency reasons. If a pixmap is not in this inverted orientation, then default-texture-info should be used instead.

default-inverted-texture-info is a property of the system class.

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.