Struct windows::Win32::UI::TabletPC::IInkDrawingAttributes
pub struct IInkDrawingAttributes(/* private fields */);
Implementations§
§impl IInkDrawingAttributes
impl IInkDrawingAttributes
pub unsafe fn Color(&self) -> Result<i32>
pub unsafe fn SetColor(&self, newcolor: i32) -> Result<()>
pub unsafe fn Width(&self) -> Result<f32>
pub unsafe fn SetWidth(&self, newwidth: f32) -> Result<()>
pub unsafe fn Height(&self) -> Result<f32>
pub unsafe fn SetHeight(&self, newheight: f32) -> Result<()>
pub unsafe fn FitToCurve(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetFitToCurve<P0>(&self, flag: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn IgnorePressure(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetIgnorePressure<P0>(&self, flag: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn AntiAliased(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetAntiAliased<P0>(&self, flag: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn Transparency(&self) -> Result<i32>
pub unsafe fn SetTransparency(&self, newtransparency: i32) -> Result<()>
pub unsafe fn RasterOperation(&self) -> Result<InkRasterOperation>
pub unsafe fn SetRasterOperation( &self, newrasteroperation: InkRasterOperation ) -> Result<()>
pub unsafe fn PenTip(&self) -> Result<InkPenTip>
pub unsafe fn SetPenTip(&self, newpentip: InkPenTip) -> Result<()>
pub unsafe fn ExtendedProperties(&self) -> Result<IInkExtendedProperties>
pub unsafe fn Clone(&self) -> Result<IInkDrawingAttributes>
Trait Implementations§
§impl Clone for IInkDrawingAttributes
impl Clone for IInkDrawingAttributes
§fn clone(&self) -> IInkDrawingAttributes
fn clone(&self) -> IInkDrawingAttributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IInkDrawingAttributes
impl Debug for IInkDrawingAttributes
§impl From<&IInkDrawingAttributes> for &IDispatch
impl From<&IInkDrawingAttributes> for &IDispatch
§fn from(value: &IInkDrawingAttributes) -> Self
fn from(value: &IInkDrawingAttributes) -> Self
Converts to this type from the input type.
§impl From<&IInkDrawingAttributes> for &IUnknown
impl From<&IInkDrawingAttributes> for &IUnknown
§fn from(value: &IInkDrawingAttributes) -> Self
fn from(value: &IInkDrawingAttributes) -> Self
Converts to this type from the input type.
§impl From<IInkDrawingAttributes> for IDispatch
impl From<IInkDrawingAttributes> for IDispatch
§fn from(value: IInkDrawingAttributes) -> Self
fn from(value: IInkDrawingAttributes) -> Self
Converts to this type from the input type.
§impl From<IInkDrawingAttributes> for IUnknown
impl From<IInkDrawingAttributes> for IUnknown
§fn from(value: IInkDrawingAttributes) -> Self
fn from(value: IInkDrawingAttributes) -> Self
Converts to this type from the input type.
§impl Interface for IInkDrawingAttributes
impl Interface for IInkDrawingAttributes
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IInkDrawingAttributes
impl PartialEq for IInkDrawingAttributes
§fn eq(&self, other: &IInkDrawingAttributes) -> bool
fn eq(&self, other: &IInkDrawingAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IInkDrawingAttributes
impl StructuralPartialEq for IInkDrawingAttributes
Auto Trait Implementations§
impl RefUnwindSafe for IInkDrawingAttributes
impl !Send for IInkDrawingAttributes
impl !Sync for IInkDrawingAttributes
impl Unpin for IInkDrawingAttributes
impl UnwindSafe for IInkDrawingAttributes
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more