Matrix1 Utility Plug-ins

PACK HSL


Syntax

Packed HSL = PACK HSL ( Hue, Saturation, Luminance )
Packed HSL = PACK HSL ( Alpha, Hue, Saturation, Luminance )

Description

This function will take the values used for the HSL colour and pack them into a DWORD value.

This is a convenience function, and may result in a slight loss of colour resolution when the packed value is used or unpacked.

Alpha, Saturation and Luminance should all be in the range 0.0 to 1.0.
Hue should be in the range 0.0 to 360.0.

Go back to ...

Matrix1Util_23 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011