Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 94e73a83b06e7e5b46b34a326b67d402 > files > 374

asymptote-2.24-2.mga4.x86_64.rpm

path g=scale(100)*unitcircle;
pen p=linewidth(1cm);

frame f;
// Equivalent to draw(f,g,p):
fill(f,strokepath(g,p),red);
shipout("strokepathframe",f);
shipped=false;

size(400);

// Equivalent to draw(g,p):
add(new void(frame f, transform t) {
    fill(f,strokepath(t*g,p),red);
  });
currentpicture.addPath(g,p);