pub trait IDirectManipulationPrimaryContent_Impl: Sized {
// Required methods
fn SetSnapInterval(
&self,
motion: DIRECTMANIPULATION_MOTION_TYPES,
interval: f32,
offset: f32,
) -> Result<()>;
fn SetSnapPoints(
&self,
motion: DIRECTMANIPULATION_MOTION_TYPES,
points: *const f32,
pointcount: u32,
) -> Result<()>;
fn SetSnapType(
&self,
motion: DIRECTMANIPULATION_MOTION_TYPES,
type: DIRECTMANIPULATION_SNAPPOINT_TYPE,
) -> Result<()>;
fn SetSnapCoordinate(
&self,
motion: DIRECTMANIPULATION_MOTION_TYPES,
coordinate: DIRECTMANIPULATION_SNAPPOINT_COORDINATE,
origin: f32,
) -> Result<()>;
fn SetZoomBoundaries(
&self,
zoomminimum: f32,
zoommaximum: f32,
) -> Result<()>;
fn SetHorizontalAlignment(
&self,
alignment: DIRECTMANIPULATION_HORIZONTALALIGNMENT,
) -> Result<()>;
fn SetVerticalAlignment(
&self,
alignment: DIRECTMANIPULATION_VERTICALALIGNMENT,
) -> Result<()>;
fn GetInertiaEndTransform(
&self,
matrix: *mut f32,
pointcount: u32,
) -> Result<()>;
fn GetCenterPoint(&self, centerx: *mut f32, centery: *mut f32) -> Result<()>;
}
Required Methods§
fn SetSnapInterval( &self, motion: DIRECTMANIPULATION_MOTION_TYPES, interval: f32, offset: f32, ) -> Result<()>
fn SetSnapPoints( &self, motion: DIRECTMANIPULATION_MOTION_TYPES, points: *const f32, pointcount: u32, ) -> Result<()>
fn SetSnapType( &self, motion: DIRECTMANIPULATION_MOTION_TYPES, type: DIRECTMANIPULATION_SNAPPOINT_TYPE, ) -> Result<()>
fn SetSnapCoordinate( &self, motion: DIRECTMANIPULATION_MOTION_TYPES, coordinate: DIRECTMANIPULATION_SNAPPOINT_COORDINATE, origin: f32, ) -> Result<()>
fn SetZoomBoundaries(&self, zoomminimum: f32, zoommaximum: f32) -> Result<()>
fn SetHorizontalAlignment( &self, alignment: DIRECTMANIPULATION_HORIZONTALALIGNMENT, ) -> Result<()>
fn SetVerticalAlignment( &self, alignment: DIRECTMANIPULATION_VERTICALALIGNMENT, ) -> Result<()>
fn GetInertiaEndTransform( &self, matrix: *mut f32, pointcount: u32, ) -> Result<()>
fn GetCenterPoint(&self, centerx: *mut f32, centery: *mut f32) -> Result<()>
Object Safety§
This trait is not object safe.