[offtop] GAv, а чем тебя обычные графические редакторы не устраивают?[/offtop]
------------ Дoбавленo в 23.43:
GAv, вот пример с форума:
Add(MainForm,13070309,133,217) { Left=20 Top=105 Width=145 Height=112 link(onCreate,6391707:doWork2,[]) } Add(Img_Text,12881502,343,245) { X=2 Y=2 Font=[Times New Roman,14,1,0,204] Text="Аа" link(onDraw,2871305:doWork3,[(410,251)]) link(Bitmap,1181660:Var2,[]) } Add(Button,3842546,84,161) { Left=10 Top=45 Data=Integer(0) link(onClick,550515:doEvent1,[]) } Add(Img_Bmp,14783499,273,231) { X=1 Y=1 link(onDraw,2871305:doWork2,[(368,237)(368,160)]) link(Bitmap,1181660:Var1,[(279,208)]) link(SourceBitmap,15549066:Bitmap,[]) } Add(Hub,550515,133,161) { OutCount=3 link(onEvent1,9159419:doClear,[]) link(onEvent2,6391707:doWork1,[(256,174)]) link(onEvent3,12881502:doDraw,[(245,181)(245,251)]) } Add(PaintBox,9159419,441,154) { Left=73 Top=10 Width=33 Height=33 Point(Handle) } Add(Bitmap,15549066,280,161) { Picture=[ZIP3610000078DAAD57695454E7197E065C628C8A464134EE8DB8B59E36D5463D6AAA4D6B939A364DB5099E9E6393DAA4474525C8E2166330A231B8B1B855C40D158C46944D47111886019C8D2D9A34C62535A2890B0A38CCDCDBE7FBEEBD03273F6CCE899CF3F2DD7BBF7BBF777BDEE77D67CAF4B141907F6329C328037531C9FFFCD3F7DBFED99C5552CA5C35BA54C3E672C1E6A88595CFADCE6AFFBEB82F7769F7A5BCB739AAA5883DDBF7F62ABEF7ADB18A77C4737196F856BC5BEAAE86E53C9F518AED6E94D8F9EC7C2D8A795FCA6B712FF6C55AECA84111DF117B250EEA72B8E5BB4576DE7315EFCB33B867E16A31DE13673AB4FBA24ADAEAD47C3D5BE646F8C7168C5D588431F3CEE15711C5786EC1398C8D2CC1B8A8128C5D5C8A71D1A5981063C3C4D8324CE63A79493926C5D9F042AC0D53E2CAB99663729C0593A2AD98186DC184772D18CFEFC747F2BCF98518177196679B31EE9DD378FEED7C8C8930E3F5D545386DB12333DF8169E9D71018D10CC4B500AB5BD07EBD8A0E5B5474D9AD22E4908AC127548C2CF061BC55C52B7615B3AA152CF88F8A98CB2A967EEDC3A2AF54CCBDA8E2CFD52A5EAC5430A6C48711A7543C93AD20E8B00F9D7629084C5261DA4C49F4011FAB7823FB16D24FDA9153ECC2A0C8F3302DF402EFDE43409C02D312155843E1BBED931574D9A9E2E90C15FD8F79F12C6DF9B959C5A42205BFB3D09E5215538B158C3FEBC3C83C15838EFB1092A9A2EB5E054FEE5011B8493F6BB542E19A401B92558C893A03B3C58D72B71B6FBD7F1AF8C757C0A22620BA0158EA836925BF5DABA21DBF7F6A1BF5D387D0FD2A061C51313A5BC52F4E2AE891C5BDC3F4977A47E5A8187654C590C32A82F73076BB18C314FAF4918A8004454A603CF5A7F17ED6792C4AC8F1E3B7A0C48E7EE1B9E840DBF0F61D98E268C70ACD5E53A2968BCEDB7D08663E420FF8D0E7B01726C6647E998A283BE399E6C340DAD2F79057EAEEFA6F151D5369FB061F02A83F709D225711CF407E37F4950C984B1D127FA216C41A99701AFDB65CC313CC0DDE610CA278EE2ACA3A154FACD7CE7B6A87825EB4011B55C4BB7D5055554ADA677CC6FCF664CCBBA529325EEDB75027BF1562C420F0209FCFB661C9C60254B8B4FAAE70BA645D9AAD2E0C7F33172388B16EA94D30C53E241E3CC07B5A1E02A9B323F1D3792BCF8B17BA154DBFA289C8B1B0EFC95445E60CEB34FDA6B5DAB5B0B9EB5E1F46FD2503E7CA752E70D648FF2D14C10BF1296711F6612DFA1C5310927E1F5D37B126A2F9ED52EDFC00E6A223CF367DA0E0A5837775FFBD987DEC36F0818A4EC455BB4445C3D8871AD6DAE9BE77FC84790C2F44E2AE22893911738B8B1C459ED3F88EDC53598309FF3C8A71C473E7E40708DDD38C5EE92DE8B0C68B80689E494C9812BCD28680793CFF6FDFC0F4F77A04CCE53E6383B5F499769856315EAB353BDA09EC133F3DD27D98FA56163948E345C18FC27FC18BD27F5E0B7BB6EC2FC2C8B84A0CCE23BEB7DC41F08E463CBDCF83A0EDCC056B42C4232046417FE22196B95ACCFA0BDB499CC470EF03DAB1429539D36A8D36C4D39763CCDB5F73917EB454C39BB34EEAB5D26F6B1BDD150E715D8769114731F58C1741A90DE8B9ED2E7AA536A2C78E26744FF7A0CB26D6D48C87C8FD5CF563E0C2B7D4134EEE5AD20C538CC00CDF61AD05887A237FF4DAD6841911595257A9DE0BACB2BF54EB3558ABF711AD2FECCAB460744C097E56C0B86DBC8DE0AD0D084EBD4F5B1EA0E72E62624923D25C2A1445D37FF40BFA3FF31E10DB88C065D42F62F03E6D5A463CE628E8FE7A3E32736D9A7E47556BCFF2EBAC963D48D683FEECB5C84FF1C7A207E89E7A1B7D53BE43CF94DB94BBE891C4DA5C7E07FB2FB668D8670C3EAD2167FFE996D46F8AF32060798BB4C1449C88D8CD8A39E1EF77E2EC32F6A172DD578943A34F32F6029B16C6232BAF1CCFB14F4C11F5F8D10DF44BBD8990CDB7D02FE92E4C8BEBB1BFE6A11E7F05273F67ADBE7C1D58A0C5C0B48C3888250FE62BE8137E1CD9857619E352A7539E2D7BBCA3DA9F7B89039103676B3D883CCD5991833772BE45EFB406F44DAA4728A577F27598A2AE23A3B651C6DE47C9BF4A9F17DD44605C23D707B481F1DFE645C8861B58B03657FA57A9FB29FC33660B1903FDDAE6A65DF62A8943910B615F6EB103BF9C9B8370B78AEEEBBFC180949B7826A59EE75FC1E1BA66A95BD860BE4CFF63EFA01B6BA4FD46D6286B21E49417C3661FC719F677C171163DC732CE8ECFF4D9A6CA9F07311B88586873418DC489F82E3A310F330E5CC290830FD13FE93A0625D7931BBFC6A1BA4628AAC683799704F6EF2388FDA613B937D4CCFA4CB88455E4B30A1DDF229EC277A14FE89238303890FB1A176A1811DC206722DA2C7AE4F3FFCAC69B17540425FE17CFA61067CBAEE0C4258F967FD680AD9EF85FD9846EE48176E485172E28F8E99C13282C77C97CCB9A634E0D5B5AB158A3CF625ADDB78DBD55E70771BD22C98C99BB2F62F827CD18907A95F57D1907AA9AFDF9377FC9BA5FD3C47EAF6028F968D4FA4B484C2BD4E649916F9D6704BE5B63AEE92F2326854E917B3F27EBEFCA670E6DD69B322F1B915FFA88832B08DB4ECE8DBF818ECBAFA1D3F22BE464F2246783AEECBDBFBDA8E037F373FC3E88D5C09998038D79D7F053C4C4AAF38F21468EACF63A3F4F24EFB3E0E50D4E4CCC7F88415BAF63F01EF2C1EE0674D9E341F001CE27E99C69389B0D8FAFC1CE2C9B3FBE424A9C6EADB6F4388B1C083F8DFE67D37B81C09C911363966E3B97BF1A9587881A2F42777C87117BEF216C7F13061FF06020FB7AEF233EBC444E7C2DAEA0CDBC5DEDE71C632E376AC098C18DFC3F4A440E2BECB5D877BC0C2FAEAE9433E690F406841D6AC44FB238976528985CC7BCAF70729EAD94B83538ED879CFF2831FA94D1A366C6E5616E750BFA1FF46054A60761ECEB434EFAF07BDA346B6541EB37CE568EFB31D25A235A8EB2722BF0EB55E7319DF3F690231E0C3DAE616EF44A17B2CD763FE61E977E8B3E1FB6FDAD3527FE1466DBBC18795A9BC5A7593D58986896BF710CBC3C0EDDFEFEEC6CC5A5B8CE2B71CADF43AFDEF2627ABD8209EF55CA7956F2A7BFAFD5FC607C3D4A0CAE30F02BE7145EAF4B3F87999957F187B42FB039A3549B6984CF022BA287BAAA1E0BFEFC3DD2E8CF3A0E852D85B62AF95B52C45DEC6B355DD76AB33EE3FCD8FCFB732FE7D6D6DC96B589B5BF7FE8760A5BCA5CFFFFFCFF01C7A1529E] } Add(GetDataEx,1181660,343,203) { Angle=1 link(Data,9159419:Bitmap,[(447,208)]) } Add(HubEx,6391707,252,231) { link(onEvent,14783499:doDraw,[]) } Add(HubEx,2871305,406,154) { link(onEvent,9159419:doRefresh,[]) }
------------ Дoбавленo в 00.04:
GAv, вот сделал небольшой скетч:
Add(MainForm,2953706,21,105) { Width=500 Height=500 Caption="TOP by Ex_" ClientSize=0 Point(onResize) link(onResize,12230493:doWork2,[(92,132)(92,20)]) } Add(PaintBox,13066353,448,14) { Top=25 Width=384 Height=187 Align=5 } Add(ChildPanel,3209306,525,112) { link(onEvent1,1588918:doDraw,[(576,118)(576,165)(508,165)(508,188)]) link(onEvent2,1588918:doFont,[(569,125)(569,160)(498,160)(498,195)]) } BEGIN_SDK Add(EditMulti,5705487,21,21) { EventCount=2 VarCount=3 link(Var1,9773737:Text,[(27,199)(104,199)]) link(Var2,2830846:Var1,[]) link(Var3,2830846:Var2,[]) } Add(Panel,15049736,28,105) { Top=412 Width=484 Align=4 } Add(Button,11346455,217,35) { Left=322 Top=2 Width=60 Height=46 Align=3 Caption="Рисовать" link(onClick,5705487:onEvent1,[(285,41)(285,27)]) } Add(Memo,9773737,98,91) { Left=2 Top=2 Width=320 Height=46 Align=5 Strings=#5:Текст| } Add(ChildPanel,2830846,28,147) { link(onEvent1,5705487:onEvent2,[(293,153)(293,34)]) } BEGIN_SDK Add(EditMulti,8625746,21,21) { EventCount=1 VarCount=2 Height=298 link(Var1,7243176:Text,[(27,270)(111,270)]) link(Var2,12070716:Text,[(34,279)(160,279)]) } Add(Panel,15939571,35,105) { Left=2 Top=2 Width=134 Height=46 Align=1 } Add(Edit,7243176,105,189) { Left=25 Text="0" DataType=2 } Add(Edit,12070716,154,189) { Left=25 Top=20 Text="0" DataType=2 } Add(Label,14988150,35,147) { Left=10 Top=5 Width=11 Height=17 Caption="X" } Add(Label,761406,35,189) { Left=10 Top=25 Width=11 Height=17 Caption="Y" } Add(Button,4369951,105,105) { Left=77 Top=2 Height=42 Align=3 Caption="Шрифт..." link(onClick,13716435:doFont,[]) } Add(Font,13716435,154,105) { FontDialog=0 link(onFont,8625746:onEvent1,[(254,111)(254,27)]) } END_SDK END_SDK Add(ChildPanel,3039990,105,105) { link(onEvent1,15761059:doLoad,[]) link(onEvent2,16469289:doValue,[(149,118)(149,160)(93,160)(93,202)]) } BEGIN_SDK Add(EditMulti,4032313,21,21) { EventCount=2 } Add(Panel,13037544,35,105) { Width=384 Height=25 Align=2 } Add(Label,6174832,35,147) { Left=72 Top=2 Width=206 Height=21 Align=5 Font=[MS Sans Serif,12,0,0,1] Caption="TextOnPicture by Ex_" Alignment=2 } Add(Button,3482324,175,63) { Left=2 Top=2 Width=70 Height=21 Align=1 Caption="Загрузить" link(onClick,10350293:doExecute,[]) } Add(Button,9208284,175,105) { Left=278 Top=2 Width=70 Height=21 Align=3 Caption="Сохранить" link(onClick,12397144:doExecute,[]) } Add(ODialog,10350293,231,63) { link(onExecute,4032313:onEvent1,[(292,69)(292,27)]) } Add(SDialog,12397144,231,105) { link(onExecute,4032313:onEvent2,[(299,111)(299,34)]) } END_SDK Add(Img_MultiText,1588918,518,182) { Point(X) Point(Y) Point(doFont) link(onDraw,12230493:doWork1,[(586,188)(586,5)(431,5)]) link(Bitmap,4421720:Var3,[(524,89)]) link(Text,3209306:Var1,[]) link(X,3209306:Var2,[]) link(Y,3209306:Var3,[]) } Add(Img_Loader,15761059,168,105) { Point(ImageWidth) link(onLoad,4093617:doEvent1,[]) } Add(Img_Bmp,825362,448,112) { link(onDraw,12230493:doWork3,[(492,118)(492,81)(431,81)]) link(Bitmap,4421720:Var2,[]) link(SourceBitmap,15761059:Bitmap,[(461,107)(421,107)(421,149)(174,149)]) } Add(HubEx,12230493,427,14) { link(onEvent,13066353:doRefresh,[]) } Add(GetDataEx,4421720,448,84) { link(Data,13066353:Bitmap,[]) } Add(PictureStream,7966924,196,189) { Quality=90 link(FileName,16469289:Value,[(202,177)(156,177)(156,240)(111,240)]) link(Bitmap,4421720:Var1,[(209,89)]) } Add(Memory,16469289,105,196) { link(onData,7966924:doSave,[]) } Add(Hub,4093617,231,105) { link(onEvent1,13066353:doClear,[(347,111)(347,27)]) link(onEvent2,825362:doDraw,[]) }
|