Add(MainForm,2953706,63,252) { Point(onKeyDown) link(onCreate,5802977:doEvent1,[]) link(onKeyDown,5802977:doEvent2,[]) } Add(PaintBox,410277,700,189) { Left=80 Top=30 Width=200 Height=200 } Add(Img_Rotate,11876483,630,343) { BackgroundColor=16777215 Point(Result) link(onResult,3850905:doDraw,[]) link(Bitmap,8532526:Var2,[]) } Add(Bitmap,2157439,630,175) { HWidth=100 HHeight=100 FillColor=16777215 Point(doCreate) } Add(Img_Line,2629835,343,280) { Point2AsOffset=0 Size=80 Color=15780518 Point(Point1) Point(Point2) Point(Color) Point(Size) link(Bitmap,8532526:Var1,[(349,264)]) link(Point1,5156934:Point,[]) link(Point2,14828686:Point,[(363,268)(398,268)]) link(Size,907541:Random,[(377,273)(524,273)]) } Add(Random,1783746,350,175) { Point(Max) link(onRandom,13978810:doRandom,[]) } Add(Random,13978810,392,175) { Point(Max) link(onRandom,13745027:doRandom,[]) } Add(Random,13745027,434,175) { Point(Max) link(onRandom,4215169:doRandom,[]) } Add(Random,4215169,476,175) { Point(Max) link(onRandom,907541:doRandom,[]) } Add(Random,907541,518,175) { Min=1 Max=5 } Add(PointXY,5156934,350,224) { link(X,1783746:Random,[]) link(Y,13978810:Random,[(363,216)(398,216)]) } Add(PointXY,14828686,392,224) { link(X,13745027:Random,[(398,216)(440,216)]) link(Y,4215169:Random,[(405,216)(482,216)]) } Add(For,2807536,231,287) { Start=1 InData=0 link(onEvent,10836400:doEvent1,[(271,293)(271,279)]) link(onStop,12012976:doEvent1,[(411,300)(411,286)]) } Add(Hub,10836400,280,273) { link(onEvent1,1783746:doRandom,[(326,279)(326,181)]) link(onEvent2,2629835:doDraw,[]) } Add(Hub,5802977,126,266) { InCount=2 OutCount=3 link(onEvent1,1783746:doRandomize,[(153,272)(153,188)]) link(onEvent2,14674963:doEvent1,[(161,279)(161,195)]) link(onEvent3,6535408:doRandom,[(158,286)(158,293)]) } Add(Img_Bmp,3850905,700,343) { Y=100 Transparent=0 TransparentColor=16777215 link(Bitmap,13048027:Var3,[(706,315)]) } Add(Img_Bmp,1641129,700,280) { Transparent=0 TransparentColor=16777215 link(Bitmap,10963188:Var2,[]) link(SourceBitmap,8532526:Var3,[(713,264)]) } Add(GetDataEx,8532526,630,259) { link(Data,2157439:Bitmap,[]) } Add(Hub,14674963,602,189) { link(onEvent1,2157439:doCreate,[]) link(onEvent2,410277:doClear,[]) } Add(VisualStrings,8239495,651,280) { Width=12 Height=6 Point(doText) Point(onText) link(onText,1641129:doDraw,[]) } Add(Hub,12012976,546,280) { OutCount=4 link(onEvent1,8239495:doText,[]) link(onEvent2,11876483:doFlipVertical,[(595,293)(595,356)]) link(onEvent3,9727651:doFlipHorizontal,[(595,300)(595,412)]) link(onEvent4,5910179:doFlipVertical,[(595,307)(595,454)]) } Add(GetDataEx,10963188,700,266) { link(Data,410277:Bitmap,[]) } Add(Img_Rotate,9727651,630,392) { BackgroundColor=16777215 Point(Result) link(onResult,3042268:doDraw,[]) link(Bitmap,11876483:Result,[]) } Add(Img_Rotate,5910179,630,441) { BackgroundColor=16777215 link(onResult,14323528:doDraw,[]) link(Bitmap,9727651:Result,[]) } Add(Img_Bmp,3042268,700,392) { X=100 Y=100 Transparent=0 TransparentColor=16777215 link(Bitmap,7394043:Var3,[(706,381)]) } Add(Img_Bmp,14323528,700,441) { X=100 Transparent=0 TransparentColor=16777215 link(onDraw,410277:doRefresh,[(747,447)(747,172)(688,172)(688,195)]) link(Bitmap,7394043:Var2,[(706,429)(688,429)]) } Add(GetDataEx,13048027,682,310) { link(Data,10963188:Var1,[(688,271)]) } Add(GetDataEx,7394043,682,376) { link(Data,13048027:Var2,[]) } Add(Random,6535408,175,287) { Min=5 Max=10 link(onRandom,2807536:doFor,[]) }