7#ifndef __KO_COLOR_DISPLAY_RENDERER_INTERFACE_H
8#define __KO_COLOR_DISPLAY_RENDERER_INTERFACE_H
42 virtual QImage
toQImage(
const KoColorSpace *srcColorSpace,
const quint8 *data, QSize size,
bool proofPaintColors =
false)
const = 0;
50 virtual QColor
toQColor(
const KoColor &c,
bool proofToPaintColors =
false)
const = 0;
65 virtual void getHsv(
const KoColor &srcColor,
int *h,
int *s,
int *
v,
int *a = 0)
const = 0;
102 QImage toQImage(
const KoColorSpace *srcColorSpace,
const quint8 *data, QSize size,
bool proofPaintColors =
false)
const override;
103 QColor toQColor(
const KoColor &c,
bool proofToPaintColors =
false)
const override;
104 KoColor approximateFromRenderedQColor(
const QColor &c)
const override;
105 KoColor fromHsv(
int h,
int s,
int v,
int a = 255)
const override;
106 void getHsv(
const KoColor &srcColor,
int *h,
int *s,
int *
v,
int *a = 0)
const override;
108 qreal minVisibleFloatValue(
const KoChannelInfo *chaninfo)
const override;
109 qreal maxVisibleFloatValue(
const KoChannelInfo *chaninfo)
const override;
111 const KoColorSpace* getPaintingColorSpace()
const override;
PythonPluginManager * instance
virtual void getHsv(const KoColor &srcColor, int *h, int *s, int *v, int *a=0) const =0
virtual KoColor approximateFromRenderedQColor(const QColor &c) const =0
virtual qreal minVisibleFloatValue(const KoChannelInfo *chaninfo) const =0
virtual QColor toQColor(const KoColor &c, bool proofToPaintColors=false) const =0
virtual const KoColorSpace * getPaintingColorSpace() const =0
getColorSpace
virtual QImage toQImage(const KoColorSpace *srcColorSpace, const quint8 *data, QSize size, bool proofPaintColors=false) const =0
Convert a consecutive block of pixel data to an ARGB32 QImage.
void displayConfigurationChanged()
virtual KoColor fromHsv(int h, int s, int v, int a=255) const =0
virtual qreal maxVisibleFloatValue(const KoChannelInfo *chaninfo) const =0