Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit fdad56f

Browse files
authored
Anti-Aliasing for shape layers (#8157)
1 parent 906d684 commit fdad56f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flow/layers/physical_shape_layer.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ void PhysicalShapeLayer::Paint(PaintContext& context) const {
142142
// Call drawPath without clip if possible for better performance.
143143
SkPaint paint;
144144
paint.setColor(color_);
145+
paint.setAntiAlias(true);
145146
if (clip_behavior_ != Clip::antiAliasWithSaveLayer) {
146147
context.leaf_nodes_canvas->drawPath(path_, paint);
147148
}

0 commit comments

Comments
 (0)