Type Alias exr::meta::attribute::DisplayWindow
source · pub type DisplayWindow = IntegerBounds;
Expand description
The integer rectangle limiting which part of the infinite 2D global space should be displayed.
Aliased Type§
struct DisplayWindow {
pub position: Vec2<i32>,
pub size: Vec2<usize>,
}
Fields§
§position: Vec2<i32>
The top left corner of this rectangle.
The Box2I32
includes this pixel if the size is not zero.
size: Vec2<usize>
How many pixels to include in this Box2I32
.
Extends to the right and downwards.
Does not include the actual boundary, just like Vec::len()
.