Skip to content

slint::platform::SoftwareRenderer::PhysicalRegion::Rect Struct

struct Rect;
C++
#include <slint-platform.h>
C++

A Rectangle defined with an origin and a size. The PhysicalRegion::rectangles() function returns a view over them

PhysicalPosition slint::platform::SoftwareRenderer::PhysicalRegion::Rect::origin

The origin of the rectangle.

PhysicalSize slint::platform::SoftwareRenderer::PhysicalRegion::Rect::size

The size of the rectangle.


© 2026 SixtyFPS GmbH