powerbatman писал(а):
не получается масштабировать текст, размер шрифта все равно меньше выходит. пробовал в ручную задавать размеры, выше 255 недаетА если рисовать?
Add(MainForm,5401078,287,70)
{
Width=0
Height=0
Color=16777215
Caption=""
BorderStyle=0
TaskBar=1
TransparentColor=0
Point(onKeyDown)
Point(doWidth)
Point(doHeight)
link(onCreate,3538004:doEvent1,[(326,90)(326,41)(39,41)(39,104)])
link(onKeyDown,3448284:doCase,[(333,97)(333,83)])
}
Add(PaintBox,13376032,378,210)
{
Width=1600
Height=1400
Align=5
Color=0
Point(doWidth)
Point(doHeight)
Point(Width)
Point(Height)
link(onBeforeDraw,9213691:doDraw,[(417,216)(417,272)(368,272)(368,370)])
}
Add(Timer,9715770,280,189)
{
link(onTimer,4092568:doEvent1,[(340,195)(340,216)])
}
Add(Case,3448284,350,77)
{
Value=Integer(27)
link(onTrue,5401078:doClose,[(389,90)(389,62)(277,62)(277,97)])
}
Add(Hub,16632888,189,98)
{
OutCount=3
link(onEvent1,5401078:doWidth,[])
link(onEvent2,13376032:doWidth,[(228,111)(228,230)])
link(onEvent3,3448733:doOperation,[])
}
Add(Hub,1435108,189,140)
{
link(onEvent1,5401078:doHeight,[(238,146)(238,111)])
link(onEvent2,13376032:doHeight,[(221,153)(221,237)])
}
Add(Screen,13802075,119,49)
{
}
Add(DoData,13293864,119,98)
{
link(onEventData,16632888:doEvent1,[])
link(Data,13802075:Width,[])
}
Add(DoData,7930159,126,140)
{
link(onEventData,1435108:doEvent1,[])
link(Data,13802075:Height,[])
}
Add(Hub,3538004,49,98)
{
link(onEvent1,13293864:doData,[])
link(onEvent2,7930159:doData,[(95,111)(95,146)])
}
Add(Img_UseScale,4749032,525,175)
{
X=4
Y=4
link(X,5238143:Var2,[])
link(Y,5238143:Var3,[(545,159)])
}
Add(Img_TextInRect,9213691,420,364)
{
Font=[Yu Gothic,100,0,16777215,204]
AlignHorizon=2
Alignvertical=2
Point(Transform)
link(Bitmap,13376032:Bitmap,[(426,355)(384,355)])
link(Text,7484842:FormatTime,[(433,348)(398,348)])
link(Point1,3957969:Point,[])
link(Point2,16300167:Point,[(447,327)(475,327)])
link(Transform,4749032:Transform,[(454,334)(531,334)])
}
Add(Time,7484842,392,294)
{
Format="m:s"
}
Add(PointXY,16300167,469,287)
{
link(X,13376032:Width,[(475,264)(391,264)])
link(Y,13376032:Height,[(482,257)(398,257)])
}
Add(Hub,4092568,350,210)
{
link(onEvent1,13376032:doRefresh,[])
link(onEvent2,13376032:doClear,[])
}
Add(PointXY,3957969,434,287)
{
}
Add(Math,3448733,532,112)
{
OpType=3
Op2=320
ResultType=0
}
Add(GetDataEx,5238143,532,154)
{
link(Data,3448733:Result,[])
}
Для выхода нажать "ESC"