亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? main.pas

?? 根據(jù)定制的數(shù)據(jù)繪圖形,可以繪制胎兒生長曲線,或股票走執(zhí)曲線圖
?? PAS
?? 第 1 頁 / 共 2 頁
字號:
    active := true;
    first;
    if eof then
    begin
      application.MessageBox('沒找到相關(guān)曲線參數(shù),請設(shè)置曲線參數(shù)','提示');
      exit;
    end;
    //rowsmaxcount := fields.Count-4;
    colsmaxcount := fields.Count-4;
    for i:= 1 to 30 do
    begin
      tempvalue[i,1] := 999;
      tempvalue[i,2] := 999;
    end;
    for i:= 3 to fields.Count-3 do
    begin
      tempvalue[i-2,1] := startx+((tempbmp.Width-6-startx*2) * (i-3) div colsmaxcount); //strtoint(copy(fields[i].FieldName,5,length(fields[i].FieldName)-4));
      tempvalue[i-2,2] := tempbmp.Height-starty- (tempbmp.Height-4-starty*2) * fields[i].AsInteger div rowmaxvalue;
    end;
    tempvalue[fields.Count-4,1] := startx+((image1.Width-6-startx*2) * colsmaxcount div colsmaxcount) ;
    tempvalue[fields.Count-4,2] := tempbmp.Height-starty-(tempbmp.Height-4-starty*2) * fields[fields.Count-2].AsInteger div rowmaxvalue;
  end;

  for i:= 1 to 30 do
  begin
    if (tempvalue[i,1]=999) or (tempvalue[i,2]=999) then
    begin
      tempvalue[i,1] := tempvalue[i-1,1];
      tempvalue[i,2] := tempvalue[i-1,2];
    end;
  end;

  with tempbmp.Canvas do
  begin
    pen.Color  := clblue;
    polyline([point(tempvalue[1,1],   tempvalue[1,2]),   point(tempvalue[2,1],    tempvalue[2,2]),    point(tempvalue[3,1],    tempvalue[3,2]),    point(tempvalue[4,1],    tempvalue[4,2]),     point(tempvalue[5,1],    tempvalue[5,2]),    point(tempvalue[6,1],    tempvalue[6,2]),    point(tempvalue[7,1],    tempvalue[7,2]),    point(tempvalue[8,1],    tempvalue[8,2]),
              point(tempvalue[9,1],   tempvalue[9,2]),   point(tempvalue[10,1],   tempvalue[10,2]),   point(tempvalue[11,1],   tempvalue[11,2]),   point(tempvalue[12,1],   tempvalue[12,2]),    point(tempvalue[13,1],   tempvalue[13,2]),   point(tempvalue[14,1],   tempvalue[14,2]),   point(tempvalue[15,1],   tempvalue[15,2]),   point(tempvalue[16,1],   tempvalue[16,2]),
              point(tempvalue[17,1],  tempvalue[17,2]),  point(tempvalue[18,1],   tempvalue[18,2]),   point(tempvalue[19,1],   tempvalue[19,2]),   point(tempvalue[20,1],   tempvalue[20,2]),    point(tempvalue[21,1],   tempvalue[21,2]),   point(tempvalue[22,1],   tempvalue[22,2]),   point(tempvalue[23,1],   tempvalue[23,2]),   point(tempvalue[24,1],   tempvalue[24,2]),
              point(tempvalue[24+1,1],tempvalue[24+1,2]),point(tempvalue[24+2,1], tempvalue[24+2,2]), point(tempvalue[24+3,1], tempvalue[24+3,2]), point(tempvalue[24+4,1], tempvalue[24+4,2]),  point(tempvalue[24+5,1], tempvalue[24+5,2]), point(tempvalue[24+6,1], tempvalue[24+6,2]) ]);
  end;
  result := true;
end;

