12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>wx3, wy3(Input) REAL(8). Window coordinates of start vector.wx4, wy4(Input) REAL(8). Window coordinates of end vector.Results:The result type is INTEGER(2). The result is nonzero if successful; otherwise, 0. If the pie isclipped or partially out of bounds, the pie is considered successfully drawn and the return is 1. Ifthe pie is drawn completely out of bounds, the return is 0.The border of the pie wedge is drawn in the current color set by SETCOLORRGB.The PIE function uses the viewport-coordinate system. The center of the arc is the center of thebounding rectangle, which is specified by the viewport-coordinate points (x1, y1) and (x2, y2). Thearc starts where it intersects an imaginary line extending from the center of the arc through (x3,y3). It is drawn counterclockwise about the center of the arc, ending where it intersects animaginary line extending from the center of the arc through (x4, y4).The PIE_W function uses the window-coordinate system. The center of the arc is the center of thebounding rectangle specified by the window-coordinate points (wx1, wy1) and (wx2, wy2). The arcstarts where it intersects an imaginary line extending from the center of the arc through (wx3,wy3). It is drawn counterclockwise about the center of the arc, ending where it intersects animaginary line extending from the center of the arc through (wx4, wy4).The fill flag option $GFILLINTERIOR is equivalent to a subsequent call to FLOODFILLRGBusing the center of the pie as the starting point and the current graphics color (set bySETCOLORRGB) as the fill color. If you want a fill color different from the boundary color, youcannot use the $GFILLINTERIOR option. Instead, after you have drawn the pie wedge, changethe current color with SETCOLORRGB and then call FLOODFILLRGB. You must supplyFLOODFILLRGB with an interior point in the figure you want to fill. You can get this point forthe last drawn pie or arc by calling GETARCINFO.If you fill the pie with FLOODFILLRGB, the pie must be bordered by a solid line style. Line styleis solid by default and can be changed with SETLINESTYLE.NOTE. The PIE routine described here is a QuickWin routine. If you aretrying to use the Microsoft* Platform SDK version of the Pie routine byincluding the IFWIN module, you need to specify the routine name asMSFWIN$Pie. For more information, see "Special Naming Convention forCertain QuickWin and Win32 Graphics Routines" in your user’s guide.2-246

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!