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

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

?? main.pas

?? 根據(jù)定制的數(shù)據(jù)繪圖形,可以繪制胎兒生長(zhǎng)曲線,或股票走執(zhí)曲線圖
?? PAS
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
unit main;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ExtCtrls, DB, ADODB;

const
    startx = 40;
    startY = 40;

type
  TForm1 = class(TForm)
    Image1: TImage;
    Button3: TButton;
    shuangdinglen: TEdit;
    Label1: TLabel;
    fulen: TEdit;
    Label2: TLabel;
    gugulen: TEdit;
    Label3: TLabel;
    Button5: TButton;
    Label4: TLabel;
    cbleixing: TComboBox;
    Label5: TLabel;
    yunzhou: TEdit;
    Label6: TLabel;
    Image2: TImage;
    ADOdata: TADOConnection;
    adoqry: TADOQuery;
    Image3: TImage;
    Image4: TImage;
    Image5: TImage;
    Label7: TLabel;
    gonggulen: TEdit;
    cbnetgrid: TCheckBox;
    cbstandline: TCheckBox;
    Button1: TButton;
    Label8: TLabel;
    toutunlen: TEdit;
    procedure Button3Click(Sender: TObject);
    procedure Button5Click(Sender: TObject);
    procedure FormShow(Sender: TObject);
    procedure FormCreate(Sender: TObject);
    procedure Button1Click(Sender: TObject);
                            //參數(shù)說(shuō)明:  1.繪圖的母體 2.曲線類型名3.橫坐標(biāo)4.縱坐標(biāo)5.行數(shù)6.列數(shù)7.橫寬8.列寬9.橫坐標(biāo)初始值
    Function  drawbackimage(tempbmp:Timage;itemname,itemXvalue,itemYvalue:string;rowsnumber,colsnumber,rowwidth,colwidth,tempvalue:integer):boolean;   //網(wǎng)格
    Function  drawstandline(tempbmp:Timage;itemname:string;maxheight,maxwidth:integer):boolean;          //曲線
    Function  drawcurrentpostion(tempbmp:Timage;maxheight,maxwidth,currentXpostion,currentYpostion:integer):boolean;
    Function  drawCRLline(tempbmp:timage;itemname:string;maxheight,maxwidth:integer):boolean;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}


Function  Tform1.drawbackimage(tempbmp:Timage;itemname,itemXvalue,itemYvalue:string;rowsnumber,colsnumber,rowwidth,colwidth,tempvalue:integer):boolean;
var rows,cols,itemheight,itemwidth,tempwidth:integer;
    textrow,textcol:string;
    i : integer;
begin
    rows := rowsnumber;
    cols := colsnumber;
    itemheight := colwidth;        //橫間距
    itemwidth  := rowwidth;        //列間距
    textcol    := itemXvalue;
    textrow    := itemYvalue;
    tempwidth  := tempvalue;
  with tempbmp.Canvas do
  begin
    pen.Color   := clwhite;
    brush.Color := clwhite;
    Rectangle(0,0,tempbmp.Width,tempbmp.Height);

    pen.Width := 2;
    pen.Color := clblack;
    moveto(startx,starty);
    lineto(startx,tempbmp.Height-starty);
    lineto(tempbmp.width-startx,tempbmp.Height-starty);

    pen.Width := 1;
    lineto(tempbmp.width-startx,starty);
    lineto(startx,starty);

    pen.Color := $00E1E1E1;
    for i :=0 to rows do
    begin
      moveto(startx,tempbmp.Height-startx-((tempbmp.height-4-startx*2)* i div rows) );
      if cbnetgrid.Checked then
      lineto(tempbmp.Width-startx,tempbmp.Height-starty-((tempbmp.Height-4-starty*2)* i div rows) );
      textout(startx div 2-5,tempbmp.Height-starty-((tempbmp.Height-4-startx*2)* i div rows) -5,inttoSTR(i * itemheight));
    end;

    for i:= 0 to cols do
    begin
      moveto(startx+((tempbmp.Width-6-startx*2)* i div cols),starty+1);
      if cbnetgrid.Checked then
      lineto(startx+((tempbmp.Width-6-startx*2)* i div cols),tempbmp.Height-starty-1);
      textout(startx+((tempbmp.Width-6-startx*2)* i div cols)-5,tempbmp.Height-starty + 5,inttostr((tempwidth+i)*itemwidth));
    end;
    //畫(huà)文字
    pen.Color := clblack;
    Font.Size := 9;
    TextOut((tempbmp.Width - 40) div 2 ,tempbmp.Height-starty div 2,textrow);
    //Font.Name := '隸書(shū)';
    TextOut(startx div 2,starty -20,textcol);
  end;
  result := true;
