Trait IInkStrokes_Impl
pub trait IInkStrokes_Impl: IDispatch_Impl {
Show 20 methods
// Required methods
fn Count(&self) -> Result<i32>;
fn _NewEnum(&self) -> Result<IUnknown>;
fn Ink(&self) -> Result<IInkDisp>;
fn RecognitionResult(&self) -> Result<IInkRecognitionResult>;
fn ToString(&self) -> Result<BSTR>;
fn Item(&self, index: i32) -> Result<IInkStrokeDisp>;
fn Add(&self, inkstroke: Ref<'_, IInkStrokeDisp>) -> Result<()>;
fn AddStrokes(&self, inkstrokes: Ref<'_, IInkStrokes>) -> Result<()>;
fn Remove(&self, inkstroke: Ref<'_, IInkStrokeDisp>) -> Result<()>;
fn RemoveStrokes(&self, inkstrokes: Ref<'_, IInkStrokes>) -> Result<()>;
fn ModifyDrawingAttributes(
&self,
drawattrs: Ref<'_, IInkDrawingAttributes>,
) -> Result<()>;
fn GetBoundingBox(
&self,
boundingboxmode: InkBoundingBoxMode,
) -> Result<IInkRectangle>;
fn Transform(
&self,
transform: Ref<'_, IInkTransform>,
applyonpenwidth: VARIANT_BOOL,
) -> Result<()>;
fn ScaleToRectangle(&self, rectangle: Ref<'_, IInkRectangle>) -> Result<()>;
fn Move(
&self,
horizontalcomponent: f32,
verticalcomponent: f32,
) -> Result<()>;
fn Rotate(&self, degrees: f32, x: f32, y: f32) -> Result<()>;
fn Shear(
&self,
horizontalmultiplier: f32,
verticalmultiplier: f32,
) -> Result<()>;
fn ScaleTransform(
&self,
horizontalmultiplier: f32,
verticalmultiplier: f32,
) -> Result<()>;
fn Clip(&self, rectangle: Ref<'_, IInkRectangle>) -> Result<()>;
fn RemoveRecognitionResult(&self) -> Result<()>;
}
Required Methods§
fn Count(&self) -> Result<i32>
fn _NewEnum(&self) -> Result<IUnknown>
fn Ink(&self) -> Result<IInkDisp>
fn RecognitionResult(&self) -> Result<IInkRecognitionResult>
fn ToString(&self) -> Result<BSTR>
fn Item(&self, index: i32) -> Result<IInkStrokeDisp>
fn Add(&self, inkstroke: Ref<'_, IInkStrokeDisp>) -> Result<()>
fn AddStrokes(&self, inkstrokes: Ref<'_, IInkStrokes>) -> Result<()>
fn Remove(&self, inkstroke: Ref<'_, IInkStrokeDisp>) -> Result<()>
fn RemoveStrokes(&self, inkstrokes: Ref<'_, IInkStrokes>) -> Result<()>
fn ModifyDrawingAttributes( &self, drawattrs: Ref<'_, IInkDrawingAttributes>, ) -> Result<()>
fn GetBoundingBox( &self, boundingboxmode: InkBoundingBoxMode, ) -> Result<IInkRectangle>
fn Transform( &self, transform: Ref<'_, IInkTransform>, applyonpenwidth: VARIANT_BOOL, ) -> Result<()>
fn ScaleToRectangle(&self, rectangle: Ref<'_, IInkRectangle>) -> Result<()>
fn Move(&self, horizontalcomponent: f32, verticalcomponent: f32) -> Result<()>
fn Rotate(&self, degrees: f32, x: f32, y: f32) -> Result<()>
fn Shear( &self, horizontalmultiplier: f32, verticalmultiplier: f32, ) -> Result<()>
fn ScaleTransform( &self, horizontalmultiplier: f32, verticalmultiplier: f32, ) -> Result<()>
fn Clip(&self, rectangle: Ref<'_, IInkRectangle>) -> Result<()>
fn RemoveRecognitionResult(&self) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.