All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

image-access-height

image-access-width Functions

Summary

Return the dimensions of the underlying image in an Image Access object.

Package

graphics-ports

Signatures

image-access-height image-access => height

image-access-width image-access => width

Arguments
image-access
An Image Access object.
Values
height
An integer.
width
An integer.
Description

The functions image-access-height and image-access-width return the height and width of the underlying image in image-access.

image-access must be an Image Access object returned by make-image-access.

Notes

It is an error to call image-access-height or image-access-width on an Image Access object that has been freed by free-image-access.

Examples
(example-edit-file "capi/graphics/image-access")
(example-edit-file "capi/graphics/image-access-alpha")
See also

free-image-access
make-image-access


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44