end;
                              //繪圖母體,曲線名,高度最大值  ,寬度最大值
Function  Tform1.drawstandline(tempbmp:Timage;itemname:string;maxheight,maxwidth:integer):boolean;
var currentXvalue,currentYvalue,topx,topy:integer;
    rowmaxvalue,colmaxvalue,colsmaxcount:integer;
    currentitemname:string;
    i : integer;
    tempvalue : array[1..30,1..2] of integer;
begin
  tempbmp.Canvas.Pen.Width := 1;
  currentitemname := itemname;      //曲線名,也是字段值
  rowmaxvalue     := maxheight;
  colmaxvalue     := maxwidth;
  with adoqry do
  begin
    active := false;
    sql.Clear;
    sql.Add('select * from itemvalue where itemname='+''''+currentitemname+''''+' and itemvalue='+''''+'tou_5'+'''');
    active := true;
    first;
    if eof then
    begin
      application.MessageBox('沒(méi)找到相關(guān)曲線參數(shù),請(qǐng)?jiān)O(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+((tempbmp.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  := clgreen;
    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;

  with adoqry do
  begin
    active := false;
    sql.Clear;
    sql.Add('select * from itemvalue where itemname='+''''+currentitemname+''''+' and itemvalue='+''''+'tou_50'+'''');
    active := true;
    first;
    if eof then
    begin
      application.MessageBox('沒(méi)找到相關(guān)曲線參數(shù),請(qǐng)?jiān)O(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+((tempbmp.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  := 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]) ]);
  end;

  with adoqry do
  begin
    active := false;
    sql.Clear;
    sql.Add('select * from itemvalue where itemname='+''''+currentitemname+''''+' and itemvalue='+''''+'tou_95'+'''');

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品一区二区蜜臀亚洲| 久久综合五月天婷婷伊人| 日韩va亚洲va欧美va久久| 精品久久久久香蕉网| 成人免费视频一区二区| 亚洲一区二区三区三| 欧美变态tickle挠乳网站| 久久成人精品无人区| 久久久99精品免费观看不卡| 色婷婷综合久久久中文一区二区| 美女视频黄久久| 尤物av一区二区| 久久久久成人黄色影片| 欧美性受极品xxxx喷水| 国产二区国产一区在线观看| 天使萌一区二区三区免费观看| 国产欧美日韩视频一区二区| 欧美精品在欧美一区二区少妇| av一区二区三区黑人| 精品影院一区二区久久久| 日本一区二区成人在线| 欧美人成免费网站| 99久久精品国产一区| 国产一区二区在线影院| 亚洲一区电影777| 欧美激情一区二区三区蜜桃视频| 欧美乱妇15p| 91黄视频在线观看| 成人v精品蜜桃久久一区| 久久成人羞羞网站| 亚洲人精品午夜| 久久久久久**毛片大全| 欧美美女直播网站| 色婷婷激情久久| www.欧美色图| 成人黄色小视频| 国产真实乱偷精品视频免| 天堂精品中文字幕在线| 夜夜亚洲天天久久| 亚洲欧美视频一区| 日本一区二区视频在线观看| 欧美电视剧在线看免费| 欧美剧在线免费观看网站 | 国产偷国产偷精品高清尤物| 3751色影院一区二区三区| 一本到高清视频免费精品| 成人中文字幕在线| 国产精品中文有码| 国产一区二区不卡老阿姨| 麻豆精品一二三| 五月天久久比比资源色| 亚洲国产精品久久久久婷婷884| 亚洲四区在线观看| 综合久久给合久久狠狠狠97色| 久久久精品人体av艺术| 欧美高清精品3d| 91香蕉视频在线| 91理论电影在线观看| 97成人超碰视| 在线免费亚洲电影| 欧美亚洲动漫精品| 欧美日韩成人综合在线一区二区| 欧美日韩极品在线观看一区| 欧美日韩一区二区三区视频| 不卡一区在线观看| 国产成人啪午夜精品网站男同| 国产精品资源在线看| 成人国产精品免费观看| 91小视频免费观看| 欧美伊人久久久久久久久影院 | 视频一区在线视频| 日韩高清电影一区| 狠狠狠色丁香婷婷综合激情| 国产精品中文有码| 99re6这里只有精品视频在线观看| 91欧美一区二区| 欧洲国内综合视频| 欧美一区二区三区播放老司机| 91.xcao| 欧美一区二区三区视频在线| 精品少妇一区二区三区在线视频| 久久午夜免费电影| 中文字幕一区日韩精品欧美| 一区二区三区久久| 美女精品自拍一二三四| 亚洲成在人线免费| 久久av老司机精品网站导航| 国产精品99久久久| 欧美性猛交xxxx黑人交| 欧美变态凌虐bdsm| 亚洲欧美日韩久久精品| 日韩va亚洲va欧美va久久| 粉嫩av一区二区三区| 欧洲视频一区二区| 久久尤物电影视频在线观看| 成人免费一区二区三区视频 | 麻豆精品国产传媒mv男同| 国产精品伊人色| 欧美在线999| 国产午夜亚洲精品理论片色戒| 亚洲老司机在线| 蜜臀va亚洲va欧美va天堂| 不卡一区二区中文字幕| 日韩一区二区精品在线观看| 国产精品嫩草99a| 舔着乳尖日韩一区| kk眼镜猥琐国模调教系列一区二区| 欧美视频在线一区二区三区 | 成人一区二区三区在线观看| 色婷婷狠狠综合| 久久在线观看免费| 亚洲第一激情av| 国产91精品精华液一区二区三区| 日本高清不卡aⅴ免费网站| 欧美成人精品高清在线播放| 国产精品国产a| 激情亚洲综合在线| 88在线观看91蜜桃国自产| 亚洲欧洲国产专区| 国产精品123区| 日韩视频永久免费| 亚洲韩国一区二区三区| 99久久99久久精品免费观看 | 综合网在线视频| 韩国一区二区视频| 色久综合一二码| 欧美激情一区二区三区蜜桃视频 | 亚洲精品国产成人久久av盗摄| 精品一区二区日韩| 欧美一级生活片| 亚洲色图制服诱惑| 另类小说欧美激情| 欧美日韩美少妇| 亚洲综合一区二区三区| 波多野结衣在线aⅴ中文字幕不卡| 精品国产露脸精彩对白| 日韩精品一卡二卡三卡四卡无卡| 成人亚洲精品久久久久软件| 欧美日韩久久久久久| 亚洲狠狠爱一区二区三区| 91亚洲精华国产精华精华液| 国产精品久久久久久久久免费樱桃 | 日本韩国视频一区二区| 国产精品无圣光一区二区| 成人午夜看片网址| 亚洲特黄一级片| 欧美在线观看一二区| 婷婷国产在线综合| 精品日韩一区二区| 国产超碰在线一区| 亚洲美女区一区| 91麻豆精品国产91久久久久| 日韩电影一二三区| 久久精品综合网| 一本久道久久综合中文字幕| 午夜精品久久久久久久| 欧美成人综合网站| 成人激情av网| 亚洲成人av资源| 久久一日本道色综合| 97精品久久久午夜一区二区三区| 亚洲高清一区二区三区| 欧美电视剧免费全集观看| 成人久久视频在线观看| 亚洲国产综合91精品麻豆| 精品国产免费人成在线观看| zzijzzij亚洲日本少妇熟睡| 亚洲成人综合网站| 久久精品一区四区| 精品视频在线免费| 国产91精品在线观看| 亚洲香肠在线观看| 国产无遮挡一区二区三区毛片日本| 91年精品国产| 精品亚洲成a人在线观看| 亚洲猫色日本管| 精品国产乱码久久久久久浪潮| 97久久精品人人爽人人爽蜜臀| 奇米综合一区二区三区精品视频 | 国产日本欧洲亚洲| 欧美日韩综合在线免费观看| 国产精品影视在线| 午夜国产不卡在线观看视频| 久久久久久久久伊人| 欧美嫩在线观看| 97精品国产97久久久久久久久久久久 | 色欧美日韩亚洲| 国产一区欧美一区| 天天色综合天天| 亚洲日本电影在线| 久久久久久麻豆| 欧美日韩久久久一区| 不卡影院免费观看| 国产乱国产乱300精品| 日韩av电影一区| 综合色中文字幕| 26uuu亚洲综合色| 欧美精品一二三区| 色婷婷久久久亚洲一区二区三区 | 91美女精品福利|