Use hairline when line width <= 1.0, instead of < 1.0.
authoranatoly@google.com <anatoly@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 12 Apr 2010 13:51:28 +0000 (13:51 +0000)
committeranatoly@google.com <anatoly@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 12 Apr 2010 13:51:28 +0000 (13:51 +0000)
commita956e4fe2e7a6701f778c632ff11e8a0ed01168f
treedc730414d788edc6ad7faa654ef25b8d68981a28
parent229d9b3953a84365e0cf4848556c0795af4446da
Use hairline when line width <= 1.0, instead of < 1.0.
This speeds line drawing up considerably when drawing with
default linewidth on canvas.

Review: http://codereview.appspot.com/883047/show

git-svn-id: http://skia.googlecode.com/svn/trunk@538 2bbb7eff-a529-9590-31e7-b0007b416f81
bench/RectBench.cpp
bench/SkBenchmark.cpp
bench/SkBenchmark.h
bench/benchmain.cpp
src/core/SkDraw.cpp