GPR_$INQ_BITMAP_DIMENSIONS GPR Calls GPR_$INQ_BITMAP_DIMENSIONS
NAME
gpr_$inq_bitmap_dimensions - returns the bitmap dimensions.
FORMAT
gpr_$inq_bitmap_dimensions (bitmap_desc, size, hi_plane_id, status)
DESCRIPTION
This routine returns the size and number of planes of a bitmap.
A program can use the information returned by this call to retrieve the
actual bitmap size. This could be useful, for example, if the program
specified a bitmap size that was too large for the display, causing a
reduction in bitmap size.
Input Parameters
bitmap_desc
The descriptor of the bitmap, in gpr_$bitmap_desc_t format. This is
a 4-byte integer.
Output Parameters
size Width and height of the bitmap, in gpr_$offset_t format. This data
type is 4 bytes long.
hi_plane_id
The identifier of the bitmap's highest plane, in gpr_$rgb_plane_t
format. This is a 2-byte integer. To find the number of planes in
the bitmap, add one to hi_plane_id.
status
Completion status, in status_$t format.