Trait windows::Win32::UI::TabletPC::IInkStrokeDisp_Impl
pub trait IInkStrokeDisp_Impl: Sized + IDispatch_Impl {
Show 33 methods
// Required methods
fn ID(&self) -> Result<i32>;
fn BezierPoints(&self) -> Result<VARIANT>;
fn DrawingAttributes(&self) -> Result<IInkDrawingAttributes>;
fn putref_DrawingAttributes(
&self,
drawattrs: Option<&IInkDrawingAttributes>,
) -> Result<()>;
fn Ink(&self) -> Result<IInkDisp>;
fn ExtendedProperties(&self) -> Result<IInkExtendedProperties>;
fn PolylineCusps(&self) -> Result<VARIANT>;
fn BezierCusps(&self) -> Result<VARIANT>;
fn SelfIntersections(&self) -> Result<VARIANT>;
fn PacketCount(&self) -> Result<i32>;
fn PacketSize(&self) -> Result<i32>;
fn PacketDescription(&self) -> Result<VARIANT>;
fn Deleted(&self) -> Result<VARIANT_BOOL>;
fn GetBoundingBox(
&self,
boundingboxmode: InkBoundingBoxMode,
) -> Result<IInkRectangle>;
fn FindIntersections(
&self,
strokes: Option<&IInkStrokes>,
) -> Result<VARIANT>;
fn GetRectangleIntersections(
&self,
rectangle: Option<&IInkRectangle>,
) -> Result<VARIANT>;
fn Clip(&self, rectangle: Option<&IInkRectangle>) -> Result<()>;
fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> Result<VARIANT_BOOL>;
fn NearestPoint(
&self,
x: i32,
y: i32,
distance: *mut f32,
point: *mut f32,
) -> Result<()>;
fn Split(&self, splitat: f32) -> Result<IInkStrokeDisp>;
fn GetPacketDescriptionPropertyMetrics(
&self,
propertyname: &BSTR,
minimum: *mut i32,
maximum: *mut i32,
units: *mut TabletPropertyMetricUnit,
resolution: *mut f32,
) -> Result<()>;
fn GetPoints(&self, index: i32, count: i32) -> Result<VARIANT>;
fn SetPoints(&self, points: &VARIANT, index: i32, count: i32) -> Result<i32>;
fn GetPacketData(&self, index: i32, count: i32) -> Result<VARIANT>;
fn GetPacketValuesByProperty(
&self,
propertyname: &BSTR,
index: i32,
count: i32,
) -> Result<VARIANT>;
fn SetPacketValuesByProperty(
&self,
bstrpropertyname: &BSTR,
packetvalues: &VARIANT,
index: i32,
count: i32,
) -> Result<i32>;
fn GetFlattenedBezierPoints(&self, fittingerror: i32) -> Result<VARIANT>;
fn Transform(
&self,
transform: Option<&IInkTransform>,
applyonpenwidth: VARIANT_BOOL,
) -> Result<()>;
fn ScaleToRectangle(&self, rectangle: Option<&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<()>;
}
Required Methods§
fn ID(&self) -> Result<i32>
fn BezierPoints(&self) -> Result<VARIANT>
fn DrawingAttributes(&self) -> Result<IInkDrawingAttributes>
fn putref_DrawingAttributes( &self, drawattrs: Option<&IInkDrawingAttributes>, ) -> Result<()>
fn Ink(&self) -> Result<IInkDisp>
fn ExtendedProperties(&self) -> Result<IInkExtendedProperties>
fn PolylineCusps(&self) -> Result<VARIANT>
fn BezierCusps(&self) -> Result<VARIANT>
fn SelfIntersections(&self) -> Result<VARIANT>
fn PacketCount(&self) -> Result<i32>
fn PacketSize(&self) -> Result<i32>
fn PacketDescription(&self) -> Result<VARIANT>
fn Deleted(&self) -> Result<VARIANT_BOOL>
fn GetBoundingBox( &self, boundingboxmode: InkBoundingBoxMode, ) -> Result<IInkRectangle>
fn FindIntersections(&self, strokes: Option<&IInkStrokes>) -> Result<VARIANT>
fn GetRectangleIntersections( &self, rectangle: Option<&IInkRectangle>, ) -> Result<VARIANT>
fn Clip(&self, rectangle: Option<&IInkRectangle>) -> Result<()>
fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> Result<VARIANT_BOOL>
fn NearestPoint( &self, x: i32, y: i32, distance: *mut f32, point: *mut f32, ) -> Result<()>
fn Split(&self, splitat: f32) -> Result<IInkStrokeDisp>
fn GetPacketDescriptionPropertyMetrics( &self, propertyname: &BSTR, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32, ) -> Result<()>
fn GetPoints(&self, index: i32, count: i32) -> Result<VARIANT>
fn SetPoints(&self, points: &VARIANT, index: i32, count: i32) -> Result<i32>
fn GetPacketData(&self, index: i32, count: i32) -> Result<VARIANT>
fn GetPacketValuesByProperty( &self, propertyname: &BSTR, index: i32, count: i32, ) -> Result<VARIANT>
fn SetPacketValuesByProperty( &self, bstrpropertyname: &BSTR, packetvalues: &VARIANT, index: i32, count: i32, ) -> Result<i32>
fn GetFlattenedBezierPoints(&self, fittingerror: i32) -> Result<VARIANT>
fn Transform( &self, transform: Option<&IInkTransform>, applyonpenwidth: VARIANT_BOOL, ) -> Result<()>
fn ScaleToRectangle(&self, rectangle: Option<&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<()>
Object Safety§
This trait is not object safe.