如何放大 Asymptote 图片(类似 TikZ 间谍包)?

如何放大 Asymptote 图片(类似 TikZ 间谍包)?

我的代码:

// asy -f png <name_of_file>.asy
settings.render=15;
defaultpen(fontsize(6pt));
size(100);

path a,a1;
a=(0,0)--2*dir(45);
a1=shift(0,-2)*a;


draw(rotate(45)*scale(0.7)*"PenMargin(is also EndPenMargin)", g=a1,Arrows(FillDraw(red,blue)),Bars,PenMargin);
draw(circle(relpoint(a1,1),0.05)); 
arrow(relpoint(a1,1)+0.05*dir(45),dir(45/2),NoMargin);

picture pic;
size(pic,50,false);
draw(pic,rotate(45)*scale(0.7)*"PenMargin(is also EndPenMargin)", g=a1,Arrows(FillDraw(red,blue)),Bars,PenMargin);
clip(pic,circle(relpoint(a1,1),0.05));
draw(pic,circle(relpoint(a1,1),0.05));
add(shift(-.3,0)*pic);
shipout(bbox(Fill(white)));

输出

在此处输入图片描述

我想它看起来像

在此处输入图片描述

相关内容