tweaks to docs & example images

svn: r17640
This commit is contained in:
Robby Findler 2010-01-13 21:54:51 +00:00
parent 0eaa68c7c4
commit 7fb9f51e62
4 changed files with 11 additions and 10 deletions

View File

@ -116,14 +116,14 @@
"cf131e14ad.png")
(list
'(place-image/align
(triangle 16 "solid" "yellowgreen")
32
32
(triangle 48 "solid" "yellowgreen")
64
64
"right"
"bottom"
(rectangle 32 32 "solid" "mediumgoldenrod"))
(rectangle 64 64 "solid" "mediumgoldenrod"))
'image
"f4c4d435a6.png")
"11402043018.png")
(list
'(place-image
(circle 4 "solid" "white")

View File

@ -532,13 +532,14 @@ and universes using @scheme[2htdp/universe].
image?]{
Like @scheme[place-image], but uses @scheme[image]'s @scheme[x-place] and
@scheme[y-place] to anchor the image. Also, recall that
@scheme[place-image] crops the resulting image so that it has the
@scheme[y-place] to anchor the image. Also, like
@scheme[place-image], @scheme[place-image/align]
crops the resulting image so that it has the
same size as @scheme[scene].
@image-examples[(place-image/align (triangle 16 "solid" "yellowgreen")
32 32 "right" "bottom"
(rectangle 32 32 "solid" "mediumgoldenrod"))
@image-examples[(place-image/align (triangle 48 "solid" "yellowgreen")
64 64 "right" "bottom"
(rectangle 64 64 "solid" "mediumgoldenrod"))
(beside
(place-image/align (circle 8 "solid" "tomato")
0 0 "center" "center"

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B