Type Alias exr::meta::attribute::DataWindow

source ·
pub type DataWindow = IntegerBounds;
Expand description

The integer rectangle describing where an layer is placed on the infinite 2D global space.

Aliased Type§

struct DataWindow {
    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().