[]
IDWriteFactory
[Guid("b859ee5a-d838-4b5b-a2e8-1adc7d93db48")]
public class Factory : ComObject, IDisposable, IUnknown
Name | Description |
---|---|
Factory(IntPtr) | Initializes a new instance of the Factory class. |
Name | Description |
---|---|
Create(FactoryType) | Creates a new instance of the Factory class. |
CreateCustomRenderingParams(float, float, float, PixelGeometry, RenderingMode) | HRESULT IDWriteFactory::CreateCustomRenderingParams([In] float gamma,[In] float enhancedContrast,[In] float clearTypeLevel,[In] DWRITE_PIXEL_GEOMETRY pixelGeometry,[In] DWRITE_RENDERING_MODE renderingMode,[Out, Fast] IDWriteRenderingParams** renderingParams) |
CreateEllipsisTrimmingSign(TextFormat) | HRESULT IDWriteFactory::CreateEllipsisTrimmingSign([In] IDWriteTextFormat* textFormat,[Out, Fast] IDWriteInlineObject** trimmingSign) |
CreateFontFace(FontFaceType, int, ComArray<FontFile>, int, FontSimulations) | HRESULT IDWriteFactory::CreateFontFace([In] DWRITE_FONT_FACE_TYPE fontFaceType,[In] unsigned int numberOfFiles,[In, Buffer] const IDWriteFontFile** fontFiles,[In] unsigned int faceIndex,[In] DWRITE_FONT_SIMULATIONS fontFaceSimulationFlags,[Out, Fast] IDWriteFontFace** fontFace) |
CreateFontFace(FontFaceType, int, FontFile[], int, FontSimulations) | HRESULT IDWriteFactory::CreateFontFace([In] DWRITE_FONT_FACE_TYPE fontFaceType,[In] unsigned int numberOfFiles,[In, Buffer] const IDWriteFontFile** fontFiles,[In] unsigned int faceIndex,[In] DWRITE_FONT_SIMULATIONS fontFaceSimulationFlags,[Out, Fast] IDWriteFontFace** fontFace) |
CreateFontFileReference(string, long?) | HRESULT IDWriteFactory::CreateFontFileReference([In] const wchar_t* filePath,[In, Optional] const FILETIME* lastWriteTime,[Out, Fast] IDWriteFontFile** fontFile) |
CreateGdiCompatibleTextLayout(string, int, TextFormat, float, float, float, Matrix3x2?, Bool) | HRESULT IDWriteFactory::CreateGdiCompatibleTextLayout([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] float layoutWidth,[In] float layoutHeight,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[Out, Fast] IDWriteTextLayout** textLayout) |
CreateGdiCompatibleTextLayout1(string, int, TextFormat, float, float, float, Matrix3x2?, Bool) | HRESULT IDWriteFactory::CreateGdiCompatibleTextLayout([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] float layoutWidth,[In] float layoutHeight,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[Out, Fast] IDWriteTextLayout** textLayout) |
CreateGlyphRunAnalysis(GlyphRun, float, Matrix3x2?, RenderingMode, MeasuringMode, float, float) | HRESULT IDWriteFactory::CreateGlyphRunAnalysis([In] const DWRITE_GLYPH_RUN* glyphRun,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] DWRITE_RENDERING_MODE renderingMode,[In] DWRITE_MEASURING_MODE measuringMode,[In] float baselineOriginX,[In] float baselineOriginY,[Out, Fast] IDWriteGlyphRunAnalysis** glyphRunAnalysis) |
CreateMonitorRenderingParams(IntPtr) | HRESULT IDWriteFactory::CreateMonitorRenderingParams([In] HMONITOR monitor,[Out, Fast] IDWriteRenderingParams** renderingParams) |
CreateNumberSubstitution(NumberSubstitutionMethod, string, Bool) | HRESULT IDWriteFactory::CreateNumberSubstitution([In] DWRITE_NUMBER_SUBSTITUTION_METHOD substitutionMethod,[In] const wchar_t* localeName,[In] BOOL ignoreUserOverride,[Out, Fast] IDWriteNumberSubstitution** numberSubstitution) |
CreateRenderingParams() | HRESULT IDWriteFactory::CreateRenderingParams([Out, Fast] IDWriteRenderingParams** renderingParams) |
CreateTextAnalyzer() | HRESULT IDWriteFactory::CreateTextAnalyzer([Out, Fast] IDWriteTextAnalyzer** textAnalyzer) |
CreateTextFormat(string, FontCollection, FontWeight, FontStyle, FontStretch, float, string) | HRESULT IDWriteFactory::CreateTextFormat([In] const wchar_t* fontFamilyName,[In, Optional] IDWriteFontCollection* fontCollection,[In] DWRITE_FONT_WEIGHT fontWeight,[In] DWRITE_FONT_STYLE fontStyle,[In] DWRITE_FONT_STRETCH fontStretch,[In] float fontSize,[In] const wchar_t* localeName,[Out, Fast] IDWriteTextFormat** textFormat) |
CreateTextLayout(string, int, TextFormat, float, float) | HRESULT IDWriteFactory::CreateTextLayout([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] float maxWidth,[In] float maxHeight,[Out, Fast] IDWriteTextLayout** textLayout) |
CreateTextLayout1(string, int, TextFormat, float, float) | HRESULT IDWriteFactory::CreateTextLayout([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] float maxWidth,[In] float maxHeight,[Out, Fast] IDWriteTextLayout** textLayout) |
CreateTypography() | HRESULT IDWriteFactory::CreateTypography([Out, Fast] IDWriteTypography** typography) |
GetGdiInterop() | HRESULT IDWriteFactory::GetGdiInterop([Out] IDWriteGdiInterop** gdiInterop) |
GetSystemFontCollection(Bool) | HRESULT IDWriteFactory::GetSystemFontCollection([Out] IDWriteFontCollection** fontCollection,[In] BOOL checkForUpdates) |
RegisterFontCollectionLoader(FontCollectionLoader) | Registers a custom font collection loader with the factory object. |
RegisterFontFileLoader(FontFileLoader) | Registers a font file loader with DirectWrite. |
UnregisterFontCollectionLoader(FontCollectionLoader) | Unregisters a custom font collection loader that was previously registered using {{RegisterFontCollectionLoader}}. |
UnregisterFontFileLoader(FontFileLoader) | Unregisters a font file loader that was previously registered with the DirectWrite font system using {{RegisterFontFileLoader}}. |
Name | Description |
---|---|
explicit operator Factory(IntPtr) |