Returns the red component (0.0-1.0) from the last color or font dialog.
Takes no parameters.
Returns the value of global variable requestedRedF cast to double.
BGI GUI
Parameters & Returns
Parameters
This function takes no parameters.
Returns
Double
Quick Summary
Returns the red component (0.0-1.0) from the last color or font dialog.
Takes no parameters.
Returns the value of global variable requestedRedF cast to double.
Technical Exegesis...
Returns the red component (0.0-1.0) from the last color or font dialog. Returns the value of global variable requestedRedF cast to double. This value is set by bgiOpenColourDialog() or bgiOpenFontDialog() by dividing the 0-255 value by 255. Range is 0.0-1.0 (normalized float).
This function retrieves the normalized float red component of the most recently selected color. The requestedRedF global is calculated as (red/255) whenever bgiOpenColourDialog() or bgiOpenFontDialog() completes successfully.
Returns the red component (0.0-1.0) from the last color or font dialog. Returns the value of global variable requestedRedF cast to double. This value is set by bgiOpenColourDialog() or bgiOpenFontDialog() by dividing the 0-255 value by 255. Range is 0.0-1.0 (normalized float).
This function retrieves the normalized float red component of the most recently selected color. The requestedRedF global is calculated as (red/255) whenever bgiOpenColourDialog() or bgiOpenFontDialog() completes successfully. Font dialogs also set color for text color selection. Use for graphics APIs that expect normalized RGB values (0.0-1.0 range). For standard 0-255 byte values, use bgiRequestedRed() instead.