| File: MS\Internal\FontFace\IDeviceFont.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.csproj (PresentationCore) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // // // Contents: Base definition of device font // // namespace MS.Internal.FontFace { internal interface IDeviceFont { /// <summary> /// Well known name of device font /// </summary> string Name { get; } /// <summary> /// Returns true if the device font maps the specified character. /// </summary> bool ContainsCharacter(int unicodeScalar); /// <summary> /// Return advance widths corresponding to characters in a given string. /// </summary> unsafe void GetAdvanceWidths( char* characterString, int characterLength, double emSize, int* pAdvances ); } }