align cap hairline first point
authorcaryclark <caryclark@google.com>
Wed, 27 Jul 2016 19:50:09 +0000 (12:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 27 Jul 2016 19:50:09 +0000 (12:50 -0700)
commit52f85d4d09b815fce6bfe296a1dd2cbf8d792f05
tree9570cb5461fc8de2665ba0ed464d9ba7ce505da4
parent9913dfca2affef318f4be3f324328647b7ee7af8
align cap hairline first point

Hairlines with square caps move the endpoints out by 1/2 pixel.
The last point needs to be the first adjusted point, instead
of the point supplied to move to.

R=fmalita@chromium.org
TBR=reed@google.com
BUG=617658
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2189583003

Review-Url: https://codereview.chromium.org/2189583003
src/core/SkScan_Hairline.cpp