Struct iced_solstice::Viewport [−][src]
pub struct Viewport { /* fields omitted */ }
Expand description
A viewing region for displaying computer graphics.
Implementations
Creates a new Viewport
with the given physical dimensions and scale
factor.
Returns the physical size of the Viewport
.
Returns the physical width of the Viewport
.
Returns the physical height of the Viewport
.
Returns the logical size of the Viewport
.
Returns the scale factor of the Viewport
.
Returns the projection transformation of the Viewport
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Viewport
impl UnwindSafe for Viewport
Blanket Implementations
Mutably borrows from an owned value. Read more