X11 cursor image and positioning state used during capture.
More...
#include <src/platform/linux/x11grab.h>
|
| static std::optional< cursor_t > | make () |
| | Allocate the underlying object and wrap it in the owning handle.
|
| |
|
|
cursor_ctx_t | ctx |
| | X11 cursor context used to track and blend cursor images.
|
| |
X11 cursor image and positioning state used during capture.
◆ blend()
| void platf::x11::cursor_t::blend |
( |
img_t & | img, |
|
|
int | offsetX, |
|
|
int | offsetY ) |
Capture and blend the cursor into the image
img <– destination image offsetX, offsetY <— Top left corner of the virtual screen
- Parameters
-
| img | Image or frame object to read from or populate. |
| offsetX | Offset x. |
| offsetY | Offset y. |
◆ capture()
Run the capture loop for this backend.
- Parameters
-
| img | Image or frame object to read from or populate. |
◆ make()
| std::optional< cursor_t > platf::x11::cursor_t::make |
( |
| ) |
|
|
static |
Allocate the underlying object and wrap it in the owning handle.
- Returns
- Created backend object, or null when creation fails.
The documentation for this class was generated from the following files: