12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of the Library Routines 2TYPE wxycoordREAL(8) wxREAL(8) wyEND TYPE wxycoordResults:The result type is INTEGER(2). The result is nonzero if anything is drawn; otherwise, 0.A Bezier curve is based on fitting a cubic curve to four points. The first point is the starting point,the next two points are control points, and last point is the ending point. The starting point is thecurrent graphics position as set by MOVETO for the first curve; subsequent curves use the endingpoint of the previous curve as their starting point. So, cpoints should contain 3 for one curve, 6 for2 curves, 9 for 3 curves, and so forth.POLYBEZIERTO moves the current graphics position to the ending point of the last curve drawn.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “POLYBEZIER, POLYBEZIER_W”, “MOVETO, MOVETO_W”ExampleSee the example in “POLYBEZIER, POLYBEZIER_W”.POLYGON, POLYGON_WGraphics Functions: Draw a polygon using the current graphics color, logical write mode, andline style. These functions are only available on Windows* systems.Module: USE IFQWINSyntaxresult = POLYGON (control, ppoints, cpoints)result = POLYGON_W (control, wppoints, cpoints)control(Input) INTEGER(2). Fill flag. One of the following symbolic constants (defined inIFQWIN.F90):• $GFILLINTERIOR – Draws a solid polygon using the current color and fill mask.• $GBORDER – Draws the border of a polygon using the current color and line style.ppoints(Input) Derived type xycoord. Array of derived types defining the polygon vertices in viewportcoordinates. The derived type xycoord is defined in IFQWIN.F90 as follows:2-253

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

Saved successfully!

Ooh no, something went wrong!