7#ifndef KIS_VISUAL_DIAMOND_SELECTOR_SHAPE_H
8#define KIS_VISUAL_DIAMOND_SELECTOR_SHAPE_H
18 int channel1,
int channel2,
The KisVisualColorSelectorShape class A 2d widget can represent at maximum 2 coordinates....
Dimensions
The Dimensions enum Whether or not the shape is single or two dimensional.
The KisVisualColorSelector class.
void drawCursor(QPainter &painter) override
QRect getSpaceForSquare(QRect geom) override
getSpaceForSquare
~KisVisualDiamondSelectorShape() override
QImage renderAlphaMask() const override
render the alpha mask for the widget background the returned image is expected to be QImage::Format_A...
QRect getSpaceForCircle(QRect geom) override
QPointF convertShapeCoordinateToWidgetCoordinate(QPointF coordinate) const override
convertShapeCoordinateToWidgetCoordinate
KisVisualDiamondSelectorShape(KisVisualColorSelector *parent, Dimensions dimension, int channel1, int channel2, int margin=5)
void setBorderWidth(int) override
setBorderWidth set the border of the single dimensional selector.
QRegion getMaskMap() override
getPixmap
QPointF convertWidgetCoordinateToShapeCoordinate(QPointF coordinate) const override
convertWidgetCoordinateToShapeCoordinate Convert a coordinate in the widget's height/width to a shape...
QRect getSpaceForTriangle(QRect geom) override