Struct windows::Win32::Graphics::DirectWrite::IDWriteGdiInterop1
pub struct IDWriteGdiInterop1(/* private fields */);
Implementations§
§impl IDWriteGdiInterop1
impl IDWriteGdiInterop1
pub unsafe fn CreateFontFromLOGFONT( &self, logfont: *const LOGFONTW ) -> Result<IDWriteFont>
pub unsafe fn ConvertFontToLOGFONT<P0>(
&self,
font: P0,
logfont: *mut LOGFONTW,
issystemfont: *mut BOOL
) -> Result<()>where
P0: IntoParam<IDWriteFont>,
pub unsafe fn ConvertFontFaceToLOGFONT<P0>(
&self,
font: P0,
logfont: *mut LOGFONTW
) -> Result<()>where
P0: IntoParam<IDWriteFontFace>,
pub unsafe fn CreateFontFaceFromHdc<P0>(
&self,
hdc: P0
) -> Result<IDWriteFontFace>where
P0: IntoParam<HDC>,
pub unsafe fn CreateBitmapRenderTarget<P0>(
&self,
hdc: P0,
width: u32,
height: u32
) -> Result<IDWriteBitmapRenderTarget>where
P0: IntoParam<HDC>,
pub unsafe fn CreateFontFromLOGFONT2<P0>(
&self,
logfont: *const LOGFONTW,
fontcollection: P0
) -> Result<IDWriteFont>where
P0: IntoParam<IDWriteFontCollection>,
pub unsafe fn GetFontSignature<P0>(
&self,
fontface: P0,
fontsignature: *mut FONTSIGNATURE
) -> Result<()>where
P0: IntoParam<IDWriteFontFace>,
pub unsafe fn GetFontSignature2<P0>(
&self,
font: P0,
fontsignature: *mut FONTSIGNATURE
) -> Result<()>where
P0: IntoParam<IDWriteFont>,
pub unsafe fn GetMatchingFontsByLOGFONT<P0>(
&self,
logfont: *const LOGFONTA,
fontset: P0
) -> Result<IDWriteFontSet>where
P0: IntoParam<IDWriteFontSet>,
Trait Implementations§
§impl Clone for IDWriteGdiInterop1
impl Clone for IDWriteGdiInterop1
§fn clone(&self) -> IDWriteGdiInterop1
fn clone(&self) -> IDWriteGdiInterop1
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 IDWriteGdiInterop1
impl Debug for IDWriteGdiInterop1
§impl From<&IDWriteGdiInterop1> for &IDWriteGdiInterop
impl From<&IDWriteGdiInterop1> for &IDWriteGdiInterop
§fn from(value: &IDWriteGdiInterop1) -> Self
fn from(value: &IDWriteGdiInterop1) -> Self
Converts to this type from the input type.
§impl From<&IDWriteGdiInterop1> for &IUnknown
impl From<&IDWriteGdiInterop1> for &IUnknown
§fn from(value: &IDWriteGdiInterop1) -> Self
fn from(value: &IDWriteGdiInterop1) -> Self
Converts to this type from the input type.
§impl From<IDWriteGdiInterop1> for IDWriteGdiInterop
impl From<IDWriteGdiInterop1> for IDWriteGdiInterop
§fn from(value: IDWriteGdiInterop1) -> Self
fn from(value: IDWriteGdiInterop1) -> Self
Converts to this type from the input type.
§impl From<IDWriteGdiInterop1> for IUnknown
impl From<IDWriteGdiInterop1> for IUnknown
§fn from(value: IDWriteGdiInterop1) -> Self
fn from(value: IDWriteGdiInterop1) -> Self
Converts to this type from the input type.
§impl Interface for IDWriteGdiInterop1
impl Interface for IDWriteGdiInterop1
§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 IDWriteGdiInterop1
impl PartialEq for IDWriteGdiInterop1
§fn eq(&self, other: &IDWriteGdiInterop1) -> bool
fn eq(&self, other: &IDWriteGdiInterop1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDWriteGdiInterop1
impl Send for IDWriteGdiInterop1
impl StructuralPartialEq for IDWriteGdiInterop1
impl Sync for IDWriteGdiInterop1
Auto Trait Implementations§
impl RefUnwindSafe for IDWriteGdiInterop1
impl Unpin for IDWriteGdiInterop1
impl UnwindSafe for IDWriteGdiInterop1
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