Showing changes from revision #4 to #5:
Added | Removed | Changed
Entry | |
---|---|
R0 | Hue (0 – 360) |
R1 | Saturation |
R2 | Value |
Exit | |
---|---|
R0 | Red component |
R1 | Green component |
R2 | Blue component |
The purpose of this call is to convert the colour passed as CMYK values to RGB values.
The parameters passed are fixed point 32-bit numbers. The lower 16 bits (0 – 15) are used below the decimal point, and the upper 16 bits above the decimal point.
Hue values range from 0 – 360 (without any fractional element).
Saturation and Value values range from 0 – 1 (including any fractional element).
Red, Green and Blue values returned are in the range 0 – 1.
An error will be generated if both the hue and saturation are both 0.