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>! Show tangent lines! A bezier curve is tangent to the line! from the begin point to the first control! point. It is also tangent to the line from! the second control point to the end point.call moveto_w(1.0+worgx,1.0+worgy,wxy)istat = lineto_w(wlppoints(1).wx,wlppoints(1).wy)call moveto_w(wlppoints(2).wx,wlppoints(2).wy,wxy)istat = lineto_w(wlppoints(3).wx,wlppoints(3).wy)read(*,*)END PROGRAM BezierPOLYBEZIERTO, POLYBEZIERTO_WGraphics Functions: Draw one or more Bezier curves. These functions are only available onWindows* systems.Module: USE IFQWINSyntaxresult = POLYBEZIERTO (ppoints, cpoints)result = POLYBEZIERTO_W (wppoints, cpoints)ppoints(Input) Derived type xycoord. Array of derived types defining the endpoints and the controlpoints for each Bezier curve. The derived type xycoord is defined in IFQWIN.F90 as follows:TYPE xycoordINTEGER(2) xcoordINTEGER(2) ycoordEND TYPE xycoordcpoints(Input) INTEGER(2). Number of points in ppoints or wppoints.wppoints(Input) Derived type wxycoord. Array of derived types defining the endpoints and the controlpoints for each Bezier curve. The derived type wxycoord is defined in IFQWIN.F90 asfollows:2-252

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

Saved successfully!

Ooh no, something went wrong!