@@ -12,7 +12,8 @@ export function Style(mark, {
1212 strokeLinecap,
1313 strokeMiterlimit,
1414 strokeDasharray,
15- mixBlendMode
15+ mixBlendMode,
16+ shapeRendering
1617} = { } ) {
1718 mark . fill = impliedString ( fill , "currentColor" ) ;
1819 mark . fillOpacity = impliedNumber ( fillOpacity , 1 ) ;
@@ -24,6 +25,7 @@ export function Style(mark, {
2425 mark . strokeMiterlimit = impliedNumber ( strokeMiterlimit , 4 ) ;
2526 mark . strokeDasharray = string ( strokeDasharray ) ;
2627 mark . mixBlendMode = impliedString ( mixBlendMode , "normal" ) ;
28+ mark . shapeRendering = impliedString ( shapeRendering , "auto" ) ;
2729}
2830
2931export function applyIndirectStyles ( selection , mark ) {
@@ -36,6 +38,7 @@ export function applyIndirectStyles(selection, mark) {
3638 applyAttr ( selection , "stroke-linecap" , mark . strokeLinecap ) ;
3739 applyAttr ( selection , "stroke-miterlimit" , mark . strokeMiterlimit ) ;
3840 applyAttr ( selection , "stroke-dasharray" , mark . strokeDasharray ) ;
41+ applyAttr ( selection , "shape-rendering" , mark . shapeRendering ) ;
3942}
4043
4144export function applyDirectStyles ( selection , mark ) {
0 commit comments