DWriteCore

若要使用 DWriteCore 进行开发,需要这些标头。

有关此技术的编程指南,请参阅 使用 DWriteCore 呈现文本

注意

dwrite_core.h 标头对 DWriteCore 是唯一的。 dwrite.h 和 dwrite_3.h 标头声明 DirectWrite 和 DWriteCore 支持的 API,以及 DWriteCore 特有的一小组 API。 dwrite_2.h 标头仅声明 DirectWrite 和 DWriteCore 支持的 API。

枚举

 
DWRITE_AUTOMATIC_FONT_AXES

DWRITE_BASELINE

DWRITE_COLOR_COMPOSITE_MODE

DWRITE_CONTAINER_TYPE

DWRITE_FACTORY_TYPE

指定DirectWrite工厂对象的类型。
DWRITE_FONT_AXIS_ATTRIBUTES

DWRITE_FONT_AXIS_TAG

DWRITE_FONT_FAMILY_MODEL

DWRITE_FONT_LINE_GAP_USAGE

DWRITE_FONT_PROPERTY_ID

DWRITE_FONT_SOURCE_TYPE

DWRITE_GLYPH_ORIENTATION_ANGLE

DWRITE_GRID_FIT_MODE

DWRITE_LOCALITY

DWRITE_OPTICAL_ALIGNMENT

DWRITE_OUTLINE_THRESHOLD

DWRITE_PAINT_ATTRIBUTES

DWRITE_PAINT_FEATURE_LEVEL

DWRITE_PAINT_TYPE

DWRITE_PANOSE_ARM_STYLE

DWRITE_PANOSE_ASPECT

DWRITE_PANOSE_ASPECT_RATIO

DWRITE_PANOSE_CHARACTER_RANGES

DWRITE_PANOSE_CONTRAST

DWRITE_PANOSE_DECORATIVE_CLASS

DWRITE_PANOSE_DECORATIVE_TOPOLOGY

DWRITE_PANOSE_FAMILY

DWRITE_PANOSE_FILL

DWRITE_PANOSE_FINIALS

DWRITE_PANOSE_LETTERFORM

DWRITE_PANOSE_LINING

DWRITE_PANOSE_MIDLINE

DWRITE_PANOSE_PROPORTION

DWRITE_PANOSE_SCRIPT_FORM

DWRITE_PANOSE_SCRIPT_TOPOLOGY

DWRITE_PANOSE_SERIF_STYLE

DWRITE_PANOSE_SPACING

DWRITE_PANOSE_STROKE_VARIATION

DWRITE_PANOSE_SYMBOL_ASPECT_RATIO

DWRITE_PANOSE_SYMBOL_KIND

DWRITE_PANOSE_TOOL_KIND

DWRITE_PANOSE_WEIGHT

DWRITE_PANOSE_XASCENT

DWRITE_PANOSE_XHEIGHT

DWRITE_RENDERING_MODE1

DWRITE_TEXT_ANTIALIAS_MODE

DWRITE_VERTICAL_GLYPH_ORIENTATION

函数

 
AddFont

AddFontFaceReference

AddFontFaceReference

AddFontFile

AddFontFile

AddFontSet

AddListener

AddMapping

AddMappings

AnalyzeContainerType

AnalyzeVerticalGlyphOrientation

ApplyCharacterSpacing

AreCharactersLocal

AreGlyphsLocal

BeginDownload

BeginDownload

CancelDownload

CheckTypographicFeature

ComputeGlyphOrigins

ComputeGlyphOrigins

ConvertWeightStretchStyleToFontAxisValues

CreateCustomRenderingParams

CreateCustomRenderingParams

CreateCustomRenderingParams

CreateFontCollectionFromFontSet

CreateFontCollectionFromFontSet

CreateFontFace

CreateFontFace

CreateFontFace

CreateFontFace

CreateFontFace

CreateFontFaceReference

CreateFontFaceReference

CreateFontFaceReference

CreateFontFaceReference

CreateFontFaceWithSimulations

CreateFontFallback

CreateFontFallbackBuilder

CreateFontFileReferenceFromUrl

CreateFontFromLOGFONT

CreateFontResource

CreateFontResource

CreateFontSet

CreateFontSetBuilder

CreateFontSetBuilder

CreateFontSetBuilder

CreateGlyphRunAnalysis

CreateGlyphRunAnalysis

CreateHttpFontFileLoader

CreateInMemoryFontFileLoader

CreateInMemoryFontFileReference

CreatePaintReader

CreateRemoteStreamFromKey

