⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fortint.h

📁 that is a useful book for people who like to learn more about C++.
💻 H
字号:
voidframing_ (Xll, Yll, Xur, Yur)double *Xll, *Yll, *Xur, *Yur;{  Framing (*Xll, *Yll, *Xur, *Yur);}   voidsetfastcolor_ (Color)int *Color;{  SetFastColor (*Color);}void setnamedcolor_ (ColorName)char *ColorName;{  SetNamedColor (ColorName);}voidsetnamedbackground_ (ColorName)char *ColorName;{   SetNamedBackground (ColorName);}voidsetdashlength_(Length)int *Length;{   SetDashLength (*Length);}voidsetlinestyle_(Style)int *Style;{   SetLineStyle(*Style);}setlinewidth_(Width)int *Width;{   SetLineWidth(*Width);}voidsetfillstyle_(style)char *style;{  SetFillStyle(style);}voidsetfont_(FontName, Weight, Orientation, Size)char *FontName, *Weight, *Orientation;int *Size;{   SetFont (FontName, Weight, Orientation, *Size);}voiddraw_ (X1, Y1, X2, Y2)double *X1, *Y1, *X2, *Y2;{   Draw(*X1, *Y1, *X2, *Y2);}void setpoint_ (X, Y)double *X, *Y;{   SetPoint (*X, *Y);}void drawto_ (X, Y)double *X, *Y;{   DrawTo (*X, *Y);}voiddrawrectangle_ (X1, Y1, X2, Y2)double *X1, *Y1, *X2, *Y2;{  DrawRectangle (*X1, *Y1, *X2, *Y2);}voidfillrectangle_ (X1, Y1, X2, Y2)double *X1, *Y1, *X2, *Y2;{  FillRectangle (*X1, *Y1, *X2, *Y2);}void fillpolygon_ (points, npoints)double points[]; int *npoints;{   XPoint *WinPoints;   double UserX, UserY;   int xx, yy;   int i;      if (InitOK == FALSE || FramOK == FALSE)      error ("Sorry, you must call Initplot and Framing before anything else");   if (Output == PSOnly || Output == XAndPS)      fprintf (PSFile, "stroke newpath\n");   if (Output == XOnly || Output == XAndPS)     {       CheckEvent();       WinPoints = (XPoint *) calloc (*npoints, sizeof(XPoint));     }   for (i=0; i<*npoints; i++)     {       UserX = points[i];        UserY = points[i+*npoints];        if (Output == XOnly || Output == XAndPS)         {           User2Win (UserX, UserY, &xx, &yy);            WinPoints[i].x = xx;           WinPoints[i].y = yy;         }       if (Output == PSOnly || Output == XAndPS)         {             UserPSWin (UserX, UserY, &xx, &yy);            if (i==0)              fprintf (PSFile, "%d %d M\n", xx, yy);           else             fprintf (PSFile, "%d %d L\n", xx, yy);         }     }   if (Output == PSOnly || Output == XAndPS)     {       fprintf (PSFile, "CLP gsave 0.00 setgray fill grestore\n");       CheckPathLength(*npoints, xx, yy);     }   if (Output == XOnly || Output == XAndPS)     {       XFillPolygon (display, GraphWin, GraphContext, WinPoints, *npoints,                      Complex, CoordModeOrigin);       XFillPolygon (display, Backup, BackContext, WinPoints, *npoints,                      Complex, CoordModeOrigin);     }   cfree (WinPoints);}voiddrawcircle_(X, Y, Radius)double *X, *Y, *Radius;{   DrawCircle (*X, *Y, *Radius);}voidmoveto_ (X, Y)double *X, *Y;{  MoveTo (*X, *Y);}void writetext_(Text)char *Text;{   WriteText (Text);}voidwritefloat_(Number, TotChar, DecChar)double *Number;int *TotChar, *DecChar;{   WriteFloat(*Number, *TotChar, *DecChar);}voidwriteint_(Number, CharNum)int *Number,*CharNum;{   WriteInt(*Number, *CharNum);}voidputstartbutton_(){  PutStartButton();}voidputstopbutton_(){  PutStopButton();}void initplot_(ColorName, width, height, PSFileName, OutPar)char *ColorName, *PSFileName;unsigned int *width, *height, *OutPar;{   InitPlot (ColorName, *width, *height, PSFileName, *OutPar);}voidnextpage_(){  NextPage();}voidendplot_(){   EndPlot();}/* Interface for HP-UX */voidframing (Xll, Yll, Xur, Yur)double *Xll, *Yll, *Xur, *Yur;{  Framing (*Xll, *Yll, *Xur, *Yur);}   voidsetfastcolor (Color)int *Color;{  SetFastColor (*Color);}void setnamedcolor (ColorName)char *ColorName;{  SetNamedColor (ColorName);}voidsetnamedbackground (ColorName)char *ColorName;{   SetNamedBackground (ColorName);}voidsetdashlength(Length)int *Length;{   SetDashLength (*Length);}voidsetlinestyle(Style)int *Style;{   SetLineStyle(*Style);}setlinewidth(Width)int *Width;{   SetLineWidth(*Width);}voidsetfillstyle(style)char *style;{  SetFillStyle(style);}voidsetfont(FontName, Weight, Orientation, Size)char *FontName, *Weight, *Orientation;int *Size;{   SetFont (FontName, Weight, Orientation, *Size);}voiddraw (X1, Y1, X2, Y2)double *X1, *Y1, *X2, *Y2;{   Draw(*X1, *Y1, *X2, *Y2);}void setpoint (X, Y)double *X, *Y;{   SetPoint (*X, *Y);}void drawto (X, Y)double *X, *Y;{   DrawTo (*X, *Y);}voiddrawrectangle (X1, Y1, X2, Y2)double *X1, *Y1, *X2, *Y2;{  DrawRectangle (*X1, *Y1, *X2, *Y2);}voidfillrectangle (X1, Y1, X2, Y2)double *X1, *Y1, *X2, *Y2;{  FillRectangle (*X1, *Y1, *X2, *Y2);}void fillpolygon (points, npoints)double points[]; int *npoints;{   XPoint *WinPoints;   double UserX, UserY;   int xx, yy;   int i;      if (InitOK == FALSE || FramOK == FALSE)      error ("Sorry, you must call Initplot and Framing before anything else");   if (Output == PSOnly || Output == XAndPS)      fprintf (PSFile, "stroke newpath\n");   if (Output == XOnly || Output == XAndPS)     {       CheckEvent();       WinPoints = (XPoint *) calloc (*npoints, sizeof(XPoint));     }   for (i=0; i<*npoints; i++)     {       UserX = points[i];        UserY = points[i+*npoints];        if (Output == XOnly || Output == XAndPS)         {           User2Win (UserX, UserY, &xx, &yy);            WinPoints[i].x = xx;           WinPoints[i].y = yy;         }       if (Output == PSOnly || Output == XAndPS)         {             UserPSWin (UserX, UserY, &xx, &yy);            if (i==0)              fprintf (PSFile, "%d %d M\n", xx, yy);           else             fprintf (PSFile, "%d %d L\n", xx, yy);         }     }   if (Output == PSOnly || Output == XAndPS)     {       fprintf (PSFile, "CLP gsave 0.00 setgray fill grestore\n");       CheckPathLength(*npoints, xx, yy);     }   if (Output == XOnly || Output == XAndPS)     {       XFillPolygon (display, GraphWin, GraphContext, WinPoints, *npoints,                      Complex, CoordModeOrigin);       XFillPolygon (display, Backup, BackContext, WinPoints, *npoints,                      Complex, CoordModeOrigin);     }   cfree (WinPoints);}voiddrawcircle(X, Y, Radius)double *X, *Y, *Radius;{   DrawCircle (*X, *Y, *Radius);}voidmoveto (X, Y)double *X, *Y;{  MoveTo (*X, *Y);}void writetext(Text)char *Text;{   WriteText (Text);}voidwritefloat(Number, TotChar, DecChar)double *Number;int *TotChar, *DecChar;{   WriteFloat(*Number, *TotChar, *DecChar);}voidwriteint(Number, CharNum)int *Number,*CharNum;{   WriteInt(*Number, *CharNum);}voidputstartbutton(){  PutStartButton();}voidputstopbutton(){  PutStopButton();}void initplot(ColorName, width, height, PSFileName, OutPar)char *ColorName, *PSFileName;unsigned int *width, *height, *OutPar;{   InitPlot (ColorName, *width, *height, PSFileName, *OutPar);}voidnextpage(){  NextPage();}voidendplot(){   EndPlot();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -