Microsoft DirectX 9.0 SDK Update (October 2004)

Precision Enumeration

Language:

Note: This documentation is preliminary and is subject to change.

Specifies the desired output precision.

Definition

Visual Basic .NET Public Enum Precision
C# public enum Precision
Managed C++ __value public enum Precision
JScript .NET 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/Microsoft® 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®/Microsoft® Windows® 2000/Microsoft® Windows® XP: This value instructs the font mapper to choose from TrueType and other outline-based fonts.
TtOnly 7 Microsoft® Windows® 2000/Microsoft® 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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