class KIconEffect

Apply effects to icons. More...

Definition#include <kiconeffect.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods


Detailed Description

Apply effects to icons.

void  init ()

Reread configuration.

QImage  apply (QImage src, int group, int state)

Apply an effect to an image. The effect to apply depends on the group and state parameters, and is configured by the user.

Parameters:
srcThe image.
groupThe group for the icon.
stateThe icon's state.

Returns: An image with the effect applied.

QImage  apply (QImage src, int effect, float value, const QColor rgb, bool trans)

Apply an effect to an image.

Parameters:
srcThe image.
effectThe effect to apply.
valueStrength of the effect. 0 <= value <= 1.
transAdd Transparency if trans = true.

Returns: An image with the effect applied.

QPixmap  apply (QPixmap src, int group, int state)

Apply an effect to a pixmap.

QPixmap  apply (QPixmap src, int effect, float value, const QColor rgb, bool trans)

Apply an effect to a pixmap.

QImage  doublePixels (QImage src)

Returns an image twice as large, consisting of 2x2 pixels.


Generated by: root@porky.devel.redhat.com on Wed May 10 08:56:36 2000, using kdoc 2.0a35.