#[repr(C)]pub struct IDWriteFactory1 {
pub lpVtbl: *const IDWriteFactory1Vtbl,
}
Fields§
§lpVtbl: *const IDWriteFactory1Vtbl
Implementations§
Source§impl IDWriteFactory1
impl IDWriteFactory1
pub unsafe fn GetEudcFontCollection( &self, fontCollection: *mut *mut IDWriteFontCollection, checkForUpdates: BOOL, ) -> HRESULT
pub unsafe fn CreateCustomRenderingParams( &self, gamma: FLOAT, enhancedContrast: FLOAT, enhancedContrastGrayscale: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE, renderingParams: *mut *mut IDWriteRenderingParams1, ) -> HRESULT
Methods from Deref<Target = IDWriteFactory>§
pub unsafe fn GetSystemFontCollection( &self, fontCollection: *mut *mut IDWriteFontCollection, checkForUpdates: BOOL, ) -> HRESULT
pub unsafe fn CreateCustomFontCollection( &self, collectionLoader: *mut IDWriteFontCollectionLoader, collectionKey: *const c_void, collectionKeySize: UINT32, fontCollection: *mut *mut IDWriteFontCollection, ) -> HRESULT
pub unsafe fn RegisterFontCollectionLoader( &self, fontCollectionLoader: *mut IDWriteFontCollectionLoader, ) -> HRESULT
pub unsafe fn UnregisterFontCollectionLoader( &self, fontCollectionLoader: *mut IDWriteFontCollectionLoader, ) -> HRESULT
pub unsafe fn CreateFontFileReference( &self, filePath: *const WCHAR, lastWriteTime: *const FILETIME, fontFile: *mut *mut IDWriteFontFile, ) -> HRESULT
pub unsafe fn CreateCustomFontFileReference( &self, fontFileReferenceKey: *const c_void, fontFileReferenceKeySize: UINT32, fontFileLoader: *mut IDWriteFontFileLoader, fontFile: *mut *mut IDWriteFontFile, ) -> HRESULT
pub unsafe fn CreateFontFace( &self, fontFaceType: DWRITE_FONT_FACE_TYPE, numberOfFiles: UINT32, fontFiles: *const *mut IDWriteFontFile, faceIndex: UINT32, fontFaceSimulationFlags: DWRITE_FONT_SIMULATIONS, fontFace: *mut *mut IDWriteFontFace, ) -> HRESULT
pub unsafe fn CreateRenderingParams( &self, renderingParams: *mut *mut IDWriteRenderingParams, ) -> HRESULT
pub unsafe fn CreateMonitorRenderingParams( &self, monitor: HMONITOR, renderingParams: *mut *mut IDWriteRenderingParams, ) -> HRESULT
pub unsafe fn CreateCustomRenderingParams( &self, gamma: FLOAT, enhancedContrast: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE, renderingParams: *mut *mut IDWriteRenderingParams, ) -> HRESULT
pub unsafe fn RegisterFontFileLoader( &self, fontFileLoader: *mut IDWriteFontFileLoader, ) -> HRESULT
pub unsafe fn UnregisterFontFileLoader( &self, fontFileLoader: *mut IDWriteFontFileLoader, ) -> HRESULT
pub unsafe fn CreateTextFormat( &self, fontFamilyName: *const WCHAR, fontCollection: *mut IDWriteFontCollection, fontWeight: DWRITE_FONT_WEIGHT, fontStyle: DWRITE_FONT_STYLE, fontStretch: DWRITE_FONT_STRETCH, fontSize: FLOAT, localeName: *const WCHAR, textFormat: *mut *mut IDWriteTextFormat, ) -> HRESULT
pub unsafe fn CreateTypography( &self, typography: *mut *mut IDWriteTypography, ) -> HRESULT
pub unsafe fn GetGdiInterop( &self, gdiInterop: *mut *mut IDWriteGdiInterop, ) -> HRESULT
pub unsafe fn CreateTextLayout( &self, string: *const WCHAR, stringLength: UINT32, textFormat: *mut IDWriteTextFormat, maxWidth: FLOAT, maxHeight: FLOAT, textLayout: *mut *mut IDWriteTextLayout, ) -> HRESULT
pub unsafe fn CreateGdiCompatibleTextLayout( &self, string: *const WCHAR, stringLength: UINT32, textFormat: *mut IDWriteTextFormat, layoutWidth: FLOAT, layoutHeight: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, useGdiNatrual: BOOL, textLayout: *mut *mut IDWriteTextLayout, ) -> HRESULT
pub unsafe fn CreateEllipsisTrimmingSign( &self, textFormat: *mut IDWriteTextFormat, trimmingSign: *mut *mut IDWriteInlineObject, ) -> HRESULT
pub unsafe fn CreateTextAnalyzer( &self, textAnalyzer: *mut *mut IDWriteTextAnalyzer, ) -> HRESULT
pub unsafe fn CreateNumberSubstitution( &self, substitutionMethod: DWRITE_NUMBER_SUBSTITUTION_METHOD, localeName: *const WCHAR, ignoreUserOverride: BOOL, numberSubstitution: *mut *mut IDWriteNumberSubstitution, ) -> HRESULT
pub unsafe fn CreateGlyphRunAnalysis( &self, glyphRun: *const DWRITE_GLYPH_RUN, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE, measuringMode: DWRITE_MEASURING_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT, glyphRunAnalysis: *mut *mut IDWriteGlyphRunAnalysis, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDWriteFactory1
impl Deref for IDWriteFactory1
Source§type Target = IDWriteFactory
type Target = IDWriteFactory
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDWriteFactory
fn deref(&self) -> &IDWriteFactory
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDWriteFactory1
impl RefUnwindSafe for IDWriteFactory1
impl !Send for IDWriteFactory1
impl !Sync for IDWriteFactory1
impl Unpin for IDWriteFactory1
impl UnwindSafe for IDWriteFactory1
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