bgiRequestedRedF

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.

Example

Example.bam
; No example implemented yet