Struct winapi::dwrite::IDWriteFactory
[−]
[src]
pub struct IDWriteFactory { pub lpVtbl: *const IDWriteFactoryVtbl, }
Fields
lpVtbl |
Methods
impl IDWriteFactory
[src]
unsafe fn GetSystemFontCollection(&mut self, fontCollection: *mut *mut IDWriteFontCollection, checkForUpdates: BOOL) -> HRESULT
unsafe fn CreateCustomFontCollection(&mut self, collectionLoader: *mut IDWriteFontCollectionLoader, collectionKey: *const c_void, collectionKeySize: UINT32, fontCollection: *mut *mut IDWriteFontCollection) -> HRESULT
unsafe fn RegisterFontCollectionLoader(&mut self, fontCollectionLoader: *mut IDWriteFontCollectionLoader) -> HRESULT
unsafe fn UnregisterFontCollectionLoader(&mut self, fontCollectionLoader: *mut IDWriteFontCollectionLoader) -> HRESULT
unsafe fn CreateFontFileReference(&mut self, filePath: *const WCHAR, lastWriteTime: *const FILETIME, fontFile: *mut *mut IDWriteFontFile) -> HRESULT
unsafe fn CreateCustomFontFileReference(&mut self, fontFileReferenceKey: *const c_void, fontFileReferenceKeySize: UINT32, fontFileLoader: *mut IDWriteFontFileLoader, fontFile: *mut *mut IDWriteFontFile) -> HRESULT
unsafe fn CreateFontFace(&mut self, fontFaceType: DWRITE_FONT_FACE_TYPE, numberOfFiles: UINT32, fontFiles: *const *mut IDWriteFontFile, faceIndex: UINT32, fontFaceSimulationFlags: DWRITE_FONT_SIMULATIONS, fontFace: *mut *mut IDWriteFontFace) -> HRESULT
unsafe fn CreateRenderingParams(&mut self, renderingParams: *mut *mut IDWriteRenderingParams) -> HRESULT
unsafe fn CreateMonitorRenderingParams(&mut self, monitor: HMONITOR, renderingParams: *mut *mut IDWriteRenderingParams) -> HRESULT
unsafe fn CreateCustomRenderingParams(&mut self, gamma: FLOAT, enhancedContrast: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE, renderingParams: *mut *mut IDWriteRenderingParams) -> HRESULT
unsafe fn RegisterFontFileLoader(&mut self, fontFileLoader: *mut IDWriteFontFileLoader) -> HRESULT
unsafe fn UnregisterFontFileLoader(&mut self, fontFileLoader: *mut IDWriteFontFileLoader) -> HRESULT
unsafe fn CreateTextFormat(&mut 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
unsafe fn CreateTypography(&mut self, typography: *mut *mut IDWriteTypography) -> HRESULT
unsafe fn GetGdiInterop(&mut self, gdiInterop: *mut *mut IDWriteGdiInterop) -> HRESULT
unsafe fn CreateTextLayout(&mut self, string: *const WCHAR, stringLength: UINT32, textFormat: *mut IDWriteTextFormat, maxWidth: FLOAT, maxHeight: FLOAT, textLayout: *mut *mut IDWriteTextLayout) -> HRESULT
unsafe fn CreateGdiCompatibleTextLayout(&mut 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
unsafe fn CreateEllipsisTrimmingSign(&mut self, textFormat: *mut IDWriteTextFormat, trimmingSign: *mut *mut IDWriteInlineObject) -> HRESULT
unsafe fn CreateTextAnalyzer(&mut self, textAnalyzer: *mut *mut IDWriteTextAnalyzer) -> HRESULT
unsafe fn CreateNumberSubstitution(&mut self, substitutionMethod: DWRITE_NUMBER_SUBSTITUTION_METHOD, localeName: *const WCHAR, ignoreUserOverride: BOOL, numberSubstitution: *mut *mut IDWriteNumberSubstitution) -> HRESULT
unsafe fn CreateGlyphRunAnalysis(&mut 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
Methods from Deref<Target=IUnknown>
unsafe fn QueryInterface(&mut self, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT
unsafe fn AddRef(&mut self) -> ULONG
unsafe fn Release(&mut self) -> ULONG
Trait Implementations
impl Deref for IDWriteFactory
[src]
type Target = IUnknown
The resulting type after dereferencing
fn deref(&self) -> &IUnknown
The method called to dereference a value