Trait IInkStrokeContainer_Impl
pub trait IInkStrokeContainer_Impl: IUnknownImpl {
Show 14 methods
// Required methods
fn BoundingRect(&self) -> Result<Rect>;
fn AddStroke(&self, stroke: Ref<'_, InkStroke>) -> Result<()>;
fn DeleteSelected(&self) -> Result<Rect>;
fn MoveSelected(&self, translation: &Point) -> Result<Rect>;
fn SelectWithPolyLine(
&self,
polyline: Ref<'_, IIterable<Point>>,
) -> Result<Rect>;
fn SelectWithLine(&self, from: &Point, to: &Point) -> Result<Rect>;
fn CopySelectedToClipboard(&self) -> Result<()>;
fn PasteFromClipboard(&self, position: &Point) -> Result<Rect>;
fn CanPasteFromClipboard(&self) -> Result<bool>;
fn LoadAsync(
&self,
inputStream: Ref<'_, IInputStream>,
) -> Result<IAsyncActionWithProgress<u64>>;
fn SaveAsync(
&self,
outputStream: Ref<'_, IOutputStream>,
) -> Result<IAsyncOperationWithProgress<u32, u32>>;
fn UpdateRecognitionResults(
&self,
recognitionResults: Ref<'_, IVectorView<InkRecognitionResult>>,
) -> Result<()>;
fn GetStrokes(&self) -> Result<IVectorView<InkStroke>>;
fn GetRecognitionResults(&self) -> Result<IVectorView<InkRecognitionResult>>;
}
Required Methods§
fn BoundingRect(&self) -> Result<Rect>
fn AddStroke(&self, stroke: Ref<'_, InkStroke>) -> Result<()>
fn DeleteSelected(&self) -> Result<Rect>
fn MoveSelected(&self, translation: &Point) -> Result<Rect>
fn SelectWithPolyLine( &self, polyline: Ref<'_, IIterable<Point>>, ) -> Result<Rect>
fn SelectWithLine(&self, from: &Point, to: &Point) -> Result<Rect>
fn CopySelectedToClipboard(&self) -> Result<()>
fn PasteFromClipboard(&self, position: &Point) -> Result<Rect>
fn CanPasteFromClipboard(&self) -> Result<bool>
fn LoadAsync( &self, inputStream: Ref<'_, IInputStream>, ) -> Result<IAsyncActionWithProgress<u64>>
fn SaveAsync( &self, outputStream: Ref<'_, IOutputStream>, ) -> Result<IAsyncOperationWithProgress<u32, u32>>
fn UpdateRecognitionResults( &self, recognitionResults: Ref<'_, IVectorView<InkRecognitionResult>>, ) -> Result<()>
fn GetStrokes(&self) -> Result<IVectorView<InkStroke>>
fn GetRecognitionResults(&self) -> Result<IVectorView<InkRecognitionResult>>
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.