NEW YORK -- Star forwards Rudy Gay and Carmelo Anthony each struggled through one of their poorest shooting nights respectively for the Toronto Raptors and New York Knicks, but Alan Anderson had one of his best for the Raptors.
Anderson's 26 points sparked Toronto to a 92-88 win at Madison Square Garden on Wednesday night in the final game before the All-Star break for both teams. DeMar DeRozan added 20 points for Toronto.
The Raptors (21-32), who have been bolstered by the acquisition of Gay, won their fourth in a row, but the forward didn't contribute much this time. He was 4 of 20 from the field and hit just one field goal in the second half while scoring 11 points.
Anthony had just as poor a showing for the Knicks (32-18), who lost for the second straight time and third in their last four. Anthony shot just 5 of 24 from the field while scoring just 12 points.
J.R. Smith scored 26 points to lead the Knicks, who struggled from the line, going 23 of 32.
The Raptors opened a 69-60 lead in the first minute of the fourth quarter after scoring the first four points of the period. Smith and Chandler combined to score the Knicks' next 10 points, with Felton hitting two 3-pointers, to cut the lead to 75-72 with 7:13 left to play.
But Anderson, whose 3-point shooting had hurt the Knicks all night, scored on a pair of drives to the basket to help get Toronto's lead back to 83-76 with 3:44 remaining. The Knicks would get no closer than four the rest of the way.
Toronto started the fourth quarter with a 65-60 lead after trailing by five at halftime and double-digits in the first half. Anderson continued to display the 3-point precision he showed in the first half, going 3 of 3 from long distance in the third quarter.
The Raptors ended the period on a 7-2 run in the last two minutes, despite losing guard Kyle Lowry to an ejection after he got his second technical foul for complaining about a foul call with 2:52 left in the quarter.
The Knicks entered the half with a 42-37 advantage, after leading by as much as 11 in the first half. Toronto went on a 9-3 run to end the half, including a pair of 3-pointers by Anderson, who had 13 points to lead Toronto before the break.
Raymond Felton and Steve Novak, who hit three 3-pointers, led the Knicks with nine points apiece entering halftime.
Notes: Raptors forward and ex-Knick Landry Fields drew the start and the assignment to guard Anthony, a late switch with Fields starting instead of Amir Johnson. Earlier in the day, Fields announced via Twitter he and supermodel Elaine Alden had gotten engaged. ... Knicks forward Rasheed Wallace, who has been out since Dec. 13 with a foot injury, should be able to return to practice next Tuesday, Knicks coach Mike Woodson said in his pregame news conference. ... Chandler, who is set to play in his first All-Star game Sunday, is battling a sore right ankle, but was able to start Wednesday. He will be joined in Houston for All-Star Weekend by fellow All-Star Anthony, slam dunk contestant James White and 3-point shooting competitor Novak. ... Terrence Ross will compete in the dunk contest for Toronto.