public DWriteFontList GetMatchingFonts(DWriteFontWeight weight, DWriteFontStretch stretch, DWriteFontStyle style) { IDWriteFontList matchingFonts; this.handle.GetMatchingFonts(weight, stretch, style, out matchingFonts); return(new DWriteFontList(matchingFonts)); }
public DWriteFont GetFirstMatchingFont(DWriteFontWeight weight, DWriteFontStretch stretch, DWriteFontStyle style) { IDWriteFont matchingFont; this.handle.GetFirstMatchingFont(weight, stretch, style, out matchingFont); return(new DWriteFont(matchingFont)); }
public DWriteTextFormat CreateTextFormat( string fontFamilyName, DWriteFontCollection fontCollection, DWriteFontWeight fontWeight, DWriteFontStyle fontStyle, DWriteFontStretch fontStretch, float fontSize, string localeName) { IDWriteTextFormat textFormat; this.handle.CreateTextFormat( fontFamilyName, fontCollection == null ? null : (IDWriteFontCollection)fontCollection.Handle, fontWeight, fontStyle, fontStretch, fontSize, localeName, out textFormat); return(new DWriteTextFormat(textFormat)); }
public void SetFontStretch(DWriteFontStretch fontStretch, DWriteTextRange textRange) { this.handle.SetFontStretch(fontStretch, textRange); }
public DWriteTextFormat CreateTextFormat( string fontFamilyName, DWriteFontCollection fontCollection, DWriteFontWeight fontWeight, DWriteFontStyle fontStyle, DWriteFontStretch fontStretch, float fontSize, string localeName) { IDWriteTextFormat textFormat; this.handle.CreateTextFormat( fontFamilyName, fontCollection == null ? null : (IDWriteFontCollection)fontCollection.Handle, fontWeight, fontStyle, fontStretch, fontSize, localeName, out textFormat); return new DWriteTextFormat(textFormat); }
public DWriteFontList GetMatchingFonts(DWriteFontWeight weight, DWriteFontStretch stretch, DWriteFontStyle style) { IDWriteFontList matchingFonts; this.handle.GetMatchingFonts(weight, stretch, style, out matchingFonts); return new DWriteFontList(matchingFonts); }
public DWriteFont GetFirstMatchingFont(DWriteFontWeight weight, DWriteFontStretch stretch, DWriteFontStyle style) { IDWriteFont matchingFont; this.handle.GetFirstMatchingFont(weight, stretch, style, out matchingFont); return new DWriteFont(matchingFont); }