
| Current Path : /usr/share/asymptote/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //usr/share/asymptote/annotate.asy |
void annotate(picture pic=currentpicture, string title, string text,
pair position)
{
pic.add(new void(frame f, transform t) {
position=t*position;
label(f,"\special{!/pdfmark where
{pop} {userdict /pdfmark /cleartomark load put} ifelse
[/Rect["+(string) position.x+" 0 0 "+(string) position.y+"]
/Subtype /Text
/Name /Comment
/Title ("+title+")
/Contents ("+text+")
/ANN pdfmark}");
},true);
draw(pic,position,invisible);
}