Bitmap for WPF
DrawGlyphRun(Object,Single,Single,GlyphOrientationAngle,MeasuringMode,GlyphRun,GlyphRunDescription,IntPtr) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > TextRenderer1Base クラス > DrawGlyphRun メソッド : DrawGlyphRun(Object,Single,Single,GlyphOrientationAngle,MeasuringMode,GlyphRun,GlyphRunDescription,IntPtr) メソッド
The application-defined drawing context passed to TextLayout.Draw.
The pixel location (X-coordinate) at the baseline origin of the glyph run.
The pixel location (Y-coordinate) at the baseline origin of the glyph run.
Orientation of the glyph run.
The measuring method for glyphs in the run, used with the other properties to determine the rendering mode.
Pointer to the glyph run instance to render.
A pointer to the optional glyph run description instance which contains properties of the characters associated with this run.
Application-defined drawing effects for the glyphs to render. Usually this argument represents effects such as the foreground brush filling the interior of text.
IDWriteTextLayout::Draw calls this function to instruct the client to render a run of glyphs.
シンタックス
'宣言
 
Public Overloads Overridable Function DrawGlyphRun( _
   ByVal clientDrawingContext As System.Object, _
   ByVal baselineOriginX As System.Single, _
   ByVal baselineOriginY As System.Single, _
   ByVal orientationAngle As GlyphOrientationAngle, _
   ByVal measuringMode As MeasuringMode, _
   ByVal glyphRun As GlyphRun, _
   ByVal glyphRunDescription As GlyphRunDescription, _
   ByVal clientDrawingEffectPtr As System.IntPtr _
) As HResult
public virtual HResult DrawGlyphRun( 
   System.object clientDrawingContext,
   System.float baselineOriginX,
   System.float baselineOriginY,
   GlyphOrientationAngle orientationAngle,
   MeasuringMode measuringMode,
   GlyphRun glyphRun,
   GlyphRunDescription glyphRunDescription,
   System.IntPtr clientDrawingEffectPtr
)

パラメータ

clientDrawingContext
The application-defined drawing context passed to TextLayout.Draw.
baselineOriginX
The pixel location (X-coordinate) at the baseline origin of the glyph run.
baselineOriginY
The pixel location (Y-coordinate) at the baseline origin of the glyph run.
orientationAngle
Orientation of the glyph run.
measuringMode
The measuring method for glyphs in the run, used with the other properties to determine the rendering mode.
glyphRun
Pointer to the glyph run instance to render.
glyphRunDescription
A pointer to the optional glyph run description instance which contains properties of the characters associated with this run.
clientDrawingEffectPtr
Application-defined drawing effects for the glyphs to render. Usually this argument represents effects such as the foreground brush filling the interior of text.

戻り値の型

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
参照

TextRenderer1Base クラス
TextRenderer1Base メンバ
オーバーロード一覧