O'Reilly logo

Programming Windows®, Six Edition by Charles Petzold

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Transforms

In Chapter 9, you saw how to use animations to move objects around the screen, change their size or color or opacity, and even move the dots in a dotted line. But certain types of animations were missing. What if you want to use an animation to rotate a button when the button is clicked? And I don’t necessarily mean to make the button spin around crazy, but maybe just jiggle a little as if the button is saying, “I simply can’t restrain my enthusiasm to be carrying out the command you desire.”

What you need for this job (and others like it) are transforms. Back in the old days, transforms were called graphics transforms or even—perhaps to scare away the uninitiated—matrix transforms. But in recent years transforms have been ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required