Helena Bonham Carter has the fun of yelling, \Helena Bonham Carter has the fun of yelling, "Off with their heads" in Alice in Wonderland. (Associated Press)

Anne Hathaway and Helena Bonham Carter have agreed to roles in a new Disney version of Alice in Wonderland, to be directed by Tim Burton.

Hathaway, who is getting Oscar buzz for her performance in Rachel Getting Married, will play the benevolent White Queen who is deposed by the erratic Red Queen.

The actress who became known for The Princess Diaries is making a transition to drama with Rachel Getting Married and her next film, Passengers.

Bonham Carter, who is Burton's partner, will play the Red Queen — the character who frequently yells, "Off with their heads."

She will again share the screen with Johnny Depp, who will portray the Mad Hatter — their last role together was in Sweeney Todd.

Mia Wasikowska, an 18-year-old Australian who appeared in In Treatment, plays Alice.

Burton is retelling Lewis Carroll's classic with a combination of live action and performance-capture technology.

with files from Reuters