aurora-directx ~master (2020-02-01T22:21:58Z)
Dub
Repo
ID2D1DeviceContext4.DrawText
aurora
directx
d2d1
d2d1_3
ID2D1DeviceContext4
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
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
)
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
)
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)
Meta
Source
See Implementation
aurora
directx
d2d1
d2d1_3
ID2D1DeviceContext4
functions
CreateSvgGlyphStyle
DrawColorBitmapGlyphRun
DrawSvgGlyphRun
DrawText
DrawTextLayout
GetColorBitmapGlyphImage
GetSvgGlyphImage