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

ns-size FLI Type Descriptor

Summary

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

Package

cocoa

Syntax

ns-size

Description

The FLI type ns-size is a structure type for use as the Objective-C type NSSize. The structure has two slots, :width and :height, both of foreign type :float.

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

See also

ns-rect
set-ns-size*


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