Struct i_slint_core::software_renderer::PhysicalRegion
source · pub struct PhysicalRegion(_);Expand description
Represents a rectangular region on the screen, used for partial rendering.
The region may be composed of multiple sub-regions.
Implementations§
source§impl PhysicalRegion
impl PhysicalRegion
sourcepub fn bounding_box_size(&self) -> PhysicalSize
pub fn bounding_box_size(&self) -> PhysicalSize
Returns the size of the bounding box of this region.
sourcepub fn bounding_box_origin(&self) -> PhysicalPosition
pub fn bounding_box_origin(&self) -> PhysicalPosition
Returns the origin of the bounding box of this region.
Trait Implementations§
source§impl Clone for PhysicalRegion
impl Clone for PhysicalRegion
source§fn clone(&self) -> PhysicalRegion
fn clone(&self) -> PhysicalRegion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more