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

ns-point FLI Type Descriptor

Summary

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

Package

cocoa

Syntax

ns-point

Description

The FLI type ns-point is a structure type for use as the Objective-C type NSPoint. The structure has two slots, :x and :y, 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 #(x y).

See also

ns-rect
set-ns-point*


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