• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • sources
  • kde-4.14
  • kdelibs
  • kdeui
  • colors
Functions
kcolorutils.cpp File Reference
#include <kcolorutils.h>
#include "kcolorspaces.h"
#include "kcolorhelpers_p.h"
#include <QColor>
#include <QImage>
#include <math.h>
Include dependency graph for kcolorutils.cpp:

Go to the source code of this file.

Functions

static qreal contrastRatioForLuma (qreal y1, qreal y2)
 
static qreal mixQreal (qreal a, qreal b, qreal bias)
 
static QColor tintHelper (const QColor &base, qreal baseLuma, const QColor &color, qreal amount)
 

Function Documentation

static qreal contrastRatioForLuma ( qreal  y1,
qreal  y2 
)
static

Definition at line 42 of file kcolorutils.cpp.

static qreal mixQreal ( qreal  a,
qreal  b,
qreal  bias 
)
inlinestatic

Definition at line 31 of file kcolorutils.cpp.

static QColor tintHelper ( const QColor &  base,
qreal  baseLuma,
const QColor &  color,
qreal  amount 
)
static

Definition at line 79 of file kcolorutils.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal