.TH "KColor" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KColor \- A color class that preserves both RGB and HSV values.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kcolordialog.h>\fP
.PP
Inherits \fBQColor\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKColor\fP (const \fBKColor\fP &col)"
.br
.ti -1c
.RI "\fBKColor\fP (const \fBQColor\fP &col)"
.br
.ti -1c
.RI "\fBKColor\fP & \fBoperator=\fP (const \fBKColor\fP &col)"
.br
.ti -1c
.RI "bool \fBoperator==\fP (const \fBKColor\fP &col) const "
.br
.ti -1c
.RI "void \fBsetHsv\fP (int _h, int _s, int _v)"
.br
.ti -1c
.RI "void \fBsetRgb\fP (int _r, int _g, int _b)"
.br
.ti -1c
.RI "void \fBrgb\fP (int *_r, int *_g, int *_b) const "
.br
.ti -1c
.RI "void \fBhsv\fP (int *_h, int *_s, int *_v) const "
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "int \fBh\fP"
.br
.ti -1c
.RI "int \fBs\fP"
.br
.ti -1c
.RI "int \fBv\fP"
.br
.ti -1c
.RI "int \fBr\fP"
.br
.ti -1c
.RI "int \fBg\fP"
.br
.ti -1c
.RI "int \fBb\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
A color class that preserves both RGB and HSV values. 

This is unlike \fBQColor\fP which only preserves RGB values and recalculates HSV values. The \fBQColor\fP behavior leads to an accumulation of rounding errors when working in the HSV color space.
.PP
\fBAuthor:\fP
.RS 4
Waldo Bastian <bastian@kde.org> 
.RE
.PP

.PP
Definition at line 164 of file kcolordialog.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