CreateTextFormat

DownloadCompleted

DrawGlyphRun

DrawGlyphRunWithColorSupport

DrawInlineObject

DrawPaintGlyphRun

DrawStrikethrough

DrawUnderline

DWRITE_MAKE_FONT_AXIS_TAG

DWriteCoreCreateFactory

创建工厂对象,用于后续创建单个 DWriteCore 对象。
EnqueueCharacterDownloadRequest

EnqueueFileFragmentDownloadRequest

EnqueueFontDownloadRequest

EnqueueGlyphDownloadRequest

等于

等于

等于

FindFontFace

FindFontFaceReference

GetAutomaticFontAxes

GetAutomaticFontAxes

GetAxisNames

GetAxisValueNameCount

GetAxisValueNames

GetBaseline

GetBitmapData

从位图呈现目标检索像素数据。
GetCaretMetrics

GetCharacterSpacing

GetColorPaletteCount

GetCount

GetCurrentRun

GetCurrentRun

GetDefaultFontAxisValues

GetDesignGlyphAdvances

GetEudcFontCollection

GetExpirationEvent

GetExpirationEvent

GetFaceNames

GetFaceNames

GetFamilyNames

GetFamilyNames

GetFileCount

GetFileFragmentLocality

GetFileSize

GetFileTime

GetFilteredFontIndices

GetFilteredFontIndices

GetFilteredFonts

GetFilteredFonts

GetFilteredFonts

GetFirstFontResources

GetFont

GetFont

GetFontAxisAttributes

GetFontAxisCount

GetFontAxisRanges

GetFontAxisRanges

GetFontAxisRanges

GetFontAxisValueCount

GetFontAxisValueCount

GetFontAxisValueCount

GetFontAxisValueCount

GetFontAxisValues

GetFontAxisValues

GetFontAxisValues

GetFontAxisValues

GetFontCount

GetFontDownloadQueue

GetFontFaceIndex

GetFontFaceIndex

GetFontFaceReference

GetFontFaceReference

GetFontFaceReference

GetFontFaceReference

GetFontFaceReference

GetFontFaceReference

GetFontFallback

GetFontFallback

GetFontFamily

GetFontFamily

GetFontFamilyModel

GetFontFile

GetFontFile

GetFontLocality

GetFontLocality

GetFontLocality

GetFontResource

GetFontSet

GetFontSet

GetFontSet

GetFontSet

GetFontSignature

GetFontSignature

GetFontSourceName

GetFontSourceNameLength

GetFontSourceType

GetGdiCompatibleGlyphAdvances

GetGdiCompatibleMetrics

GetGenerationCount

GetGlyphImageData

GetGlyphImageFormats

GetGlyphImageFormats

GetGlyphOrientationTransform

GetGlyphOrientationTransform

GetGradientStopColors

GetGradientStops

GetGrayscaleEnhancedContrast

GetGridFitMode

GetInformationalStrings

GetJustificationOpportunities

GetJustifiedGlyphs

GetKerningPairAdjustments

GetLastLineWrapping

GetLastLineWrapping

GetLineMetrics

GetLineSpacing

GetLineSpacing

GetLocaleName

GetLocaleNameLength

GetLocalFileSize

GetLocalFileSize

GetLocality

GetLocality

GetLocality

GetLocalityFromKey

GetMatchingFonts

GetMatchingFonts

GetMatchingFonts

GetMatchingFonts

GetMatchingFonts

GetMatchingFonts

GetMatchingFontsByLOGFONT

GetMetrics

GetMetrics

GetMetrics

GetOpticalAlignment

GetOpticalAlignment

GetPaintFeatureLevel

GetPaintFeatureLevel

GetPairKerning

GetPaletteEntries

GetPaletteEntryCount

GetPanose

GetPanose

GetPropertyOccurrenceCount

GetPropertyValues

GetPropertyValues

GetPropertyValues

GetRecommendedRenderingMode

GetRecommendedRenderingMode

GetRecommendedRenderingMode

GetRenderingMode1

GetResult

GetScriptProperties

GetSimulations

GetStretch

GetString

GetStringLength

GetStyle

GetSystemFontCollection

GetSystemFontCollection

GetSystemFontCollection

GetSystemFontFallback

GetSystemFontSet

GetSystemFontSet

GetSystemFontSet

GetTextAntialiasMode

GetTextComplexity

GetTypographicFeatures

GetUnicodeRanges

GetUnicodeRanges

GetVerticalGlyphOrientation

GetVerticalGlyphOrientation

GetVerticalGlyphOrientation

