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 2NOTE. The GETTEXTCOLOR routine described here is a QuickWin routine.If you are trying to use the Microsoft* Platform SDK version of theGetTextColor routine by including the IFWIN module, you need to specify theroutine name as MSFWIN$GetTextColor. For more information, see "SpecialNaming Convention for Certain QuickWin and Win32 Graphics Routines" inyour user’s guide.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “OUTTEXT”, “REMAPPALETTERGB”, “SETCOLOR”, “SETTEXTCOLOR”GETTEXTCOLORRGBGraphics Function: Returns the Red-Green-Blue (RGB) value of the current text color (usedwith OUTTEXT, WRITE and PRINT). This function is only available on Windows* systems.Module: USE IFQWINSyntaxresult = GETTEXTCOLORRGB ( )Results:The result type is INTEGER(4). It is the RGB value of the current text color.In each RGB color value, each of the three colors, red, green, and blue, is represented by aneight-bit value (2 hex digits). In the value you retrieve with GETTEXTCOLORRGB, red is therightmost byte, followed by green and blue. The RGB value's internal structure is as follows:BitRGB31 (MSB) 24 23 16 15 8 7 0O O O O O O O O B B B B B B B B G G G G G G G G R R R R R R R RLarger numbers correspond to stronger color intensity with binary (hex Z'FF') the maximum foreach of the three components. For example, Z'0000FF' yields full-intensity red, Z'00FF00'full-intensity green, Z'FF0000' full-intensity blue, and Z'FFFFFF' full-intensity for all three,resulting in bright white.2-145

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

Saved successfully!

Ooh no, something went wrong!