Reject horizontal edges in FDot6 precision
authorYuqian Li <liyuqian@google.com>
Wed, 18 Jan 2017 15:51:26 +0000 (10:51 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 18 Jan 2017 20:04:59 +0000 (20:04 +0000)
commitce7e18f548cf8af0bc7c3950824221c5c08e1e25
treef388c07049430924da340d3489a5b0cec8dd5ccd
parent8461506c8b025522eb89cd754c63fb5dbf0cb7f1
Reject horizontal edges in FDot6 precision

This simplifies the slope computation because we don't have to check dy
!= 0.

BUG=skia:

Change-Id: I5c09a9217ceed65f81f9d82cb045e33a70218077
Reviewed-on: https://skia-review.googlesource.com/7180
Commit-Queue: Yuqian Li <liyuqian@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
src/core/SkAnalyticEdge.h