KritaWidgets
KisVisualRectangleSelectorShape.h
Go to the documentation of this file.
20 const KoColorDisplayRendererInterface *displayRenderer = KoDumbColorDisplayRenderer::instance(), int width=20,
singelDTypes
Definition: KisVisualRectangleSelectorShape.h:15
QImage renderAlphaMask() const override
render the alpha mask for the widget background the returned image is expected to be QImage::Format_A...
Definition: KisVisualRectangleSelectorShape.cpp:263
QRect getSpaceForCircle(QRect geom) override
Definition: KisVisualRectangleSelectorShape.cpp:62
Dimensions
The Dimensions enum Whether or not the shape is single or two dimensional.
Definition: KisVisualColorSelectorShape.h:45
void setBorderWidth(int width) override
setBorderWidth set the border of the single dimensional selector.
Definition: KisVisualRectangleSelectorShape.cpp:36
KisVisualRectangleSelectorShape(QWidget *parent, Dimensions dimension, const KoColorSpace *cs, int channel1, int channel2, const KoColorDisplayRendererInterface *displayRenderer=KoDumbColorDisplayRenderer::instance(), int width=20, KisVisualRectangleSelectorShape::singelDTypes d=KisVisualRectangleSelectorShape::vertical)
Definition: KisVisualRectangleSelectorShape.cpp:17
The KisVisualColorSelectorShape class A 2d widget can represent at maximum 2 coordinates.
Definition: KisVisualColorSelectorShape.h:37
~KisVisualRectangleSelectorShape() override
Definition: KisVisualRectangleSelectorShape.cpp:31
QRect getSpaceForTriangle(QRect geom) override
Definition: KisVisualRectangleSelectorShape.cpp:67
int width() const
QRect getSpaceForSquare(QRect geom) override
getSpaceForSquare
Definition: KisVisualRectangleSelectorShape.cpp:41
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 11:48:22 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 11:48:22 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.