PyKDE - Python Bindings for KDE
class KPixmapIO
Table of contents
Modules
kdeui Classes
All Classes
Module
kdeui
Class
KPixmapIO
Inherits
enums
ShmPolicies
= {ShmDontKeep, ShmKeepAndGrow }
methods
KPixmapIO
()
returns
a KPixmapIO instance
convertToImage
(pixmap)
returns
(TQImage)
Argument
Type
Default
pixmap
TQPixmap
convertToPixmap
(image)
returns
(TQPixmap)
Argument
Type
Default
image
TQImage
getImage
(src, sx, sy, sw, sh)
returns
(TQImage)
Argument
Type
Default
src
TQPixmap
sx
int
sy
int
sw
int
sh
int
getImage
(src, rect)
returns
(TQImage)
Argument
Type
Default
src
TQPixmap
rect
TQRect
preAllocShm
(size)
returns
nothing
Argument
Type
Default
size
int
putImage
(dst, dx, dy, src)
returns
nothing
Argument
Type
Default
dst
TQPixmap
dx
int
dy
int
src
TQImage
putImage
(dst, offset, src)
returns
nothing
Argument
Type
Default
dst
TQPixmap
offset
TQPoint
src
TQImage
setShmPolicy
(policy)
returns
nothing
Argument
Type
Default
policy
int