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

NextPrevUpTopContentsIndex

image-access-height

image-access-width

Functions
Summary

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

Package

graphics-ports

Signature

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 (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex