]> gitweb.factorcode.org Git - factor.git/blob - basis/core-graphics/types/types-docs.factor
Fix conflict in images vocab
[factor.git] / basis / core-graphics / types / types-docs.factor
1 USING: math help.markup help.syntax ;
2 IN: core-graphics.types
3
4 HELP: <CGRect>
5 { $values { "x" real } { "y" real } { "w" real } { "h" real } { "rect" "an " { $snippet "CGRect" } } }
6 { $description "Allocates a new " { $snippet "CGRect" } " in the Factor heap." } ;
7
8 HELP: <CGPoint>
9 { $values { "x" real } { "y" real } { "point" "an " { $snippet "CGPoint" } } }
10 { $description "Allocates a new " { $snippet "CGPoint" } " in the Factor heap." } ;
11
12 HELP: <CGSize>
13 { $values { "w" real } { "h" real } { "size" "an " { $snippet "CGSize" } } }
14 { $description "Allocates a new " { $snippet "CGSize" } " in the Factor heap." } ;
15
16 ARTICLE: "core-graphics.types" "Core Graphics types"
17 "The Core Graphics binding defines some common C structs:"
18 { $code
19     "CGRect"
20     "CGPoint"
21     "CGSize"
22 }
23 "Some words for working with the above:"
24 { $subsection <CGRect> }
25 { $subsection <CGPoint> }
26 { $subsection <CGSize> } ;
27
28 IN: core-graphics.types
29 ABOUT: "core-graphics.types"