Trait windows::Win32::UI::TabletPC::IInkDisp_Impl

pub trait IInkDisp_Impl: Sized + IDispatch_Impl {
Show 25 methods // Required methods fn Strokes(&self) -> Result<IInkStrokes>; fn ExtendedProperties(&self) -> Result<IInkExtendedProperties>; fn Dirty(&self) -> Result<VARIANT_BOOL>; fn SetDirty(&self, dirty: VARIANT_BOOL) -> Result<()>; fn CustomStrokes(&self) -> Result<IInkCustomStrokes>; fn GetBoundingBox( &self, boundingboxmode: InkBoundingBoxMode, ) -> Result<IInkRectangle>; fn DeleteStrokes(&self, strokes: Option<&IInkStrokes>) -> Result<()>; fn DeleteStroke(&self, stroke: Option<&IInkStrokeDisp>) -> Result<()>; fn ExtractStrokes( &self, strokes: Option<&IInkStrokes>, extractflags: InkExtractFlags, ) -> Result<IInkDisp>; fn ExtractWithRectangle( &self, rectangle: Option<&IInkRectangle>, extractflags: InkExtractFlags, ) -> Result<IInkDisp>; fn Clip(&self, rectangle: Option<&IInkRectangle>) -> Result<()>; fn Clone(&self) -> Result<IInkDisp>; fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> Result<IInkStrokes>; fn HitTestWithRectangle( &self, selectionrectangle: Option<&IInkRectangle>, intersectpercent: f32, ) -> Result<IInkStrokes>; fn HitTestWithLasso( &self, points: &VARIANT, intersectpercent: f32, lassopoints: *mut VARIANT, strokes: *mut Option<IInkStrokes>, ) -> Result<()>; fn NearestPoint( &self, x: i32, y: i32, pointonstroke: *mut f32, distancefrompacket: *mut f32, stroke: *mut Option<IInkStrokeDisp>, ) -> Result<()>; fn CreateStrokes(&self, strokeids: &VARIANT) -> Result<IInkStrokes>; fn AddStrokesAtRectangle( &self, sourcestrokes: Option<&IInkStrokes>, targetrectangle: Option<&IInkRectangle>, ) -> Result<()>; fn Save( &self, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode, ) -> Result<VARIANT>; fn Load(&self, data: &VARIANT) -> Result<()>; fn CreateStroke( &self, packetdata: &VARIANT, packetdescription: &VARIANT, ) -> Result<IInkStrokeDisp>; fn ClipboardCopyWithRectangle( &self, rectangle: Option<&IInkRectangle>, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes, ) -> Result<IDataObject>; fn ClipboardCopy( &self, strokes: Option<&IInkStrokes>, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes, ) -> Result<IDataObject>; fn CanPaste(&self, dataobject: Option<&IDataObject>) -> Result<VARIANT_BOOL>; fn ClipboardPaste( &self, x: i32, y: i32, dataobject: Option<&IDataObject>, ) -> Result<IInkStrokes>;
}

Required Methods§

fn Strokes(&self) -> Result<IInkStrokes>

fn ExtendedProperties(&self) -> Result<IInkExtendedProperties>

fn Dirty(&self) -> Result<VARIANT_BOOL>

fn SetDirty(&self, dirty: VARIANT_BOOL) -> Result<()>

fn CustomStrokes(&self) -> Result<IInkCustomStrokes>

fn GetBoundingBox( &self, boundingboxmode: InkBoundingBoxMode, ) -> Result<IInkRectangle>

fn DeleteStrokes(&self, strokes: Option<&IInkStrokes>) -> Result<()>

fn DeleteStroke(&self, stroke: Option<&IInkStrokeDisp>) -> Result<()>

fn ExtractStrokes( &self, strokes: Option<&IInkStrokes>, extractflags: InkExtractFlags, ) -> Result<IInkDisp>

fn ExtractWithRectangle( &self, rectangle: Option<&IInkRectangle>, extractflags: InkExtractFlags, ) -> Result<IInkDisp>

fn Clip(&self, rectangle: Option<&IInkRectangle>) -> Result<()>

fn Clone(&self) -> Result<IInkDisp>

fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> Result<IInkStrokes>

fn HitTestWithRectangle( &self, selectionrectangle: Option<&IInkRectangle>, intersectpercent: f32, ) -> Result<IInkStrokes>

fn HitTestWithLasso( &self, points: &VARIANT, intersectpercent: f32, lassopoints: *mut VARIANT, strokes: *mut Option<IInkStrokes>, ) -> Result<()>

fn NearestPoint( &self, x: i32, y: i32, pointonstroke: *mut f32, distancefrompacket: *mut f32, stroke: *mut Option<IInkStrokeDisp>, ) -> Result<()>

fn CreateStrokes(&self, strokeids: &VARIANT) -> Result<IInkStrokes>

fn AddStrokesAtRectangle( &self, sourcestrokes: Option<&IInkStrokes>, targetrectangle: Option<&IInkRectangle>, ) -> Result<()>

fn Save( &self, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode, ) -> Result<VARIANT>

fn Load(&self, data: &VARIANT) -> Result<()>

fn CreateStroke( &self, packetdata: &VARIANT, packetdescription: &VARIANT, ) -> Result<IInkStrokeDisp>

fn ClipboardCopyWithRectangle( &self, rectangle: Option<&IInkRectangle>, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes, ) -> Result<IDataObject>

fn ClipboardCopy( &self, strokes: Option<&IInkStrokes>, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes, ) -> Result<IDataObject>

fn CanPaste(&self, dataobject: Option<&IDataObject>) -> Result<VARIANT_BOOL>

fn ClipboardPaste( &self, x: i32, y: i32, dataobject: Option<&IDataObject>, ) -> Result<IInkStrokes>

Object Safety§

This trait is not object safe.

Implementors§