aboutsummaryrefslogtreecommitdiffstats
path: root/LIBCOLOUR_YCGCO.7
diff options
context:
space:
mode:
Diffstat (limited to 'LIBCOLOUR_YCGCO.7')
-rw-r--r--LIBCOLOUR_YCGCO.761
1 files changed, 61 insertions, 0 deletions
diff --git a/LIBCOLOUR_YCGCO.7 b/LIBCOLOUR_YCGCO.7
new file mode 100644
index 0000000..095cb0a
--- /dev/null
+++ b/LIBCOLOUR_YCGCO.7
@@ -0,0 +1,61 @@
+.TH LIBCOLOUR_YCGCO 7 libcolour
+.SH NAME
+LIBCOLOUR_YCGCO - YCgCo
+.SH DESCRIPTION
+YCgCo colours are presented with either of
+.nf
+
+ \fBtypedef struct libcolour_ycgco_f libcolour_ycgco_f_t;\fP
+ \fBtypedef struct libcolour_ycgco_lf libcolour_ycgco_lf_t;\fP
+ \fBtypedef struct libcolour_ycgco_llf libcolour_ycgco_llf_t;\fP
+
+.fi
+These
+.BR struct s
+use
+.BR float ,
+.BR double ,
+and
+.BR long\ double ,
+respecitively, for the values stored in them,
+and are otherwise identical.
+.B struct libcolour_ycgco_f
+is defined as
+.nf
+
+ \fBstruct libcolour_ycgco_f {\fP
+ \fBenum libcolour_model\fP \fImodel\fP\fB;\fP
+ \fBfloat\fP \fIY\fP\fB;\fP
+ \fBfloat\fP \fICg\fP\fB;\fP
+ \fBfloat\fP \fICo\fP\fB;\fP
+ \fB};\fP
+
+.fi
+.I .model
+shall be set to
+.BR LIBCOLOUR_YCGCO .
+In
+.BR union\ libcolour_colour_f ,
+.BR union\ libcolour_colour_lf ,
+and
+.BR union\ libcolour_colour_llf ,
+.I .ycgco
+is used for YCgCo colours.
+.P
+.IR .Y ,
+.IR .Cg ,
+and
+.I .Co
+hold the Y (luma), Cg (chrominance green), and
+Co (chrominance orange) values, respectively.
+.P
+Y is 0 in black and 1 in white.
+.P
+YCgCo is additive, since it is linearly isomorphic
+to CIE 1931 XYZ. It's white point is the
+CIE Standard Illuminant D65.
+.SH SEE ALSO
+.BR libcolour (7)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >