* commit 'c4aea977cd35c423132382cf0ae1f3238e2c7d10': Make points drawn with default paint visible
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user