<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<clipPath clipPathUnits="objectBoundingBox" id="clip-circle">
<circle cx="0.25" cy="0.25" r="0.25"/>
<circle cx="0.75" cy="0.75" r="0.25"/>
</clipPath>
</defs>
<text x="150" y="20" text-anchor="middle">This should not look pixelated</text>
<rect id="rect" transform="scale(25 25)" clip-path="url(#clip-circle)" x="1" y="2" width="10" height="10" fill="green"/>
</svg>