Precision Enumeration

Language:

Specifies the desired output precision.

Definition

Visual Basic Public Enum Precision
C# public enum Precision
C++ public enum class Precision
JScript public enum Precision

Members

Member Value Description
Device 5 When more than one font has a given name, use the device font if available.
PsOnly 10 Microsoft Windows 2000/Windows XP: When more than one font has a given name, choose a PostScript font if available.
ScreenOutline 9 Specifies an outline-based screen font.
Outline 8 Microsoft Windows NT/Windows 2000/Windows XP: This value instructs the font mapper to choose from TrueType and other outline-based fonts.
TtOnly 7 Windows 2000/Windows XP: When more than one font has a given name, use the TrueType® font if available.
Raster 6 When more than one font has a given name, use the raster font if available.
Tt 4 When more than one font has a given name, use the TrueType font if available.
Stroke 3 Specifies a font with attributes that exactly match the requested attributes.
Character 2 Specifies the font with a size (height and width) that most closely matches the requested size. The driver may disregard the requested orientation, but other attributes must match.
String 1 Specifies a font with a size (height and width) that most closely matches the requested size. The driver may disregard the requested orientation and escapement, but other attributes must match.
Default 0 Specifies any reasonable font.

Remarks

The output precision defines how closely the output must match the requested fonts height, width, character orientation, escapement, and pitch.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center