Struct windows::Win32::Graphics::Direct2D::ID2D1Transform
#[repr(transparent)]pub struct ID2D1Transform(_);
Expand description
Required features: "Win32_Graphics_Direct2D"
Implementations§
§impl ID2D1Transform
impl ID2D1Transform
pub unsafe fn GetInputCount(&self) -> u32
pub unsafe fn MapOutputRectToInputRects(
&self,
outputrect: *const RECT,
inputrects: &mut [RECT]
) -> Result<()>
pub unsafe fn MapOutputRectToInputRects(
&self,
outputrect: *const RECT,
inputrects: &mut [RECT]
) -> Result<()>
Required features: "Win32_Foundation"
pub unsafe fn MapInputRectsToOutputRect(
&self,
inputrects: *const RECT,
inputopaquesubrects: *const RECT,
inputrectcount: u32,
outputrect: *mut RECT,
outputopaquesubrect: *mut RECT
) -> Result<()>
pub unsafe fn MapInputRectsToOutputRect(
&self,
inputrects: *const RECT,
inputopaquesubrects: *const RECT,
inputrectcount: u32,
outputrect: *mut RECT,
outputopaquesubrect: *mut RECT
) -> Result<()>
Required features: "Win32_Foundation"
pub unsafe fn MapInvalidRect(
&self,
inputindex: u32,
invalidinputrect: RECT
) -> Result<RECT>
pub unsafe fn MapInvalidRect(
&self,
inputindex: u32,
invalidinputrect: RECT
) -> Result<RECT>
Required features: "Win32_Foundation"
Trait Implementations§
§impl Clone for ID2D1Transform
impl Clone for ID2D1Transform
§impl Debug for ID2D1Transform
impl Debug for ID2D1Transform
§impl<'a> From<&'a ID2D1ComputeTransform> for &'a ID2D1Transform
impl<'a> From<&'a ID2D1ComputeTransform> for &'a ID2D1Transform
§fn from(value: &'a ID2D1ComputeTransform) -> Self
fn from(value: &'a ID2D1ComputeTransform) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1DrawTransform> for &'a ID2D1Transform
impl<'a> From<&'a ID2D1DrawTransform> for &'a ID2D1Transform
§fn from(value: &'a ID2D1DrawTransform) -> Self
fn from(value: &'a ID2D1DrawTransform) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1SourceTransform> for &'a ID2D1Transform
impl<'a> From<&'a ID2D1SourceTransform> for &'a ID2D1Transform
§fn from(value: &'a ID2D1SourceTransform) -> Self
fn from(value: &'a ID2D1SourceTransform) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1Transform> for &'a ID2D1TransformNode
impl<'a> From<&'a ID2D1Transform> for &'a ID2D1TransformNode
§fn from(value: &'a ID2D1Transform) -> Self
fn from(value: &'a ID2D1Transform) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1Transform> for &'a IUnknown
impl<'a> From<&'a ID2D1Transform> for &'a IUnknown
§fn from(value: &'a ID2D1Transform) -> Self
fn from(value: &'a ID2D1Transform) -> Self
Converts to this type from the input type.
§impl From<&ID2D1ComputeTransform> for ID2D1Transform
impl From<&ID2D1ComputeTransform> for ID2D1Transform
§fn from(value: &ID2D1ComputeTransform) -> Self
fn from(value: &ID2D1ComputeTransform) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DrawTransform> for ID2D1Transform
impl From<&ID2D1DrawTransform> for ID2D1Transform
§fn from(value: &ID2D1DrawTransform) -> Self
fn from(value: &ID2D1DrawTransform) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SourceTransform> for ID2D1Transform
impl From<&ID2D1SourceTransform> for ID2D1Transform
§fn from(value: &ID2D1SourceTransform) -> Self
fn from(value: &ID2D1SourceTransform) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Transform> for ID2D1TransformNode
impl From<&ID2D1Transform> for ID2D1TransformNode
§fn from(value: &ID2D1Transform) -> Self
fn from(value: &ID2D1Transform) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Transform> for IUnknown
impl From<&ID2D1Transform> for IUnknown
§fn from(value: &ID2D1Transform) -> Self
fn from(value: &ID2D1Transform) -> Self
Converts to this type from the input type.
§impl From<ID2D1ComputeTransform> for ID2D1Transform
impl From<ID2D1ComputeTransform> for ID2D1Transform
§fn from(value: ID2D1ComputeTransform) -> Self
fn from(value: ID2D1ComputeTransform) -> Self
Converts to this type from the input type.
§impl From<ID2D1DrawTransform> for ID2D1Transform
impl From<ID2D1DrawTransform> for ID2D1Transform
§fn from(value: ID2D1DrawTransform) -> Self
fn from(value: ID2D1DrawTransform) -> Self
Converts to this type from the input type.
§impl From<ID2D1SourceTransform> for ID2D1Transform
impl From<ID2D1SourceTransform> for ID2D1Transform
§fn from(value: ID2D1SourceTransform) -> Self
fn from(value: ID2D1SourceTransform) -> Self
Converts to this type from the input type.
§impl From<ID2D1Transform> for ID2D1TransformNode
impl From<ID2D1Transform> for ID2D1TransformNode
§fn from(value: ID2D1Transform) -> Self
fn from(value: ID2D1Transform) -> Self
Converts to this type from the input type.
§impl From<ID2D1Transform> for IUnknown
impl From<ID2D1Transform> for IUnknown
§fn from(value: ID2D1Transform) -> Self
fn from(value: ID2D1Transform) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1Transform
impl Interface for ID2D1Transform
§impl PartialEq<ID2D1Transform> for ID2D1Transform
impl PartialEq<ID2D1Transform> for ID2D1Transform
§impl Vtable for ID2D1Transform
impl Vtable for ID2D1Transform
type Vtable = ID2D1Transform_Vtbl
§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.