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
Hue-saturation-value color value
typedef struct {
unsigned short hue;
unsigned char sat, vid;
} PgColorHSV_t;
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.
Photon
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