
CHAPTER 6
Data Input
Writing, Drawing, and Editing 6-25
Figure 6-19 Scrubbing a little or a lot
The effect of scrubbing may be different if a user first selects several objects.
If a user selects several objects, contiguous or not, and then scrubs over all or
any part of the selected objects, all the selected objects are deleted. Unselected
objects, if any, are not deleted by this scrub. However, if nothing is selected,
all objects touched by the scrubbing gesture are deleted.
Your application doesn’t have to do anything to handle scrubbing in input
areas that are based on Newton prototypes. If you make other input areas,
you must program them to recognize the scrubbing gesture, play the poof
sound, and display the dissipating smoke animation sequence. Scale the
smoke cloud to the size of the user’s zigzag gesture, keeping the height and
width proportional to the original image’s dimensions. Do not scale the
smoke cloud down so much that it becomes unrecognizable, even if the zigzag
gesture is very small.
single word
group of words
single letter
crub over the
tter at least four
mes)
Part of a shape
Selected text and
shapes (start
scrubbing outside
the selection to
avoid moving it)
A whole shape
Commentaires sur ces manuels