From 4b1f7b27e3affdbc8b457de595a239f24d4022cb Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Tue, 10 Aug 2010 14:29:45 +0200 Subject: docs: updated docs for fpg_colormapping.pas unit. Not all fpdoc output writers document the parameters of methods. So instead of add the documentation of those parameters as part of the Method help. --- docs/xml/gui/fpg_colormapping.xml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'docs') diff --git a/docs/xml/gui/fpg_colormapping.xml b/docs/xml/gui/fpg_colormapping.xml index b833acf1..0a88ca1e 100644 --- a/docs/xml/gui/fpg_colormapping.xml +++ b/docs/xml/gui/fpg_colormapping.xml @@ -6,25 +6,24 @@ Map RGB colorspace to HSV colorspace. - This function converts a RGB (Red, Green, Blue) colorspace value to HSV (Hue, Saturation, Value) colorspace. The parameters have specific value ranges. Please see the parameter documentation for more details. +

This function converts a RGB (Red, Green, Blue) colorspace value to +HSV (Hue, Saturation, Value) colorspace. The parameters have specific value ranges as +listed below.

+
+
Hue
+
The Hue range is from 0 - 1535. In that range, the primary colors are mapped to the following values. Red = 0. Green = 512 and Blue = 1024.
+
Saturation
+
The Saturation value range is from 0.0 - 1.0. Grey (no color) = 0. Maximum color = 1.0.
+
Value
+
The Value value range is from 0.0 to 1.0. Black being 0 and maximum brightness being 1.0.
+
+
Map HSV colorspace to RGB colorspace. - - - Returned Hue value - The Hue range is from 0 - 1535. In that range, the primary colors are mapped to the following values. Red = 0. Green = 512 and Blue = 1024. - - - Returned Saturation value. - The Saturation value range is from 0.0 - 1.0. Grey (no color) = 0. Maximum color = 1.0. - - - Returned Value value. - The Value value range is from 0.0 to 1.0. Black being 0 and maximum brightness being 1.0. - - - Hue value + + + -- cgit v1.2.3-54-g00ecf