IDWriteBitmapRenderTarget.DrawGlyphRun

<summary> Draws a run of glyphs to the bitmap. </summary> <param name="baselineOriginX">Horizontal position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.</param> <param name="baselineOriginY">Vertical position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.</param> <param name="measuringMode">Specifies measuring mode for glyphs in the run. Renderer implementations may choose different rendering modes for different measuring modes, for example DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL for DWRITE_MEASURING_MODE_NATURAL, DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC for DWRITE_MEASURING_MODE_GDI_CLASSIC, and DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL for DWRITE_MEASURING_MODE_GDI_NATURAL. </param> <param name="glyphRun">Structure containing the properties of the glyph run.</param> <param name="renderingParams">Object that controls rendering behavior.</param> <param name="textColor">Specifies the foreground color of the text.</param> <param name="blackBoxRect">Optional rectangle that receives the bounding box (in pixels not DIPs) of all the pixels affected by drawing the glyph run. The black box rectangle may extend beyond the dimensions of the bitmap.</param> <returns> Standard HRESULT error code. </returns>

interface IDWriteBitmapRenderTarget
extern (Windows)
HRESULT
DrawGlyphRun

Meta