DeMar DeRozan scored 31 points, Kyle Lowry had 16 points and 13 assists and the Toronto Raptors snapped a five-game home losing streak to Atlanta on Wednesday night, beating the struggling Hawks 104-83.Patrick Patterson had 14 points and Terrence Ross had 13 points as the Raptors beat the Hawks in Toronto for the first time since March 17, 2010, when Chris Bosh hit a jumper in the closing seconds of a 106-105 victory.Greivis Vasquez scored 12 points and Jonas Valanciunas had 14 rebounds as Toronto won for the 10th time in 12 home games and maintained a three-game edge over Brooklyn atop the Atlantic Division. The Raptors had lost seven of their past eight home meetings with the Hawks.Gustavo Ayon had 18 points and 10 rebounds and Paul Millsap had 17 for the Hawks, who have lost five straight. Jeff Teague scored 13 and Cartier Martin 10 as Atlanta lost for the fourth time in its past five road games.Louis Williams started for the Hawks in place of DeMarre Carroll, who did not play after injuring his left hamstring in Tuesday’s loss at Chicago.The Raptors broke the game open with a 33-point third quarter, then pulled away in the fourth as they began a stretch of games against their closest rivals in the Eastern Conference playoff race. Toronto visits Washington on Tuesday in its first game after the All-Star break, then hosts Chicago on Wednesday.Atlanta’s Kyle Korver extended his NBA record streak of games with at least one made 3-pointer to 120 when he connected at 3:15 of the first quarter. Korver has hit at least one 3 in every game he’s played since Nov. 2, 2012.Millsap scored seven points in the first and the Raptors missed 14 of their first 17 field goal attempts before making four of their final seven. Atlanta led 24-19 after one.DeRozan scored nine points in the second and Ross had eight, but Ayon answered with eight to keep the Hawks close. Toronto led 45-44 at halftime.Toronto woke up with a 7-0 spurt to begin the second half. DeRozan scored 14 in the third and Patterson added eight as the Raptors took a 78-65 lead into the final quarter.