Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_gui_image_qpixmapfilter.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

Go to the source code of this file.

Functions

myFilter setColor (QColor(128, 0, 0))
myFilter draw (painter, QPoint(0, 0), originalPixmap)
myFilter setConvolutionKernel (kernel, 3, 3)

Variables

QPixmapColorizeFiltermyFilter = new QPixmapColorFilter
 [0]
qreal kernel []

Function Documentation

◆ draw()

myFilter draw ( painter ,
QPoint(0, 0) ,
originalPixmap  )

◆ setColor()

myFilter setColor ( QColor(128, 0, 0) )

◆ setConvolutionKernel()

myFilter setConvolutionKernel ( kernel ,
3 ,
3  )

Variable Documentation

◆ kernel

qreal kernel
Initial value:
= {
0.0,-1.0, 0.0,
-1.0, 5.0,-1.0,
0.0,-1.0, 0.0
}

Definition at line 12 of file src_gui_image_qpixmapfilter.cpp.

◆ myFilter

QPixmapDropShadowFilter * myFilter = new QPixmapColorFilter

[0]

[1]

[2]

Definition at line 5 of file src_gui_image_qpixmapfilter.cpp.