| Allegro CL version 6.2 Unrevised from 6.1 |
Arguments: stream bitmap-window-or-pane &optional texture-info
This function returns a texture-info with information about bitmap-window-or-pane's width, height, and bits-per-pixel.
Argument Description
stream a stream compatible with the memory bitmap
of bitmap-window-or-pane; you can typically just pass
(screen *system*)
(see screen and
*system*
).
bitmap-window-or-pane a bitmap-window or bitmap-pane about whose memory bitmap you would like to know the width, height, or bits-per-pixel.
texture-info a texture-info that you can pass to
avoid consing a new one each time; if you pass a texture-info,
get-texture-info fills in its fields; if you pass nil
or do not specify this argument, a new
texture-info is created.
Note that the texture-info as returned by this function does not include the colormap used by bitmap-window-or-pane. If you need the colormap included (as you do, for example, when you pass a texture-info to save-pixmap), use the texture-info returned as the second value by the slower function get-texture.
Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.
| Allegro CL version 6.2 Unrevised from 6.1 |