Skip to main content
Version: 0.9.0

QarGuiPanelPoint Struct

A position on a GUI panel, in panel-content-space pixels. More...

Declaration​

struct QarGuiPanelPoint { ... }

Included Headers​

Public Member Attributes Index​

int32_tx_pixels
int32_ty_pixels

Description​

A position on a GUI panel, in panel-content-space pixels.

Panel content space (see QarGuiPanelSize): origin at the top-left corner of the displayed image as the viewer sees it, x increasing right and y increasing down. Both are clamped to the image, so x_pixels is in [0, content_width - 1] and y_pixels in [0, content_height - 1] of the image the renderer is currently displaying - for a stream panel, the video exactly as its sender draws it: the renderer receives it at the sender's own resolution (ADR-0149), and a position on a video the renderer has scrolled is the pixel under the finger, not one relative to the visible part (ADR-0150).

Signed for headroom, and a closed pair: a contact's depth off the glass, if it is ever reported, arrives as its own accessor rather than as a member here.

Definition at line 911 of file qar_streaming.h.

Public Member Attributes​

x_pixels​

int32_t QarGuiPanelPoint::x_pixels

Definition at line 913 of file qar_streaming.h.

y_pixels​

int32_t QarGuiPanelPoint::y_pixels

Definition at line 914 of file qar_streaming.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.