KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::XRenderPicture Class Reference

Wrapper around XRender Picture. More...

#include <kwinxrenderutils.h>

Public Member Functions

 XRenderPicture (xcb_render_picture_t pic=XCB_RENDER_PICTURE_NONE)
 
 XRenderPicture (const QImage &img)
 
 XRenderPicture (xcb_pixmap_t pix, int depth)
 
 operator xcb_render_picture_t ()
 

Detailed Description

Wrapper around XRender Picture.

This class wraps XRender's Picture, providing proper initialization, convenience constructors and freeing of resources. It should otherwise act exactly like the Picture type.

Definition at line 52 of file kwinxrenderutils.h.

Constructor & Destructor Documentation

◆ XRenderPicture() [1/3]

KWin::XRenderPicture::XRenderPicture ( xcb_render_picture_t pic = XCB_RENDER_PICTURE_NONE)
inlineexplicit

Definition at line 75 of file kwinxrenderutils.h.

◆ XRenderPicture() [2/3]

KWin::XRenderPicture::XRenderPicture ( const QImage & img)
explicit

Definition at line 72 of file kwinxrenderutils.cpp.

◆ XRenderPicture() [3/3]

KWin::XRenderPicture::XRenderPicture ( xcb_pixmap_t pix,
int depth )

Definition at line 94 of file kwinxrenderutils.cpp.

Member Function Documentation

◆ operator xcb_render_picture_t()

KWin::XRenderPicture::operator xcb_render_picture_t ( )
inline

Definition at line 80 of file kwinxrenderutils.h.


The documentation for this class was generated from the following files: