1 USING: math help.markup help.syntax ;
5 { $values { "x" real } { "y" real } { "w" real } { "h" real } { "rect" "an " { $snippet "NSRect" } } }
6 { $description "Allocates a new " { $snippet "NSRect" } " in the Factor heap." } ;
9 { $values { "x" real } { "y" real } { "point" "an " { $snippet "NSPoint" } } }
10 { $description "Allocates a new " { $snippet "NSPoint" } " in the Factor heap." } ;
13 { $values { "w" real } { "h" real } { "size" "an " { $snippet "NSSize" } } }
14 { $description "Allocates a new " { $snippet "NSSize" } " in the Factor heap." } ;
16 ARTICLE: "cocoa-types" "Cocoa types"
17 "The Cocoa binding defines some common C structs:"
23 "Some words for working with the above:"
24 { $subsection <NSRect> }
25 { $subsection <NSPoint> }
26 { $subsection <NSSize> } ;