Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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()

◆ 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.

Referenced by convolute(), and QPixmapConvolutionFilter::setConvolutionKernel().

◆ myFilter

QPixmapDropShadowFilter * myFilter = new QPixmapColorFilter

[0]

[1]

[2]

Definition at line 5 of file src_gui_image_qpixmapfilter.cpp.