[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.BitmapRenderTarget.DrawGlyphRun

DrawGlyphRun Method

DrawGlyphRun(float, float, MeasuringMode, GlyphRun, RenderingParams, int)

Draws a run of glyphs to a bitmap target at the specified position.

Declaration
public void DrawGlyphRun(float baselineOriginX, float baselineOriginY, MeasuringMode measuringMode, GlyphRun glyphRun, RenderingParams renderingParams, int textColor)
Parameters
Type Name Description
float baselineOriginX

The horizontal position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.

float baselineOriginY

The vertical position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.

MeasuringMode measuringMode

The measuring method for glyphs in the run, used with the other properties to determine the rendering mode.

GlyphRun glyphRun

The structure containing the properties of the glyph run.

RenderingParams renderingParams

The object that controls rendering behavior.

int textColor

The foreground color of the text.

DrawGlyphRun(float, float, MeasuringMode, GlyphRun, RenderingParams, int, out RectL)

HRESULT IDWriteBitmapRenderTarget::DrawGlyphRun([In] float baselineOriginX,[In] float baselineOriginY,[In] DWRITE_MEASURING_MODE measuringMode,[In] const DWRITE_GLYPH_RUN* glyphRun,[In] IDWriteRenderingParams* renderingParams,[In] COLORREF textColor,[Out, Optional] RECT* blackBoxRect)

Declaration
public void DrawGlyphRun(float baselineOriginX, float baselineOriginY, MeasuringMode measuringMode, GlyphRun glyphRun, RenderingParams renderingParams, int textColor, out RectL blackBoxRect)
Parameters
Type Name Description
float baselineOriginX
float baselineOriginY
MeasuringMode measuringMode
GlyphRun glyphRun
RenderingParams renderingParams
int textColor
RectL blackBoxRect