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.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>x, y(Input) INTEGER(2). Viewport coordinates for pixel position.wx, wy(Input) REAL(8). Window coordinates for pixel position.Results:The result type is INTEGER(2). The result is the pixel color index if successful; otherwise, –1 (forexample, if the pixel lies outside the clipping region).Color routines without the RGB suffix, such as GETPIXEL, use color indexes, not true colorvalues, and limit you to colors in the palette, at most 256. To access all system colors, useSETPIXELRGB to specify an explicit Red-Green-Blue value and retrieve the value withGETPIXELRGB.NOTE. The GETPIXEL routine described here is a QuickWin routine. If youare trying to use the Microsoft* Platform SDK version of the GetPixel routineby including the IFWIN module, you need to specify the routine name asMSFWIN$GetPixel. For more information, see "Special Naming Conventionfor Certain QuickWin and Win32 Graphics Routines" in your user’s guide.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “GETPIXELRGB, GETPIXELRGB_W”, “GRSTATUS”, “REMAPPALETTERGB”,“REMAPALLPALETTERGB”, “SETCOLOR”, “GETPIXELS”, “SETPIXEL, SETPIXEL_W”GETPIXELRGB, GETPIXELRGB_WGraphics Functions: Return the Red-Green-Blue (RGB) color value of the pixel at a specifiedlocation. These functions are only available on Windows* systems.Module: USE IFQWINSyntaxresult = GETPIXELRGB (x, y)result = GETPIXELRGB_W (wx, wy)x, y(Input) INTEGER(2). Viewport coordinates for pixel position.2-136

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

Saved successfully!

Ooh no, something went wrong!