ViewCaptureTask

view.capture — one image of a registered surface (opal-vision §OVD-3.2).

Inherits OpalTask

In the namespace opal::vision. Declared in src/libs/libopal/opal/vision/ViewCaptureTask.hpp.

Detailed description

Caps the PIXEL size through max_edge and applies region before scaling. The pixel/logical distinction is the whole point: QWidget::grab() multiplies by the device pixel ratio, so a HiDPI window arrives at twice the logical size and costs 78 percent more visual tokens for pixels the model never sees (§OVR-2, D6).

In this section