what precondition would you not expect image-select-ellipse! to have?

Post on 31-Dec-2015

8 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

What precondition would you NOT expect image-select-ellipse! to have?. width > 0 left > 0 (left + width) > 0 operation is REPLACE, ADD, SUBTRACT, or INTERSECT I’d expect it to have all of these preconditions. - PowerPoint PPT Presentation

TRANSCRIPT

What precondition would you NOT expect image-select-ellipse! to have?

A. width > 0B. left > 0C. (left + width) > 0D. operation is REPLACE, ADD, SUBTRACT, or

INTERSECTE. I’d expect it to have all of these

preconditions.

What image does this describe?(define img (image-show (image-new 200 200))(image-select-rectangle! img REPLACE 50 50 100 100)(image-select-rectangle! img SUBTRACT 120 50 40 100)(image-fill-selection! img)

A. A square of edge length 100B. A square of edge length 50C. A square of edge length 100 with a

small chunk taken outD. Two rectanglesE. A rectangle of width 80 and height 100

top related