| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments: bitmap-pane-or-bitmap-stream &optional texture-info
This function returns a texture-info with information about bitmap-window-or-pane's width, height, and bits-per-pixel.
Note that the argument list has changed in release 7.0. Previously, the first argument was a stream, and the second specified the bitmap-pane or bitmap-stream of interest. The now-removed stream argument was in fact unused. All calls to the function written for earlier releases must be changed. The arguments now are:
bitmap-pane-or-bitmap-stream a bitmap-pane
or a
bitmap-stream
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-pane-or-bitmap-stream. 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |