Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcolorhsv_t.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcolorhsv_t.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcolorhsv_t.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcolorhsv_t.html on line 8

PgColorHSV_t

Hue-saturation-value color value

Synopsis:

typedef struct {
    unsigned short  hue;
    unsigned char   sat, vid;
} PgColorHSV_t;

Description:

The PgColorHSV_t structure describes a hue-saturation-value color. It's used to convert a color defined as red, green, and blue into HSV. It contains at least the following members:

unsigned short hue
Color angle; see PgHSV().
unsigned char sat
Color saturation.
unsigned char vid
Color value, or brightness.

Classification:

Photon

See also:

PgColor_t, PgHSV(), PgHSV2RGB(), PgRGB2HSV()

Color in the Raw Drawing and Animation chapter of the Photon Programmer's Guide


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcolorhsv_t.html on line 96

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgcolorhsv_t.html on line 96