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

NextPrevUpTopContentsIndex

ns-rect

FLI type descriptor
Summary

A foreign type for the Objective-C structure type NSRect .

Package

cocoa

Syntax

ns-rect

Arguments

None.

Description

The FLI ns-rect type is a structure type for use as the Objective-C type NSRect . The structure has two slots, :origin of foreign type ns-point and :size of foreign type ns-size.

When used directly in method definition or invocation, it allows automatic conversion to/from a vector of four elements of the form #( x y width height ) .

See also

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


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex