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

NextPrevUpTopContentsIndex

ns-point

FLI type descriptor
Summary

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

Package

cocoa

Syntax

ns-point

Arguments

None.

Description

The FLI ns-point type 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 - 22 Dec 2009

NextPrevUpTopContentsIndex