aurora-directx ~master (2020-02-01T22:21:58Z)
Dub
Repo
ID2D1DeviceContext4.DrawText
aurora
directx
d2d1
d2d1_3
ID2D1DeviceContext4
Undocumented in source. Be warned that the author may not have intended to support it.
void
DrawText
(WCHAR* string, uint stringLength, IDWriteTextFormat textFormat, D2D1_RECT_F* layoutRect, ID2D1Brush defaultFillBrush, ID2D1SvgGlyphStyle svgGlyphStyle, uint colorPaletteIndex, D2D1_DRAW_TEXT_OPTIONS options, DWRITE_MEASURING_MODE measuringMode)
void
DrawText
(WCHAR* string, uint stringLength, IDWriteTextFormat textFormat, D2D1_RECT_F layoutRect, ID2D1Brush defaultFillBrush, ID2D1SvgGlyphStyle svgGlyphStyle, uint colorPaletteIndex, D2D1_DRAW_TEXT_OPTIONS options, DWRITE_MEASURING_MODE measuringMode)
interface
ID2D1DeviceContext4
extern (
Windows
) final
void
DrawText
(
const
WCHAR
*
string
,
uint
stringLength
,
IDWriteTextFormat
textFormat
,
const
D2D1_RECT_F
layoutRect
,
ID2D1Brush
defaultFillBrush
,
ID2D1SvgGlyphStyle
svgGlyphStyle
,
uint
colorPaletteIndex
= 0
,
D2D1_DRAW_TEXT_OPTIONS
options
=
D2D1_DRAW_TEXT_OPTIONS.ENABLE_COLOR_FONT
,
DWRITE_MEASURING_MODE
measuringMode
=
DWRITE_MEASURING_MODE.NATURAL
)
Meta
Source
See Implementation
aurora
directx
d2d1
d2d1_3
ID2D1DeviceContext4
functions
CreateSvgGlyphStyle
DrawColorBitmapGlyphRun
DrawSvgGlyphRun
DrawText
DrawTextLayout
GetColorBitmapGlyphImage
GetSvgGlyphImage