I am trying to create a "half circle" shape for the end of a connector as follows:
shape main
{
// draw a dashed line
noshadow=true;
setlinestyle("SOLID");
moveto(0,0);
lineto(100,0);
}
shape target
{
startpath();
setfillcolor(0,0,0);
setpencolor(0,0,0);
moveto(0,0);
arc(-8, 8, 8, -8, 0, 8, 0, -8);
endpath();
fillandstrokepath();
}
I expected that the half circle rotates as it is done for example with the normal arrows, but the half circle does not.
Has anyone an idea how this can be done?