GetVerticalGlyphVariants

GetWaitHandle

GetWeight

HasCharacter

HasCharacter

HasKerningPairs

HasVariations

HasVariations

HasVerticalGlyphVariants

InvalidateLayout

IsCharacterLocal

IsColorFont

IsColorFont

IsEmpty

IsGlyphLocal

IsMonospacedFont

IsMonospacedFont

JustifyGlyphAdvances

MapCharacters

MapCharacters

MoveNext

MoveToFirstChild

MoveToNextSibling

MoveToParent

ReleaseGlyphImageData

RemoveListener

SetAutomaticFontAxes

SetAutomaticFontAxes

SetCharacterSpacing

SetColorPaletteIndex

SetCurrentGlyph

SetCurrentGlyph

SetCustomColorPalette

SetFontAxisValues

SetFontAxisValues

SetFontFallback

SetFontFallback

SetGlyphOrientation

SetLastLineWrapping

SetLastLineWrapping

SetLineSpacing

SetLineSpacing

SetOpticalAlignment

SetOpticalAlignment

SetPairKerning

SetTextAntialiasMode

SetTextColor

SetVerticalGlyphOrientation

SetVerticalGlyphOrientation

TranslateColorGlyphRun

TranslateColorGlyphRun

TranslateColorGlyphRun

UnpackFontFile

接口

 
IDWriteAsyncResult

IDWriteBitmapRenderTarget1

IDWriteBitmapRenderTarget2

封装与设备无关的 32 位位位图和设备上下文,可用于呈现字形。
IDWriteBitmapRenderTarget3

IDWriteColorGlyphRunEnumerator

IDWriteColorGlyphRunEnumerator1

IDWriteFactory1

IDWriteFactory2

IDWriteFactory3

IDWriteFactory4

IDWriteFactory5

IDWriteFactory6

IDWriteFactory7

IDWriteFactory8

IDWriteFont1

IDWriteFont2

IDWriteFont3

IDWriteFontCollection1

IDWriteFontCollection2

IDWriteFontCollection3

IDWriteFontDownloadListener

IDWriteFontDownloadQueue

IDWriteFontFace1

IDWriteFontFace2

IDWriteFontFace3

IDWriteFontFace4

IDWriteFontFace5

IDWriteFontFace6

IDWriteFontFace7

IDWriteFontFaceReference

IDWriteFontFaceReference1

IDWriteFontFallback

IDWriteFontFallback1

IDWriteFontFallbackBuilder

IDWriteFontFamily1

IDWriteFontFamily2

IDWriteFontList1

IDWriteFontList2

IDWriteFontResource

IDWriteFontSet

IDWriteFontSet1

IDWriteFontSet2

IDWriteFontSet3

IDWriteFontSet4

IDWriteFontSetBuilder

IDWriteFontSetBuilder1

IDWriteFontSetBuilder2

IDWriteGdiInterop1

IDWriteInMemoryFontFileLoader

IDWritePaintReader

IDWriteRemoteFontFileLoader

IDWriteRemoteFontFileStream

IDWriteRenderingParams1

IDWriteRenderingParams2

IDWriteRenderingParams3

IDWriteStringList

IDWriteTextAnalysisSink1

IDWriteTextAnalysisSource1

IDWriteTextAnalyzer1

IDWriteTextAnalyzer2

IDWriteTextFormat1

IDWriteTextFormat2

IDWriteTextFormat3

IDWriteTextLayout1

IDWriteTextLayout2

IDWriteTextLayout3

IDWriteTextLayout4

IDWriteTextRenderer1

結構

 
D3DCOLORVALUE

DWRITE_BITMAP_DATA_BGRA32

表示 BGRA32 格式的位图数据。
DWRITE_CARET_METRICS

DWRITE_COLOR_GLYPH_RUN

DWRITE_COLOR_GLYPH_RUN1

DWRITE_FILE_FRAGMENT

DWRITE_FONT_AXIS_RANGE

DWRITE_FONT_AXIS_VALUE

DWRITE_FONT_METRICS1

DWRITE_FONT_PROPERTY

DWRITE_GLYPH_IMAGE_DATA

DWRITE_JUSTIFICATION_OPPORTUNITY

DWRITE_LINE_METRICS1

DWRITE_LINE_SPACING

DWRITE_PAINT_COLOR

DWRITE_PAINT_ELEMENT

DWRITE_PANOSE

DWRITE_SCRIPT_PROPERTIES

DWRITE_TEXT_METRICS1

DWRITE_UNICODE_RANGE