The Toronto Raptors have reached an agreement in principle to send Rudy Gay to the Sacramento Kings, league sources told Yahoo Sports.

The Kings will send Greivis Vasquez, John Salmons, Patrick Patterson and Chuck Hayes to the Raptors. The Kings will also acquire Quincy Acy and Aaron Gray in the deal, sources said.

The Raptors and Gay had become increasingly unhappy with each other, league sources said, and Gay's contract was an obstacle to the franchise's desire to begin the rebuilding process.

Gay is making $17.8 million this year, and holds a player option for $19.3 million for the 2014-15 season. The forward will almost assuredly exercise the option and take that salary next season.