Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version