Skip to main content

bake_orientation_owned

Function bake_orientation_owned 

Source
pub fn bake_orientation_owned(
    buf: PixelBuf,
) -> Result<PixelBuf, At<ConvertError>>
Expand description

Physically bake buf.orientation() into pixels, returning buf zero-copy when buf.orientation() == Orientation::Identity and clearing the resulting orientation to Orientation::Identity.