function sgn(x:double):longint;
function abs(a,b:double):double;
function abs(a,b,c:double):double;
function arcsin(x:double):double;
function arccos(x:double):double;
function arctan2(x,y:double):double;
function i2s(i:longint):ansistring;
function s2i(s:ansistring):longword;
function as2i(s:ansistring):byte;
function i2hc(i:byte):char;
function hc2i(c:char):byte;
function i2hs(i:byte):ansistring;
function hs2i(s:ansistring):byte;
function as2hs(s:ansistring):ansistring;
function hs2as(s:ansistring):ansistring;
function i2as(i:longword):ansistring;
function i2hs(i:longword):ansistring;
function NewThread(th:pointer):longword;
procedure PauseThread(thi:longword);
procedure ResumeThread(thi:longword);
procedure StopThread(thi:longword);
function MsgBoxW(s,title:unicodestring;i:longword):longword;
function MsgBox(s,title:ansistring;i:longword):longword;
procedure MsgBoxW(s,title:unicodestring);
procedure MsgBox(s,title:ansistring);
procedure MsgBoxW(s:unicodestring);
procedure MsgBox(s:ansistring);
procedure Delay(t:longword);
procedure Delay();
procedure Sound(hz:longword;t:longword);
procedure Sound(hz:longword;t:double);
procedure Sound(hz:longword);
procedure FreshFPS();
procedure AddFPS();
function GetFPSL():longword;
function GetFPSR():double;
function GetFPS():longword;
function GetError():longword;
procedure CreateWin(w,h:longword;cfg,cbg:longword;style:longword);
procedure CreateWin(w,h:longword;cfg,cbg:longword);
procedure CreateWin(w,h:longword;c:longword);
procedure CreateWin(w,h:longword);
procedure CreateWin(cbg:longword);
procedure CreateWin();
procedure FreshWin();
procedure CloseWin();
function IsWin():boolean;
procedure SetDrawProcedure(th:tprocedure);
function GetTimeR():double;
function GetTime():longword;
procedure SetTitle(s:ansistring);
procedure SetTitleW(s:unicodestring);
function GetTitle():ansistring;
function GetTitleW():unicodestring;
procedure SetSize(w,h:longword);
function GetWidth():longword;
function GetHeight():longword;
function GetSize():longword;
function GetScrWidth():longint;
function GetScrHeight():longint;
function GetScrSize():longword;
function GetScrCapsX():double;
function GetScrCapsY():double;
function GetBorderTitle():longint;
function GetBorderWidth():longint;
function GetBorderHeight():longint;
function GetBorderSize():longword;
procedure SetPos(x,y:longword);
function GetPosX():longint;
function GetPosY():longint;
function GetPos():longword;
function GetWin():pbitmap;
function GetScr():pbitmap;
function GetHwnd(b:pbitmap):longword;
function GetHwnd():longword;
function GetDraw(b:pbitmap):longword;
function GetDraw():longword;
function GetBGColor():longword;
procedure SetBGColor(c:longword);
function GetFGColor():longword;
procedure SetFGColor(c:longword);
procedure SetPenWidth(pew:longword);
procedure SetPenColor(b:pbitmap;c:longword);
procedure SetPenColor(c:longword);
procedure SetBrushColor(b:pbitmap;c:longword);
procedure SetBrushColor(c:longword);
function GetAlpha(c:longword):byte;
function GetBlue(c:longword):byte;
function GetGreen(c:longword):byte;
function GetRed(c:longword):byte;
function GetRGBA(r,g,b,a:byte):longword;
function GetRGB(r,g,b:byte):longword;
function RGB2HSL(rgb:longword):longword;
function RGB2HSV(rgb:longword):longword;
function RGB2HSI(rgb:longword):longword;
function RGB2HSN(rgb:longword):longword;
function HSL2RGB(hsn:longword):longword;
function HSV2RGB(hsn:longword):longword;
function HSI2RGB(hsn:longword):longword;
function HSN2RGB(hsn:longword):longword;
procedure MixColor(rgb1,rgb2:longword;var rgb3:longword;m:double);
procedure MixColor(rgb1,rgb2:longword;var rgb3:longword);
procedure SetFont(b:pbitmap);
procedure SetFont();
procedure SetFontWidth(w:longword);
procedure SetFontHeight(h:longword);
procedure SetFontSize(w,h:longword);
procedure SetFontWeight(wg:longword);
procedure SetFontLtalic(lt:longword);
procedure SetFontUnderLine(ud:longword);
procedure SetFontStrikeOut(sk:longword);
procedure SetFontCharSet(cs:longword);
procedure SetFontName(s:ansistring);
procedure GetStringSize(s:ansistring);
function GetStringWidth(s:ansistring):longword;
function GetStringHeight(s:ansistring):longword;
procedure DrawTextXY(b:pbitmap;s:ansistring;x,y:longint;w,h:longword;cfg,cbg:longword);
procedure DrawTextXY(b:pbitmap;s:ansistring;x,y:longint;cfg,cbg:longword);
procedure DrawTextXY(b:pbitmap;s:ansistring;x,y:longint;cfg:longword);
procedure DrawTextXY(s:ansistring;x,y:longint;cfg,cbg:longword);
procedure DrawTextXY(s:ansistring;x,y:longint;cfg:longword);
procedure DrawTextXY(s:ansistring;x,y:longword);
procedure DrawText(s:ansistring;cfg,cbg:longword);
procedure DrawText(s:ansistring;cfg:longword);
procedure DrawText(s:ansistring);
procedure DrawTextlnXY(s:ansistring;x,y:longint;cfg,cbg:longword);
procedure DrawTextlnXY(s:ansistring;x,y:longint;cfg:longword);
procedure DrawTextlnXY(s:ansistring;x,y:longword);
procedure DrawTextln(s:ansistring;cfg,cbg:longword);
procedure DrawTextln(s:ansistring;cfg:longword);
procedure DrawTextln(s:ansistring);
procedure DrawTextln();
procedure DrawTextXYw(b:pbitmap;s:ansistring;x,y:longint;cfg,cbg:longword);
procedure DrawTextXYw(b:pbitmap;s:ansistring;x,y:longint;cfg:longword);
procedure DrawTextXYw(s:ansistring;x,y:longint;cfg,cbg:longword);
procedure DrawTextXYw(s:ansistring;x,y:longint;cfg:longword);
procedure DrawTextXYw(s:ansistring;x,y:longword);
procedure DrawTextw(s:ansistring;cfg,cbg:longword);
procedure DrawTextw(s:ansistring;cfg:longword);
procedure DrawTextw(s:ansistring);
procedure DrawTextlnXYw(s:ansistring;x,y:longint;cfg,cbg:longword);
procedure DrawTextlnXYw(s:ansistring;x,y:longint;cfg:longword);
procedure DrawTextlnXYw(s:ansistring;x,y:longword);
procedure DrawTextlnw(s:ansistring;cfg,cbg:longword);
procedure DrawTextlnw(s:ansistring;cfg:longword);
procedure DrawTextlnw(s:ansistring);
function GetPixel(b:pbitmap;x,y:longword):longword;
function GetPixel(x,y:longword):longword;
procedure SetPixel(b:pbitmap;x,y:longword;c:longword);
procedure SetPixel(x,y:longword;c:longword);
procedure SetPixel(x,y:longword);
function GetBBPixel(bb:pbitbuf;x,y:longword):longword;
procedure SetBBPixel(bb:pbitbuf;x,y,c:longword);
procedure Line(b:pbitmap;x,y,w,h:longint;c:longword);
procedure Line(x,y,w,h:longint;c:longword);
procedure Line(x,y,w,h:longint);
procedure Bar(b:pbitmap;x,y,w,h:longint;cfg,cbg:longword);
procedure Bar(x,y,w,h:longint;cfg,cbg:longword);
procedure Bar(x,y,w,h:longint;c:longword);
procedure Bar(x,y,w,h:longint);
procedure Clear(b:pbitmap;c:longword);
procedure Clear(b:pbitmap);
procedure Clear(c:longword);
procedure Clear();
procedure Triangle(b:pbitmap;x1,y1,x2,y2,x3,y3:longint;cfg,cbg:longword);
procedure Triangle(x1,y1,x2,y2,x3,y3:longint;cfg,cbg:longword);
procedure Triangle(x1,y1,x2,y2,x3,y3:longint;c:longword);
procedure Triangle(x1,y1,x2,y2,x3,y3:longint);
procedure Arc(b:pbitmap;x,y,rx,ry:longint;sa,ea:double;cfg,cbg:longword);
procedure Arc(x,y,rx,ry:longint;sa,ea:double;cfg,cbg:longword);
procedure Arc(x,y,rx,ry:longint;sa,ea:double;c:longword);
procedure Arc(x,y,rx,ry:longint;sa,ea:double);
procedure Pie(b:pbitmap;x,y,rx,ry:longint;sa,ea:double;cfg,cbg:longword);
procedure Pie(x,y,rx,ry:longint;sa,ea:double;cfg,cbg:longword);
procedure Pie(x,y,rx,ry:longint;sa,ea:double;c:longword);
procedure Pie(x,y,rx,ry:longint;sa,ea:double);
procedure Chord(b:pbitmap;x,y,rx,ry:longint;sa,ea:double;cfg,cbg:longword);
procedure Chord(x,y,rx,ry:longint;sa,ea:double;cfg,cbg:longword);
procedure Chord(x,y,rx,ry:longint;sa,ea:double;c:longword);
procedure Chord(x,y,rx,ry:longint;sa,ea:double);
procedure Ellipse(b:pbitmap;x,y,rx,ry:longint;cfg,cbg:longword);
procedure Ellipse(x,y,rx,ry:longint;cfg,cbg:longword);
procedure Ellipse(x,y,rx,ry:longint;c:longword);
procedure Ellipse(x,y,rx,ry:longint);
procedure Circle(b:pbitmap;x,y,r:longint;cfg,cbg:longword);
procedure Circle(x,y,r:longint;cfg,cbg:longword);
procedure Circle(x,y,r:longint;c:longword);
procedure Circle(x,y,r:longint);
function CreateBMP(b:pbitmap;w,h:longword;c:longword):pbitmap;
function CreateBMP(b:pbitmap):pbitmap;
function CreateBMP(w,h:longword;c:longword):pbitmap;
function CreateBMP(w,h:longword):pbitmap;
function CreateBMP():pbitmap;
procedure ReleaseBMP(b:pbitmap);
procedure ReleaseBMP();
function LoadBMP(s:ansistring;c:longword):pbitmap;
function LoadBMP(s:ansistring):pbitmap;
procedure SaveBMP(b:pbitmap;s:ansistring);
procedure DrawBMP(bs,bd:pbitmap;xs,ys,ws,hs,xd,yd,wd,hd:longword;c:longword);
procedure DrawBMP(bs,bd:pbitmap;xs,ys,ws,hs,xd,yd,wd,hd:longword);
procedure DrawBMP(bs,bd:pbitmap;xs,ys,xd,yd,w,h:longword;c:longword);
procedure DrawBMP(bs,bd:pbitmap;xs,ys,xd,yd,w,h:longword);
procedure DrawBMP(bs,bd:pbitmap;xd,yd,wd,hd:longword;c:longword);
procedure DrawBMP(bs,bd:pbitmap;xd,yd,wd,hd:longword);
procedure DrawBMP(bs,bd:pbitmap;xd,yd:longword;c:longword);
procedure DrawBMP(bs,bd:pbitmap;xd,yd:longword);
procedure DrawBMP(bs,bd:pbitmap;c:longword);
procedure DrawBMP(bs,bd:pbitmap);
procedure DrawBMP(bs:pbitmap;xs,ys,ws,hs,xd,yd,wd,hd:longword;c:longword);
procedure DrawBMP(bs:pbitmap;xs,ys,ws,hs,xd,yd,wd,hd:longword);
procedure DrawBMP(bs:pbitmap;xs,ys,xd,yd,w,h:longword;c:longword);
procedure DrawBMP(bs:pbitmap;xs,ys,xd,yd,w,h:longword);
procedure DrawBMP(bs:pbitmap;xd,yd,wd,hd:longword;c:longword);
procedure DrawBMP(bs:pbitmap;xd,yd,wd,hd:longword);
procedure DrawBMP(bs:pbitmap;xd,yd:longword;c:longword);
procedure DrawBMP(bs:pbitmap;xd,yd:longword);
procedure DrawBMP(bs:pbitmap;c:longword);
procedure DrawBMP(bs:pbitmap);
procedure DrawBMP(xs,ys,ws,hs,xd,yd,wd,hd:longword;c:longword);
procedure DrawBMP(xs,ys,ws,hs,xd,yd,wd,hd:longword);
procedure DrawBMP(xs,ys,xd,yd,w,h:longword;c:longword);
procedure DrawBMP(xs,ys,xd,yd,w,h:longword);
procedure DrawBMP(xd,yd,wd,hd:longword;c:longword);
procedure DrawBMP(xd,yd,wd,hd:longword);
procedure DrawBMP(xd,yd:longword;c:longword);
procedure DrawBMP(xd,yd:longword);
procedure DrawBMP(c:longword);
procedure DrawBMP();
procedure MixBMP(b1,b2:pbitmap;var b3:pbitmap);
procedure BlurBMPBox(b:pbitmap;d:longword;n:longword);
procedure BlurBMPBox(b:pbitmap;d:longword);
procedure BlurBMPGau(b:pbitmap;d:double);
function CreateBB(b:pbitmap):pbitbuf;
procedure ReleaseBB(bb:pbitbuf);
procedure GetBB(bb:pbitbuf);
procedure SetBB(bb:pbitbuf);
procedure MixBB(bb1,bb2:pbitbuf;var bb3:pbitbuf);
procedure BlurBBBox(bb:pbitbuf;d:longword;n:longword);
procedure BlurBBGau(bb:pbitbuf;d:double);
procedure PressKey(k:byte;t:longword);
procedure PressKey(k:byte);
procedure DownKey(k:byte);
procedure UpKey(k:byte);
procedure PressMouse(m:byte;t:longword);
procedure PressMouse(m:byte);
procedure DownMouse(m:byte);
procedure UpMouse(m:byte);
procedure WheelMouse(wl:longint);
procedure MoveMouse(x,y:longint);
procedure MoveMouseAbs(x,y:longint);
procedure MoveMouseWin(x,y:longint);
procedure MoveMousePos(x,y:longint);
procedure SendMsg();
function IsNextMsg():boolean;
function GetNextMsg():longword;
function WaitNextMsg():longword;
function IsMsg(uM:longword):boolean;
function GetMsg(uM:longword):int64;
function WaitMsg(uM:longword):int64;
function IsKey(k:longword):boolean;
function IsKey():boolean;
function GetKey():longword;
function WaitKey(k:longword):longword;
function WaitKey():longword;
function IsMouse(m:longword):boolean;
function IsMouse():boolean;
function GetMouse():longword;
function WaitMouse(m:longword):longword;
function WaitMouse():longword;
function IsMouseLeft():boolean;
procedure WaitMouseLeft();
function IsMouseMiddle():boolean;
procedure WaitMouseMiddle();
function IsMouseRight():boolean;
procedure WaitMouseRight();
function IsMouseWheel():boolean;
function GetMouseWheel():longint;
procedure WaitMouseWheel();
function IsMouseMove():boolean;
function GetMouseMove():longword;
function WaitMouseMove():longword;
function IsDropFile():boolean;
function GetDropFile():ansistring;
function GetDropFileW():unicodestring;
function WaitDropFile():ansistring;
function GetMouseAbsX():longint;
function GetMouseAbsY():longint;
function GetMouseWinX():longint;
function GetMouseWinY():longint;
function GetMousePosX():longint;
function GetMousePosY():longint;
function LoadAudio(s:ansistring):longword;
procedure PlayAudio(id:longword;s:ansistring;b:boolean);
procedure PlayAudio(id:longword;s:ansistring);
procedure PlayAudio(id:longword;b:boolean);
procedure PlayAudio(id:longword);
procedure StopAudio(id:longword);
procedure PauseAudio(id:longword);
procedure ResumeAudio(id:longword);
procedure ReleaseAudio(id:longword);
function GetAudioVol(id:longword):longword;
procedure SetAudioVol(id:longword;v:longword);
function GetAudioPos(id:longword):longword;
procedure SetAudioPos(id:longword;pos:longword;b:boolean);
procedure SetAudioPos(id:longword;pos:longword);
function GetAudioLen(id:longword):longword;
function IsFile(s:ansistring):boolean;
function NewFile(s:ansistring):boolean;
function NewDir(s:ansistring):boolean;
function CopyFile(src,des:ansistring):boolean;
function MoveFile(src,des:ansistring):boolean;
function DeleteFile(s:ansistring):boolean;
procedure OpenFile(s:ansistring);
procedure OpenFileW(s:unicodestring);
procedure CloseFile();
function GetFileLen():longword;
function GetFilePos():longword;
procedure SetFilePos(pos:longword);
function GetByte():byte;
function GetWord():word;
function GetLongword():longword;
function GetInteger():longword;
function GetPchar():pchar;
function GetString(len:longword):ansistring;