pub struct DisplaySettings(/* private fields */);Expand description
display settings object.
Implementations§
Source§impl DisplaySettings
impl DisplaySettings
Sourcepub fn compositor_fill_out_composition_channel_info_interop(
&self,
channel_index: i32,
sixteen_or_eight_bits_lut: bool,
) -> Result<CompositionChannelInfo, Error>
pub fn compositor_fill_out_composition_channel_info_interop( &self, channel_index: i32, sixteen_or_eight_bits_lut: bool, ) -> Result<CompositionChannelInfo, Error>
Given a display-settings object and the channel-number, this function fills out the composition-channel-information which is needed for the multi-channel-composition. Note that in the returned ‘CompositionChannelInfoInterop’ structure, the ‘lut’ field is a pointer to the LUT-data, which must be freed with ‘libCZI_Free’ by the caller.
\param display_settings_handle The display settings handle. \param channel_index The channel-index (referring to the display settings object) we are concerned with. \param sixteen_or_eight_bits_lut True for generating a 16-bit LUT; if false, then an 8-bit LUT is generated. \param [out] composition_channel_info_interop The composition channel information is put here.
\returns An error-code indicating success or failure of the operation.
pub fn get_channel_display_settings( &self, channel_id: i32, ) -> Result<ChannelDisplaySettings, Error>
Trait Implementations§
Source§impl Clone for DisplaySettings
impl Clone for DisplaySettings
Source§fn clone(&self) -> DisplaySettings
fn clone(&self) -> DisplaySettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more