All Manuals > LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual > 4 Cocoa Reference

set-ns-rect* Function

Summary

Set the slots in a ns-rect structure.

Package

cocoa

Signature

set-ns-rect* rect x y width height => rect

Arguments
rect
A pointer to a foreign object of type ns-rect.
A real.
A real.
width
A real.
height
A real.
Values
rect
A pointer to a foreign object of type ns-rect.
Description

The function set-ns-rect* sets the slots of the foreign ns-rect structure pointed to by rect to the values of x, y, width and height. rect is returned.

See also

ns-rect
set-ns-point*
set-ns-size*


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 01 Dec 2021 19:38:33