Function  Tform1.drawcurrentpostion(tempbmp:Timage;maxheight,maxwidth,currentXpostion,currentYpostion:integer):boolean;
var topy,topx:integer;
begin
  with tempbmp.Canvas do
  begin
    pen.Color := clFuchsia;
    pen.Width := 1;
    topy := tempbmp.Height-starty-((tempbmp.Height-4-starty*2) * currentYpostion div maxheight) ;
    topx := startx+((tempbmp.Width-6-startx*2) * (currentXpostion-12) div 2  div maxwidth );  //maxwidth=14  因為從0算起只有十四個分格
    ellipse(topx-5,topy-5,topx+5,topy+5);                                                     //currentXpostion 孕齡
  end;
  result := true;
end;

Function  Tform1.drawCRLline(tempbmp:timage;itemname:string;maxheight,maxwidth:integer):boolean;
var currentitemname:string;
    currenti,colsmaxcount,i:integer;
    tempvalue : array[1..120,1..2] of integer;
    temp:integer;
begin
  //
    for i:= 1 to 120 do
    begin
      tempvalue[i,1] := 999;
      tempvalue[i,2] := 999;
    end;
  with adoqry do
  begin
    active := false;
    sql.Clear;
    sql.Add('select * from yunling order by int(itemname)');
    active := true;
    first;
    if eof then
    begin
      application.MessageBox('沒找到相關(guān)曲線參數(shù),請設(shè)置曲線參數(shù)','提示');
      exit;
    end;
    while not eof do
    begin
      try
        currenti := fieldbyname('itemname').AsInteger;
        tempvalue[currenti-2,1] := startx+((tempbmp.Width-6-startx*2) * (currenti-1) div 118)  ;//currenti-2;    //起始值為3 他的值要放到第一個里面
        tempvalue[currenti-2,2] := tempbmp.Height-starty- (tempbmp.Height-4-starty*2)* fieldbyname('itemvalue').AsInteger div 180 ;
      except
      end;
      next;
    end;
  end;

  for i:= 1 to 120 do
  begin
    if (tempvalue[i,1]=999) or (tempvalue[i,2]=999) then
    begin
      tempvalue[i,1] := tempvalue[i-1,1];
      tempvalue[i,2] := tempvalue[i-1,2];
    end;
  end;

  with tempbmp.Canvas do
  begin
    pen.Color  := clred;
    polyline([point(tempvalue[1,1],   tempvalue[1,2]),   point(tempvalue[2,1],    tempvalue[2,2]),    point(tempvalue[3,1],    tempvalue[3,2]),    point(tempvalue[4,1],    tempvalue[4,2]),     point(tempvalue[5,1],    tempvalue[5,2]),    point(tempvalue[6,1],    tempvalue[6,2]),    point(tempvalue[7,1],    tempvalue[7,2]),    point(tempvalue[8,1],    tempvalue[8,2]),
              point(tempvalue[9,1],   tempvalue[9,2]),   point(tempvalue[10,1],   tempvalue[10,2]),   point(tempvalue[11,1],   tempvalue[11,2]),   point(tempvalue[12,1],   tempvalue[12,2]),    point(tempvalue[13,1],   tempvalue[13,2]),   point(tempvalue[14,1],   tempvalue[14,2]),   point(tempvalue[15,1],   tempvalue[15,2]),   point(tempvalue[16,1],   tempvalue[16,2]),
              point(tempvalue[17,1],  tempvalue[17,2]),  point(tempvalue[18,1],   tempvalue[18,2]),   point(tempvalue[19,1],   tempvalue[19,2]),   point(tempvalue[20,1],   tempvalue[20,2]),    point(tempvalue[21,1],   tempvalue[21,2]),   point(tempvalue[22,1],   tempvalue[22,2]),   point(tempvalue[23,1],   tempvalue[23,2]),   point(tempvalue[24,1],   tempvalue[24,2]),
              point(tempvalue[24+1,1],tempvalue[24+1,2]),point(tempvalue[24+2,1], tempvalue[24+2,2]), point(tempvalue[24+3,1], tempvalue[24+3,2]), point(tempvalue[24+4,1], tempvalue[24+4,2]),  point(tempvalue[24+5,1], tempvalue[24+5,2]), point(tempvalue[24+6,1], tempvalue[24+6,2]), point(tempvalue[24+7,1], tempvalue[24+7,2]), point(tempvalue[24+8,1], tempvalue[24+8,2]),
              point(tempvalue[24+9,1],   tempvalue[24+9,2]),   point(tempvalue[24+10,1],   tempvalue[24+10,2]),   point(tempvalue[24+11,1],   tempvalue[24+11,2]),   point(tempvalue[24+12,1],   tempvalue[24+12,2]),    point(tempvalue[24+13,1],   tempvalue[24+13,2]),   point(tempvalue[24+14,1],   tempvalue[24+14,2]),   point(tempvalue[24+15,1],   tempvalue[24+15,2]),   point(tempvalue[24+16,1],   tempvalue[24+16,2]),
              point(tempvalue[24+17,1],  tempvalue[24+17,2]),  point(tempvalue[24+18,1],   tempvalue[24+18,2]),   point(tempvalue[24+19,1],   tempvalue[24+19,2]),   point(tempvalue[24+20,1],   tempvalue[24+20,2]),    point(tempvalue[24+21,1],   tempvalue[24+21,2]),   point(tempvalue[24+22,1],   tempvalue[24+22,2]),   point(tempvalue[24+23,1],   tempvalue[24+23,2]),   point(tempvalue[24+24,1],   tempvalue[24+24,2]),
              point(tempvalue[48+1,1],   tempvalue[48+1,2]),   point(tempvalue[48+2,1],    tempvalue[48+2,2]),    point(tempvalue[48+3,1],    tempvalue[48+3,2]),    point(tempvalue[48+4,1],    tempvalue[48+4,2]),     point(tempvalue[48+5,1],    tempvalue[48+5,2]),    point(tempvalue[48+6,1],    tempvalue[48+6,2]),    point(tempvalue[48+7,1],    tempvalue[48+7,2]),    point(tempvalue[48+8,1],    tempvalue[48+8,2]),
              point(tempvalue[48+9,1],   tempvalue[48+9,2]),   point(tempvalue[48+10,1],   tempvalue[48+10,2]),   point(tempvalue[48+11,1],   tempvalue[48+11,2]),   point(tempvalue[48+12,1],   tempvalue[48+12,2]),    point(tempvalue[48+13,1],   tempvalue[48+13,2]),   point(tempvalue[48+14,1],   tempvalue[48+14,2]),   point(tempvalue[48+15,1],   tempvalue[48+15,2]),   point(tempvalue[48+16,1],   tempvalue[48+16,2]),
              point(tempvalue[48+17,1],  tempvalue[48+17,2]),  point(tempvalue[48+18,1],   tempvalue[48+18,2]),   point(tempvalue[48+19,1],   tempvalue[48+19,2]),   point(tempvalue[48+20,1],   tempvalue[48+20,2]),    point(tempvalue[48+21,1],   tempvalue[48+21,2]),   point(tempvalue[48+22,1],   tempvalue[48+22,2]),   point(tempvalue[48+23,1],   tempvalue[48+23,2]),   point(tempvalue[48+24,1],   tempvalue[48+24,2]),
              point(tempvalue[96+1,1],   tempvalue[96+1,2]),   point(tempvalue[96+2,1],    tempvalue[96+2,2]),    point(tempvalue[96+3,1],    tempvalue[96+3,2]),    point(tempvalue[96+4,1],    tempvalue[96+4,2]),     point(tempvalue[96+5,1],    tempvalue[96+5,2]),    point(tempvalue[96+6,1],    tempvalue[96+6,2]),    point(tempvalue[96+7,1],    tempvalue[96+7,2]),    point(tempvalue[96+8,1],    tempvalue[96+8,2]),
              point(tempvalue[96+9,1],   tempvalue[96+9,2]),   point(tempvalue[96+10,1],   tempvalue[96+10,2]),   point(tempvalue[96+11,1],   tempvalue[96+11,2]),   point(tempvalue[96+12,1],   tempvalue[96+12,2]),    point(tempvalue[96+13,1],   tempvalue[96+13,2]),   point(tempvalue[96+14,1],   tempvalue[96+14,2]),   point(tempvalue[96+15,1],   tempvalue[96+15,2]),   point(tempvalue[96+16,1],   tempvalue[96+16,2]),
              point(tempvalue[96+17,1],  tempvalue[96+17,2]),  point(tempvalue[96+18,1],   tempvalue[96+18,2]),   point(tempvalue[96+19,1],   tempvalue[96+19,2]),   point(tempvalue[96+20,1],   tempvalue[96+20,2]),    point(tempvalue[96+21,1],   tempvalue[96+21,2]),   point(tempvalue[96+22,1],   tempvalue[96+22,2]),   point(tempvalue[96+23,1],   tempvalue[96+23,2]),   point(tempvalue[96+24,1],   tempvalue[96+24,2])
              ]);
  end;
