Tyler Hansbrough has agreed to sign a two-year deal with the Toronto Raptors, according to a source.

Hansbrough averaged seven points and 4.6 rebounds in 16.9 minutes last season for the Indiana Pacers.

Hansbrough has spent his entire career with the Pacers, who drafted him with the 13th pick in the 2009 NBA draft.

The Pacers rescinded a qualifying offer to Hansbrough last week, when they reached terms with David West.