Saturn36rus писал(а):
через photoshop склеивать картинкиAdd(MainForm,14384415,112,203)
{
Width=524
Height=418
Caption="Спрайт_Верт"
Point(onKeyUp)
link(onKeyUp,8876176:doCompare,[])
}
Add(Math,5135760,357,112)
{
OpType=39
Point(doClear)
link(onResult,15746892:doWidth,[(468,118)(468,181)])
link(Op1,9200381:ImageWidth,[(363,96)(356,96)])
link(Op2,5135760:Result,[(370,100)(397,100)(397,156)(363,156)])
}
Add(Math,15946600,343,175)
{
Point(doClear)
link(onResult,7523957:doEvent1,[])
link(Op1,9200381:ImageHeight,[])
link(Op2,15946600:Result,[(356,163)(383,163)(383,221)(349,221)])
}
Add(Img_Bmp,12923560,483,245)
{
Point(Y)
link(onDraw,12662533:doLoad,[])
link(Bitmap,13453177:Var2,[])
link(SourceBitmap,9200381:Bitmap,[(496,232)(342,232)])
link(Y,1172193:Value2,[(503,214)(440,214)])
}
Add(Image,12662533,525,245)
{
Width=508
Height=380
Align=5
link(Bitmap,13453177:Var3,[(531,208)])
}
Add(GetDataEx,13453177,483,203)
{
link(Data,15746892:Bitmap,[])
}
Add(DropFile,2437532,238,49)
{
link(onDropFile,9586542:doEvent1,[])
}
Add(Img_Loader,9200381,336,49)
{
Point(ImageHeight)
Point(ImageWidth)
}
Add(PaintBox,15746892,483,161)
{
Left=535
Top=440
Point(doWidth)
Point(doHeight)
Point(Height)
}
Add(Hub,9586542,287,49)
{
OutCount=4
link(onEvent1,9200381:doLoad,[])
link(onEvent2,5135760:doOperation,[(330,62)(330,118)])
link(onEvent3,15946600:doOperation,[(322,69)(322,181)])
link(onEvent4,12923560:doDraw,[(312,76)(312,251)])
}
Add(MemFIFO,1172193,427,140)
{
Default=Integer(0)
}
Add(Hub,7523957,399,175)
{
link(onEvent1,1172193:doValue,[(420,181)(420,146)])
link(onEvent2,15746892:doHeight,[])
}
Add(PictureStream,10143,518,308)
{
FileName="ааа.bmp"
Quality=100
link(Bitmap,12662533:ImageBitmap,[])
}
Add(Button,14999324,469,315)
{
Left=5
Top=5
Width=80
Caption="Сохранить"
link(onClick,10143:doSave,[])
}
Add(If_else,8876176,168,224)
{
Op2=Integer(82)
link(onTrue,10940793:doEvent1,[])
}
Add(Hub,10940793,210,224)
{
OutCount=5
link(onEvent1,5135760:doClear,[(248,230)(248,125)])
link(onEvent2,1172193:doClear,[(264,237)(264,153)])
link(onEvent3,15746892:doClear,[(283,244)(283,174)])
link(onEvent4,15946600:doClear,[(298,251)(298,188)])
link(onEvent5,12662533:doClear,[])
}
Add(MainForm,14384415,140,217)
{
Width=524
Height=418
Caption="Спрайт_Гор"
Point(onKeyUp)
link(onKeyUp,8876176:doCompare,[])
}
Add(Math,5135760,364,126)
{
OpType=39
Point(doClear)
link(onResult,15746892:doHeight,[(527,132)(527,209)])
link(Op1,9200381:ImageHeight,[(370,110)(349,110)])
link(Op2,5135760:Result,[(377,114)(404,114)(404,170)(370,170)])
}
Add(Math,15946600,350,189)
{
Point(doClear)
link(onResult,7523957:doEvent1,[])
link(Op1,9200381:ImageWidth,[])
link(Op2,15946600:Result,[(363,177)(390,177)(390,235)(356,235)])
}
Add(Img_Bmp,12923560,546,259)
{
Point(X)
link(onDraw,12662533:doLoad,[])
link(Bitmap,13453177:Var2,[])
link(SourceBitmap,9200381:Bitmap,[(559,246)(342,246)])
link(X,1172193:Value2,[(566,258)(468,258)])
}
Add(Image,12662533,602,259)
{
Width=508
Height=380
Align=5
link(Bitmap,13453177:Var3,[(608,236)])
}
Add(GetDataEx,13453177,546,231)
{
link(Data,15746892:Bitmap,[])
}
Add(DropFile,2437532,238,63)
{
link(onDropFile,9586542:doEvent1,[])
}
Add(Img_Loader,9200381,336,63)
{
Point(ImageHeight)
Point(ImageWidth)
}
Add(PaintBox,15746892,546,182)
{
Left=535
Top=440
Point(doWidth)
Point(doHeight)
Point(Height)
}
Add(Hub,9586542,287,63)
{
OutCount=4
link(onEvent1,9200381:doLoad,[])
link(onEvent2,5135760:doOperation,[(330,76)(330,132)])
link(onEvent3,15946600:doOperation,[(322,83)(322,195)])
link(onEvent4,12923560:doDraw,[(312,90)(312,265)])
}
Add(MemFIFO,1172193,455,168)
{
Default=Integer(0)
}
Add(Hub,7523957,399,189)
{
link(onEvent1,1172193:doValue,[(420,195)(420,174)])
link(onEvent2,15746892:doWidth,[])
}
Add(PictureStream,10143,595,308)
{
FileName="ааа.bmp"
Quality=100
link(Bitmap,12662533:ImageBitmap,[])
}
Add(Button,14999324,546,315)
{
Left=5
Top=5
Width=80
Caption="Сохранить"
link(onClick,10143:doSave,[])
}
Add(If_else,8876176,189,238)
{
Op2=Integer(82)
link(onTrue,10940793:doEvent1,[])
}
Add(Hub,10940793,231,238)
{
OutCount=5
link(onEvent1,5135760:doClear,[(264,244)(264,139)])
link(onEvent2,1172193:doClear,[(270,251)(270,181)])
link(onEvent3,15946600:doClear,[(276,258)(276,202)])
link(onEvent4,15746892:doClear,[(498,265)(498,195)])
link(onEvent5,12662533:doClear,[])
}