Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## stretching

Arguments: pixmap-interface

Returns or sets with setf the value of the stretching property of the argument. This property determines whether a bitmapped object will automatically stretch to fit the size of the picture-button or the `static-picture` widget boundaries but note that this property will have no effect if the image is specified as an icon (via the pixmap-icon property) rather than as a pixmap (via the pixmap-name, pixmap-source, or pixmap property), because icons do not stretch.

Here are the possible values and their effects:

- `t`: bitmapped image will stretch automatically to fit the size of the widget.
- `nil`: bitmapped image will be drawn at the same size that the image was originally defined.

stretching is a property of the `button-info`, `picture-button`, and `static-picture` classes.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version