end;

procedure TForm1.Button3Click(Sender: TObject);
begin
  drawbackimage(image1,'','頭圍HC(mm)','孕周(Weeks)',16,14,2,25,6);
  drawbackimage(image3,'','腹圍AC(mm)','孕周(Weeks)',13,14,2,30,6);
  drawbackimage(image4,'','股骨長FL(mm)','孕周(Weeks)',8,14,2,10,6);
  drawbackimage(image5,'','肱骨長HL(mm)','孕周(Weeks)',8,14,2,10,6);
  if cbstandline.Checked then
  begin
    drawstandline(image1,'頭圍HC',400,40);
    drawstandline(image3,'腹圍AC',390,40);
    drawstandline(image4,'股骨FL',80,40);
    drawstandline(image5,'肱骨HL',80,40);
  end;
end;

procedure TForm1.Button5Click(Sender: TObject);
var topy,topx,yunzhouvalue:integer;
    tempstring:string;
begin
  if yunzhou.Text='' then exit;
  if shuangdinglen.Text <>'' then
  drawcurrentpostion(image1,400,14,strtoint(yunzhou.Text),strtoint(shuangdinglen.Text));
  if fulen.Text <>'' then
  drawcurrentpostion(image3,390,14,strtoint(yunzhou.Text),strtoint(fulen.Text));
  if gugulen.Text <>'' then
  drawcurrentpostion(image4,80,14,strtoint(yunzhou.Text),strtoint(gugulen.Text));
  if gonggulen.Text <>'' then
  drawcurrentpostion(image5,80,14,strtoint(yunzhou.Text),strtoint(gonggulen.Text));
  if (toutunlen.Text<>'') and (shuangdinglen.Text='') then
  begin
    with image1.Canvas do
    begin
      pen.Color := clblue;
      pen.Width := 1;
      tempstring := copy(trim(yunzhou.Text),1,4);
      yunzhouvalue    := 0;
      while length(tempstring)>0 do
      begin
        if copy(tempstring,1,1)<>'.' then
        begin
          yunzhouvalue    := yunzhouvalue*10 + strtoint(copy(tempstring,1,1));
        end;
        tempstring := copy(tempstring,2,length(tempstring)-1);
      end;
      if length(trim(yunzhou.Text))<3 then
      yunzhouvalue    := yunzhouvalue*10;
      if (yunzhouvalue>180) or (yunzhouvalue<0) then
      begin
        application.MessageBox('孕周值超出范圍了','提示');
        exit;
      end;
      if (strtoint(toutunlen.Text)>120) or (strtoint(toutunlen.Text)<0) then
      begin
        application.MessageBox('頭臀長值超出范圍了','提示');
        exit;
      end;
      topy := image1.Height-starty-((image1.Height-4-starty*2) * yunzhouvalue div 180) ;
      topx := startx+((image1.Width-6-startx*2) * strtoint(toutunlen.Text) div 120 );          //maxwidth=14  因為從0算起只有十四個分格
      ellipse(topx-5,topy-5,topx+5,topy+5);                                                     //currentXpostion 孕齡
    end;
  end;
  //drawcurrentpostion(image1,18,120,strtoint(toutunlen.Text),strtoint(yunzhou.Text));

