marion

Shawn Marion spent just half a season in Toronto after being traded from Miami. ((Nathan Denette/Canadian Press))

The Toronto Raptors have agreed in principle to trade forward Shawn Marion to the Dallas Mavericks on Thursday in a complicated deal also involving the Orlando Magic and Memphis Grizzlies, according to ESPN.com.

The transaction will send Marion and Kris Humphries from Toronto to Dallas, while the Raptors get Devean George and Antoine Wright from the Mavericks.

Memphis, meanwhile, will receive Jerry Stackhouse from Dallas and a substantial cash payment to buy out Stackhouse's contract.

The Raptors couldn't afford to re-sign Marion because they need to clear salary cap space for Hedo Turkoglu, who has reportedly agreed to a five-year deal with the Raptors worth around $53 million US.

Insteal of losing Turkoglu outright, Orlando will pull off a sign-and-trade with the Raptors. The Magic want to do the deal this way because it will create a valuable trade exception they can use in future trades worth around $7 million US.

The complicated four-way move benefits the Raptors because it enables them to try and re-sign Carlos Delfino, after it looked like Toronto would have to lose him to make room for the Big Turk.

George, 31, played in 43 games for the Mavs last season and averaged 3.4 points and 1.8 rebounds per game.

Wright, 25, had 7.3 points and shot 30.2 per cent from three-point land for Dallas in 65 games last year.

Marion is a versatile player who can be used at either forward position.

He spent just half a season in Toronto after being traded from Miami.

The Mavericks have been busy during the off-season, agreeing to give point guard Jason Kidd a three-year contract for more than $25 million US to remain in Dallas.

Marion was a four-time all-star in Phoenix but is facing a major pay cut from the $17.8 million US he earned last season. He will reportedly receive a five-year, $40 million US deal from the Mavericks.

He scored 12.9 points per game, well below his career average of 17.8.

Marion will join Kidd, Dirk Nowitzki and Josh Howard, giving the Mavericks four former all-stars.