Вверх ↑
Ответов: 1926
Рейтинг: 172
#1: 2017-07-09 20:54:43 ЛС | профиль | цитата
А вот программа для автоматического отражения картинок:

Add(MainForm,2953706,84,126)
{
WindowsState=2
}
Add(DropFile,6062595,84,259)
{
link(onDropFile,6143234:doLoad,[])
}
Add(ChildScrollBox,5930991,511,973)
{
}
BEGIN_SDK
Add(EditMulti,14871627,21,21)
{
WorkCount=1
link(doWork1,8681899:doLoad,[(77,27)(77,97)])
}
Add(ScrollBox,5341459,56,161)
{
Width=392
Height=272
Align=5
}
Add(Image,8681899,133,91)
{
Color=-16777196
AutoSize=0
ViewStyle=4
link(onClick,6175256:doExecute,[])
}
Add(SDialog,6175256,182,91)
{
Filter="bmp(*.bmp)|*.bmp|jpg(*.jpg)|*.jpg"
StartDir=""
FileName=""
link(onExecute,2419335:doSave,[])
}
Add(PictureStream,2419335,238,84)
{
Quality=100
link(Bitmap,8681899:ImageBitmap,[(251,72)(195,72)(195,135)(139,135)])
}
END_SDK
Add(Img_Loader,6143234,133,259)
{
link(onLoad,2772020:doEvent1,[])
}
Add(Hub,2772020,182,259)
{
OutCount=6
link(onEvent1,14171475:doLoad,[(218,265)(218,132)])
link(onEvent2,15744161:doOperation,[(277,272)(277,321)])
link(onEvent3,13061766:doData,[(242,279)(242,447)])
link(onEvent4,270647:doOperation,[(217,286)(217,608)])
link(onEvent5,8165870:doOperation,[(214,293)(214,811)])
link(onEvent6,2658267:doOperation,[(206,300)(206,979)])
}
Add(Bitmap,14171475,343,126)
{
Point(Width)
Point(Height)
}
Add(Math,15744161,350,315)
{
OpType=2
Op2=2
ResultType=0
link(onResult,5963121:doOperation,[])
link(Op1,13611005:Var2,[])
}
Add(Math,5963121,413,315)
{
OpType=2
Op2=2
ResultType=0
link(onResult,7765300:doCreate,[])
link(Op1,2559225:Var3,[(419,173)])
}
Add(Bitmap,7765300,483,301)
{
Point(HWidth)
Point(HHeight)
Point(doCreate)
link(HWidth,14429300:Var,[])
link(HHeight,5963121:Result,[(496,289)(458,289)(458,359)(419,359)])
}
Add(LineBreak,12671738,350,364)
{
Type=1
link(Data,15744161:Result,[])
Primary=[14429300,133,-98]
}
Add(Img_Bmp,1187565,336,441)
{
link(Bitmap,9407312:Var,[])
link(SourceBitmap,10025478:Var2,[])
}
Add(LineBreak,6763636,483,364)
{
Caption="img"
Type=1
link(Data,2045025:Var2,[])
Primary=[9407312,-147,49]
}
Add(Img_UseFlip,16452140,357,553)
{
Mode=1
}
Add(DoData,13061766,287,441)
{
link(onEventData,1187565:doDraw,[])
}
Add(Img_Bmp,4567428,336,602)
{
Point(Y)
Point(Transform)
link(Bitmap,681945:Var,[])
link(SourceBitmap,13889587:Var,[])
link(Y,270647:Result,[(356,590)(300,590)(300,646)(244,646)])
link(Transform,16452140:Transform,[])
}
Add(DoData,11790381,287,602)
{
link(onEventData,4567428:doDraw,[])
}
Add(GetDataEx,2045025,483,343)
{
link(Data,7765300:Bitmap,[])
}
Add(LineBreak,7588213,497,364)
{
Caption="img"
Type=1
link(Data,1325801:Var2,[])
Primary=[681945,-161,147]
}
Add(GetDataEx,3795024,357,168)
{
link(Data,14171475:Height,[])
}
Add(LineBreak,10058281,357,189)
{
Caption="H"
Type=1
link(Data,3795024:Var2,[])
Primary=[11400436,-119,385]
}
Add(Math,270647,238,602)
{
OpType=1
Op2=1
ResultType=0
link(onResult,11790381:doData,[])
link(Op1,11400436:Var,[])
}
Add(Img_Bmp,1121255,329,805)
{
Point(X)
Point(Transform)
link(Bitmap,13359774:Var,[])
link(SourceBitmap,1695701:Var,[])
link(X,8165870:Result,[(349,793)(293,793)(293,849)(237,849)])
link(Transform,4920442:Transform,[])
}
Add(DoData,10170650,280,805)
{
link(onEventData,1121255:doDraw,[])
}
Add(Math,8165870,231,805)
{
OpType=1
Op2=1
ResultType=0
link(onResult,10170650:doData,[])
link(Op1,10852651:Var,[])
}
Add(LineBreak,9740864,287,189)
{
Caption="src"
Type=1
link(Data,15272337:Var1,[(293,173)])
Primary=[13889587,56,343]
}
Add(GetDataEx,10025478,343,168)
{
link(Data,14171475:Bitmap,[])
}
Add(Img_UseFlip,4920442,350,756)
{
}
Add(LineBreak,8950474,511,364)
{
Caption="img"
Type=1
link(Data,13663981:Var2,[])
Primary=[13359774,-182,322]
}
Add(GetDataEx,1325801,497,343)
{
Angle=3
link(Data,2045025:Var3,[])
}
Add(LineBreak,15349270,301,189)
{
Caption="src"
Type=1
link(Data,15272337:Var2,[])
Primary=[1695701,35,518]
}
Add(GetDataEx,15272337,301,168)
{
Angle=1
link(Data,223887:Var1,[])
}
Add(GetDataEx,13611005,350,217)
{
link(Data,14171475:Width,[])
}
Add(LineBreak,4768886,364,238)
{
Caption="W"
Type=1
link(Data,4607939:Var2,[])
Primary=[10852651,-133,539]
}
Add(DoData,802786,462,973)
{
link(onEventData,5930991:doWork1,[])
link(Data,2045025:Var1,[(468,348)])
}
Add(Img_Bmp,6662080,371,973)
{
Point(X)
Point(Y)
Point(Transform)
link(onDraw,802786:doData,[])
link(Bitmap,10157754:Var,[])
link(SourceBitmap,6380672:Var,[])
link(X,2658267:Result,[(391,961)(311,961)(311,1017)(230,1017)])
link(Y,3233632:Result,[(398,961)(338,961)(338,1017)(279,1017)])
link(Transform,5101640:Transform,[])
}
Add(DoData,4831465,322,973)
{
link(onEventData,6662080:doDraw,[])
}
Add(Math,2658267,224,973)
{
OpType=1
Op2=1
ResultType=0
link(onResult,3233632:doOperation,[])
link(Op1,14757301:Var,[])
}
Add(Img_UseFlip,5101640,399,924)
{
Mode=2
}
Add(GetDataEx,13663981,511,343)
{
Angle=3
link(Data,1325801:Var3,[])
}
Add(LineBreak,10880671,525,364)
{
Caption="img"
Type=1
link(Data,13663981:Var3,[(531,348)])
Primary=[10157754,-154,511]
}
Add(GetDataEx,223887,315,168)
{
Angle=1
link(Data,10025478:Var1,[])
}
Add(LineBreak,2694538,315,189)
{
Caption="src"
Type=1
link(Data,223887:Var2,[])
Primary=[6380672,63,707]
}
Add(Math,3233632,273,973)
{
OpType=1
Op2=1
ResultType=0
link(onResult,4831465:doData,[])
link(Op1,6204977:Var,[])
}
Add(GetDataEx,4607939,364,217)
{
Angle=3
link(Data,13611005:Var3,[])
}
Add(LineBreak,1288069,378,238)
{
Caption="W"
Type=1
link(Data,4607939:Var3,[(384,222)])
Primary=[14757301,-154,707]
}
Add(GetDataEx,2559225,371,168)
{
Angle=3
link(Data,3795024:Var3,[])
}
Add(LineBreak,14148105,371,189)
{
Caption="H"
Type=1
link(Data,2559225:Var2,[])
Primary=[6204977,-98,756]
}
карма: 9
0
файлы: 2text111.rar [1.7MB] [760], 4zvp1ba4.png [198.6KB] [1256]