scriptid "GreenRect3"
filter "緑の四角3";
group "自分のフィルタ";
input borderWidth, "線幅", slider, 10 , 0, 100;
code
point rectPoint[4];
MakeRect(rectPoint, -50, -50, 100, 100 );
FramePoly(rectPoint,Src1, kGreen ,10 );
blend(Src1, Src1, Dest, borderWidth);
scriptid "GreenRect4"
filter "緑の四角4";
group "自分のフィルタ";
input borderWidth, "線幅", slider, 10 , 0, 100;
input borderColor, "線の色", color, 0 , 255, 0, 255;
code
point rectPoint[4];
MakeRect(rectPoint, -50, -50, 100, 100 );
FramePoly(rectPoint,Src1, borderColor ,borderWidth );
blend(Src1, Src1, Dest, 50);