Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
platf::x11::cursor_t Class Reference
Collaboration diagram for platf::x11::cursor_t:
[legend]

Public Member Functions

void capture (egl::cursor_t &img)
void blend (img_t &img, int offsetX, int offsetY)

Static Public Member Functions

static std::optional< cursor_t > make ()

Public Attributes

cursor_ctx_t ctx

Detailed Description

Definition at line 29 of file x11grab.h.

Member Function Documentation

◆ 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

Definition at line 877 of file x11grab.cpp.

◆ capture()

void platf::x11::cursor_t::capture ( egl::cursor_t & img)

Definition at line 850 of file x11grab.cpp.

◆ make()

std::optional< cursor_t > platf::x11::cursor_t::make ( )
static

Definition at line 838 of file x11grab.cpp.

Member Data Documentation

◆ ctx

cursor_ctx_t platf::x11::cursor_t::ctx

Definition at line 43 of file x11grab.h.


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