Browse Source

Docs

pull/137/head
Andrea Ciliberti 1 year ago
parent
commit
8addde71b4
  1. 5
      ctru-rs/src/services/cam.rs

5
ctru-rs/src/services/cam.rs

@ -669,6 +669,11 @@ pub trait Camera: private::ConfigurableCamera { @@ -669,6 +669,11 @@ pub trait Camera: private::ConfigurableCamera {
/// Set trimming bounds to trim the camera photo.
///
/// # Notes
///
/// The trimmed image must have a pixel area of (`width * height`) multiple of 128.
/// If not, a raw `libctru` error may be returned.
///
/// # Panics
///
/// Setting up a [`Trimming`] configurations that exceeds the bounds of the original

Loading…
Cancel
Save