kdeui Library API Documentation

KColor Class Reference

A color class that preserves both RGB and HSV values; this is unlike QColor which only preserves RGB values and recalculates HSV values. More...

#include <kcolordialog.h>

Inheritance diagram for KColor:

QColor List of all members.

Public Methods

void setHsv (int _h, int _s, int _v)
void setRgb (int _r, int _g, int _b)

Detailed Description

A color class that preserves both RGB and HSV values; this is unlike QColor which only preserves RGB values and recalculates HSV values.

The QColor behavior leads to an accumulation of rounding errors when working in the HSV color space.

Author:
Waldo Bastian <bastian@kde.org>

Definition at line 162 of file kcolordialog.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdeui Library Version 3.2.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 4 12:34:22 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003