Function vizia_core::vg::codec::pixmap_utils::orient

pub unsafe fn orient(
    dst: &mut Pixmap<'_>,
    src: &Pixmap<'_>,
    origin: EncodedOrigin,
) -> bool
Expand description

Copy the pixels in src into dst, applying the orientation transformations specified by origin. If the inputs are invalid, this returns false and no copy is made.

ยงSafety

Unsafe in that it modifies the underlying pixels of dst.