Method
WPEPlatformViewset_cursor_from_bytes
Declaration [src]
void
wpe_view_set_cursor_from_bytes (
WPEView* view,
GBytes* bytes,
guint width,
guint height,
guint stride,
guint hotspot_x,
guint hotspot_y
)
Description [src]
Set the view cursor from the given bytes. Pixel format must be WPE_PIXEL_FORMAT_ARGB8888.
Parameters
bytes-
Type:
GBytesThe cursor image data.
The data is owned by the caller of the function. width-
Type:
guintThe cursor width.
height-
Type:
guintThe cursor height.
stride-
Type:
guintThe cursor image data stride.
hotspot_x-
Type:
guintThe cursor hotspot x coordinate.
hotspot_y-
Type:
guintThe cursor hotspot y coordinate.