Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFontSet2 [−][src]
#[repr(transparent)]pub struct IDWriteFontSet2(_);
Implementations
pub unsafe fn FindFontFaceReference<'a>(
&self,
fontfacereference: impl IntoParam<'a, IDWriteFontFaceReference>,
listindex: *mut u32,
exists: *mut BOOL
) -> Result<()>
pub unsafe fn FindFontFace<'a>(
&self,
fontface: impl IntoParam<'a, IDWriteFontFace>,
listindex: *mut u32,
exists: *mut BOOL
) -> Result<()>
pub unsafe fn GetPropertyValues(
&self,
listindex: u32,
propertyid: DWRITE_FONT_PROPERTY_ID,
exists: *mut BOOL,
values: *mut Option<IDWriteLocalizedStrings>
) -> Result<()>
pub unsafe fn GetPropertyValues2<'a>(
&self,
propertyid: DWRITE_FONT_PROPERTY_ID,
preferredlocalenames: impl IntoParam<'a, PWSTR>
) -> Result<IDWriteStringList>
pub unsafe fn GetPropertyValues3(
&self,
propertyid: DWRITE_FONT_PROPERTY_ID
) -> Result<IDWriteStringList>
pub unsafe fn GetPropertyOccurrenceCount(
&self,
property: *const DWRITE_FONT_PROPERTY
) -> Result<u32>
pub unsafe fn GetMatchingFonts(
&self,
properties: *const DWRITE_FONT_PROPERTY,
propertycount: u32
) -> Result<IDWriteFontSet>
pub unsafe fn GetMatchingFonts2<'a>(
&self,
familyname: impl IntoParam<'a, PWSTR>,
fontweight: DWRITE_FONT_WEIGHT,
fontstretch: DWRITE_FONT_STRETCH,
fontstyle: DWRITE_FONT_STYLE
) -> Result<IDWriteFontSet>
pub unsafe fn GetMatchingFonts3(
&self,
fontproperty: *const DWRITE_FONT_PROPERTY,
fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32
) -> Result<IDWriteFontSet1>
pub unsafe fn GetFilteredFonts<'a>(
&self,
properties: *const DWRITE_FONT_PROPERTY,
propertycount: u32,
selectanyproperty: impl IntoParam<'a, BOOL>
) -> Result<IDWriteFontSet1>
pub unsafe fn GetFilteredFonts2<'a>(
&self,
fontaxisranges: *const DWRITE_FONT_AXIS_RANGE,
fontaxisrangecount: u32,
selectanyrange: impl IntoParam<'a, BOOL>
) -> Result<IDWriteFontSet1>
pub unsafe fn GetFilteredFonts3(
&self,
indices: *const u32,
indexcount: u32
) -> Result<IDWriteFontSet1>
pub unsafe fn GetFilteredFontIndices<'a>(
&self,
properties: *const DWRITE_FONT_PROPERTY,
propertycount: u32,
selectanyproperty: impl IntoParam<'a, BOOL>,
indices: *mut u32,
maxindexcount: u32,
actualindexcount: *mut u32
) -> Result<()>
pub unsafe fn GetFilteredFontIndices2<'a>(
&self,
fontaxisranges: *const DWRITE_FONT_AXIS_RANGE,
fontaxisrangecount: u32,
selectanyrange: impl IntoParam<'a, BOOL>,
indices: *mut u32,
maxindexcount: u32,
actualindexcount: *mut u32
) -> Result<()>
pub unsafe fn GetFontAxisRanges(
&self,
fontaxisranges: *mut DWRITE_FONT_AXIS_RANGE,
maxfontaxisrangecount: u32,
actualfontaxisrangecount: *mut u32
) -> Result<()>
pub unsafe fn GetFontAxisRanges2(
&self,
listindex: u32,
fontaxisranges: *mut DWRITE_FONT_AXIS_RANGE,
maxfontaxisrangecount: u32,
actualfontaxisrangecount: *mut u32
) -> Result<()>
pub unsafe fn GetFontFaceReference2(
&self,
listindex: u32
) -> Result<IDWriteFontFaceReference1>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteFontSet2_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDWriteFontSet2
impl !Send for IDWriteFontSet2
impl !Sync for IDWriteFontSet2
impl Unpin for IDWriteFontSet2
impl UnwindSafe for IDWriteFontSet2
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more