Rookie Terrence Ross scored seven of his 13 points in the fourth quarter for the Raptors, who also lost Lithuanian center Jonas Valanciunas to a broken finger in the first quarter.
Aaron Afflalo scored 26 points for the Magic, who lost for the first time in five games.
Philadelphia’s Thaddeus Young had 18 points and 11 rebounds to help the 76ers end a five-game losing streak with a 99-80 win over the Atlanta Hawks.
The Sixers learned before the game that injured center Andrew Bynum has been cleared to begin exercising again after suffering bone bruises in his knees. There is still no timetable for when he can make his season debut with the team.
The Indiana Pacers handed the struggling Cleveland Cavaliers their sixth straight defeat with a 99-89 win in Cleveland.
Roy Hibbert scored 18 points and Lance Stephenson added 16 for the Pacers, who won for the fifth time in six games.
The Detroit Pistons ended a six-game losing streak with a 100-68 rout of the NBA-worst Washington Wizards.
Greg Monroe had 15 points and rookie Andre Drummond added 11 points and a career-high 14 rebounds for the Pistons, who had not beaten anyone other than the Cavaliers since late last month.