Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFontSet2 [−][src]
#[repr(transparent)]pub struct IDWriteFontSet2(_);
Implementations
pub unsafe fn GetFontFaceReference(
&self,
listindex: u32,
fontfacereference: *mut Option<IDWriteFontFaceReference>
) -> HRESULT
[src]pub unsafe fn FindFontFaceReference<'a>(
&self,
fontfacereference: impl IntoParam<'a, IDWriteFontFaceReference>,
listindex: *mut u32,
exists: *mut BOOL
) -> HRESULT
[src]pub unsafe fn FindFontFace<'a>(
&self,
fontface: impl IntoParam<'a, IDWriteFontFace>,
listindex: *mut u32,
exists: *mut BOOL
) -> HRESULT
[src]pub unsafe fn GetPropertyValues(
&self,
listindex: u32,
propertyid: DWRITE_FONT_PROPERTY_ID,
exists: *mut BOOL,
values: *mut Option<IDWriteLocalizedStrings>
) -> HRESULT
[src]pub unsafe fn GetPropertyValues2<'a>(
&self,
propertyid: DWRITE_FONT_PROPERTY_ID,
preferredlocalenames: impl IntoParam<'a, PWSTR>,
values: *mut Option<IDWriteStringList>
) -> HRESULT
[src]pub unsafe fn GetPropertyValues3(
&self,
propertyid: DWRITE_FONT_PROPERTY_ID,
values: *mut Option<IDWriteStringList>
) -> HRESULT
[src]pub unsafe fn GetPropertyOccurrenceCount(
&self,
property: *const DWRITE_FONT_PROPERTY,
propertyoccurrencecount: *mut u32
) -> HRESULT
[src]pub unsafe fn GetMatchingFonts(
&self,
properties: *const DWRITE_FONT_PROPERTY,
propertycount: u32,
filteredset: *mut Option<IDWriteFontSet>
) -> HRESULT
[src]pub unsafe fn GetMatchingFonts2<'a>(
&self,
familyname: impl IntoParam<'a, PWSTR>,
fontweight: DWRITE_FONT_WEIGHT,
fontstretch: DWRITE_FONT_STRETCH,
fontstyle: DWRITE_FONT_STYLE,
filteredset: *mut Option<IDWriteFontSet>
) -> HRESULT
[src]pub unsafe fn GetMatchingFonts3(
&self,
fontproperty: *const DWRITE_FONT_PROPERTY,
fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32,
matchingfonts: *mut Option<IDWriteFontSet1>
) -> HRESULT
[src]pub unsafe fn GetFirstFontResources(
&self,
filteredfontset: *mut Option<IDWriteFontSet1>
) -> HRESULT
[src]pub unsafe fn GetFilteredFonts<'a>(
&self,
properties: *const DWRITE_FONT_PROPERTY,
propertycount: u32,
selectanyproperty: impl IntoParam<'a, BOOL>,
filteredfontset: *mut Option<IDWriteFontSet1>
) -> HRESULT
[src]pub unsafe fn GetFilteredFonts2<'a>(
&self,
fontaxisranges: *const DWRITE_FONT_AXIS_RANGE,
fontaxisrangecount: u32,
selectanyrange: impl IntoParam<'a, BOOL>,
filteredfontset: *mut Option<IDWriteFontSet1>
) -> HRESULT
[src]pub unsafe fn GetFilteredFonts3(
&self,
indices: *const u32,
indexcount: u32,
filteredfontset: *mut Option<IDWriteFontSet1>
) -> HRESULT
[src]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
) -> HRESULT
[src]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
) -> HRESULT
[src]pub unsafe fn GetFontAxisRanges(
&self,
fontaxisranges: *mut DWRITE_FONT_AXIS_RANGE,
maxfontaxisrangecount: u32,
actualfontaxisrangecount: *mut u32
) -> HRESULT
[src]pub unsafe fn GetFontAxisRanges2(
&self,
listindex: u32,
fontaxisranges: *mut DWRITE_FONT_AXIS_RANGE,
maxfontaxisrangecount: u32,
actualfontaxisrangecount: *mut u32
) -> HRESULT
[src]pub unsafe fn GetFontFaceReference2(
&self,
listindex: u32,
fontfacereference: *mut Option<IDWriteFontFaceReference1>
) -> HRESULT
[src]pub unsafe fn CreateFontResource(
&self,
listindex: u32,
fontresource: *mut Option<IDWriteFontResource>
) -> HRESULT
[src]pub unsafe fn CreateFontFace(
&self,
listindex: u32,
fontface: *mut Option<IDWriteFontFace5>
) -> HRESULT
[src]Trait Implementations
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
’s assume_init
method 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