small typos in place-image/align
svn: r17604
This commit is contained in:
parent
038ed5bea3
commit
584286f8c5
|
@ -528,12 +528,12 @@ and universes using @scheme[2htdp/universe].
|
||||||
6 12
|
6 12
|
||||||
(rectangle 24 24 "solid" "goldenrod")))))]
|
(rectangle 24 24 "solid" "goldenrod")))))]
|
||||||
}
|
}
|
||||||
@defproc[(place-image/align [image image?] [x real?] [y real?] [scene image?] [x-place x-place?] [y-place y-place?])
|
@defproc[(place-image/align [image image?] [x real?] [y real?] [x-place x-place?] [y-place y-place?][scene image?])
|
||||||
image?]{
|
image?]{
|
||||||
|
|
||||||
Places @scheme[image] onto @scheme[scene] with its @scheme[x-place] and @scheme[y-place]
|
Like @scheme[place-image], but uses @scheme[image]'s @scheme[x-place] and
|
||||||
at the coordinates
|
@scheme[y-place] to anchor the image. Also, recall that
|
||||||
(@scheme[x],@scheme[y]) and crops the resulting image so that it has the
|
@scheme[place-image] crops the resulting image so that it has the
|
||||||
same size as @scheme[scene].
|
same size as @scheme[scene].
|
||||||
|
|
||||||
@image-examples[(place-image/align (triangle 16 "solid" "yellowgreen")
|
@image-examples[(place-image/align (triangle 16 "solid" "yellowgreen")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user