am e6c0bda5: Merge "Make points drawn with default paint visible" into lmp-mr1-dev

* commit 'e6c0bda5dd945f3668b4108c49ee52f1a04253d6':
  Make points drawn with default paint visible
This commit is contained in:
Rob Tsuk
2014-11-04 15:23:59 +00:00
committed by Android Git Automerger

View File

@ -812,7 +812,7 @@ void PathTessellator::tessellatePoints(const float* points, int count, const SkP
// determine point shape // determine point shape
SkPath path; SkPath path;
float radius = paintInfo.halfStrokeWidth; float radius = paintInfo.halfStrokeWidth;
if (radius == 0.0f) radius = 0.25f; if (radius == 0.0f) radius = 0.5f;
if (paintInfo.cap == SkPaint::kRound_Cap) { if (paintInfo.cap == SkPaint::kRound_Cap) {
path.addCircle(0, 0, radius); path.addCircle(0, 0, radius);