end;

procedure TForm1.FormShow(Sender: TObject);
begin
  with image2.Canvas do
  begin
    pen.Color := clblue;
    moveto(4,10);
    lineto(40,10);
    textout(50,6,'95百分點');
    pen.Color := clred;
    moveto(4,30);
    lineto(40,30);
    textout(50,26,'50百分點');
    pen.Color := clgreen;
    moveto(4,50);
    lineto(40,50);
    textout(50,46,'5百分點');
    pen.Color := clFuchsia;
    ellipse(5,70,15,80);
    textout(50,68,'當(dāng)前標(biāo)識點');
    pen.Color := clblue;
    ellipse(5,90,15,100);
    textout(50,88,'冠臀距估算標(biāo)識點');
  end;

end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  adodata.Connected := false;
  adodata.Connected := true;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  drawbackimage(image1,'','孕周(Weeks)','頭臀長CRL(mm)',18,12,10,1,0);
  drawCRLline(image1,'頭臀長CRL(mm)',180,120);
end;

end.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品色婷婷久久58| 欧美α欧美αv大片| 亚洲激情图片小说视频| 91黄视频在线| 午夜精品久久久久久久99樱桃| 欧美日韩国产小视频| 日韩经典中文字幕一区| 欧美xxxxx牲另类人与| 国模少妇一区二区三区| 国产三级一区二区| 在线影视一区二区三区| 日韩av中文在线观看| 精品久久久久99| 99久久精品免费看| 五月天视频一区| 久久久久久久一区| 91福利在线导航| 免费在线视频一区| 国产精品入口麻豆九色| 欧美色视频一区| 国产精品18久久久久久久久久久久 | 亚洲欧美自拍偷拍| 欧美巨大另类极品videosbest| 六月丁香婷婷色狠狠久久| 久久亚洲精华国产精华液| 95精品视频在线| 男人的j进女人的j一区| 中文字幕在线不卡一区| 8x福利精品第一导航| 成人免费观看男女羞羞视频| 亚洲超碰精品一区二区| 欧美极品美女视频| 欧美猛男男办公室激情| 成人一区二区视频| 日本中文一区二区三区| 国产精品三级在线观看| 精品国产三级a在线观看| 91啪亚洲精品| 国产福利91精品| 青青草成人在线观看| 亚洲色图欧美偷拍| 久久久精品国产免大香伊| 欧美日本在线一区| 91在线云播放| 国产福利一区二区三区视频在线 | 蜜臀国产一区二区三区在线播放| 中文字幕精品一区| 日韩免费高清视频| 欧美日韩在线三区| 色先锋aa成人| 成人av在线一区二区| 精品在线亚洲视频| 日本一区中文字幕| 亚洲国产sm捆绑调教视频| 亚洲欧美日韩一区二区三区在线观看| 精品国产乱码久久久久久老虎| 欧美亚洲高清一区| 一本到不卡精品视频在线观看| 国产精品一区二区久久不卡 | 欧美日本在线一区| 91黄色激情网站| 91小视频免费观看| www.日韩av| www.日本不卡| 不卡的av网站| 97久久超碰国产精品| 国内精品写真在线观看| 美腿丝袜亚洲一区| 奇米影视在线99精品| 日本欧美韩国一区三区| 调教+趴+乳夹+国产+精品| 亚洲成人免费影院| 午夜视频久久久久久| 亚洲成av人影院| 香蕉久久夜色精品国产使用方法| 亚洲一区在线观看免费观看电影高清| 亚洲欧美另类在线| 亚洲福利视频三区| 日日夜夜精品免费视频| 日韩av一区二| 久久成人免费日本黄色| 国产九九视频一区二区三区| 国产精品伊人色| 国产69精品一区二区亚洲孕妇 | 美女视频黄 久久| 精品一区二区三区香蕉蜜桃| 久久99国产精品麻豆| 极品少妇一区二区| 国产黄人亚洲片| 成人午夜电影久久影院| 波多野结衣精品在线| 97久久人人超碰| 欧美亚洲高清一区二区三区不卡| 欧美人体做爰大胆视频| 精品美女被调教视频大全网站| 久久久精品天堂| 一区二区三区蜜桃| 视频一区在线播放| 国产福利精品一区| 色悠悠久久综合| 91麻豆精品国产91久久久久久久久 | av在线综合网| 欧美日韩小视频| 久久婷婷国产综合国色天香| 国产网站一区二区| 亚洲制服欧美中文字幕中文字幕| 日韩电影在线观看一区| 国产精品一卡二卡在线观看| 99久久亚洲一区二区三区青草| 欧美视频一区二区| 久久免费午夜影院| 一区二区三区在线视频观看58| 美女视频黄a大片欧美| 波多野结衣精品在线| 在线观看91精品国产麻豆| 国产亚洲精品免费| 亚洲成av人**亚洲成av**| 国产成人午夜精品影院观看视频 | 午夜亚洲国产au精品一区二区| 国产美女在线精品| 欧美三级电影精品| 久久精品视频一区二区| 天堂蜜桃91精品| 波多野结衣中文一区| 91精品国产综合久久久久久漫画| 国产喷白浆一区二区三区| 亚洲v中文字幕| av在线一区二区| 久久午夜色播影院免费高清| 亚洲国产精品久久久久婷婷884| 懂色一区二区三区免费观看 | 色呦呦日韩精品| 国产日韩v精品一区二区| 日韩精品91亚洲二区在线观看| 波波电影院一区二区三区| 精品国产亚洲在线| 婷婷夜色潮精品综合在线| 色综合久久99| 国产精品久久久久一区二区三区| 免费精品视频在线| 欧美伊人久久久久久午夜久久久久| 久久精品亚洲一区二区三区浴池| 天堂va蜜桃一区二区三区| 99久久婷婷国产| 国产精品免费视频观看| 国产一区二区女| 日韩亚洲欧美一区二区三区| 一区二区三区欧美日韩| 99久久精品久久久久久清纯| 久久香蕉国产线看观看99| 日本中文字幕一区| 欧美电影一区二区| 天堂蜜桃91精品| 欧美日韩精品高清| 亚洲午夜电影网| 欧美亚洲国产bt| 亚洲国产成人av| 欧美乱妇20p| 亚洲成人你懂的| 欧美精品在欧美一区二区少妇| 尤物在线观看一区| 欧洲另类一二三四区| 一区二区免费在线播放| 欧美在线观看一区二区| 亚洲精品福利视频网站| 日本道色综合久久| 亚洲一卡二卡三卡四卡五卡| 欧美午夜理伦三级在线观看| 亚洲主播在线播放| 欧美日本国产一区| 日本欧美肥老太交大片| 欧美人牲a欧美精品| 日韩一区欧美二区| 欧美一区二区三区白人| 激情成人综合网| 国产欧美视频一区二区| 99精品视频在线观看免费| 最新欧美精品一区二区三区| 91最新地址在线播放| 亚洲国产一区二区三区青草影视| 欧美三级三级三级| 久久爱www久久做| 久久综合色天天久久综合图片| 国产成人激情av| 樱花影视一区二区| 91精品国产一区二区三区香蕉| 另类小说色综合网站| 久久综合五月天婷婷伊人| 成人av资源网站| 亚洲丰满少妇videoshd| 欧美成人三级电影在线| 国产69精品久久久久777| 国产精品国产精品国产专区不蜜 | 波波电影院一区二区三区| 亚洲卡通欧美制服中文| 欧美精品久久99久久在免费线 | 三级成人在线视频| 久久久亚洲欧洲日产国码αv| 成人免费精品视频| 亚洲成人1区2区|