Bitmap for UWP
DrawInlineObject(Object,Single,Single,GlyphOrientationAngle,InlineObject,Boolean,Boolean,IntPtr) メソッド

C1.UWP.DX アセンブリ > C1.Util.DX.DirectWrite 名前空間 > TextRenderer1Base クラス > DrawInlineObject メソッド : DrawInlineObject(Object,Single,Single,GlyphOrientationAngle,InlineObject,Boolean,Boolean,IntPtr) メソッド
The application-defined drawing context passed to IDWriteTextLayout::Draw.
X-coordinate at the top-left corner of the inline object.
Y-coordinate at the top-left corner of the inline object.
Orientation of the inline object.
The application-defined inline object set using IDWriteTextFormat::SetInlineObject.
A Boolean flag that indicates whether the object's baseline runs alongside the baseline axis of the line.
A Boolean flag that indicates whether the object is in a right-to-left context, hinting that the drawing may want to mirror the normal image.
Application-defined drawing effects for the glyphs to render. Usually this argument represents effects such as the foreground brush filling the interior of a line.
IDWriteTextLayout::Draw calls this application callback when it needs to draw an inline object.
シンタックス
'宣言
 
Public Overloads Overridable Function DrawInlineObject( _
   ByVal clientDrawingContext As System.Object, _
   ByVal originX As System.Single, _
   ByVal originY As System.Single, _
   ByVal orientationAngle As GlyphOrientationAngle, _
   ByVal inlineObject As InlineObject, _
   ByVal isSideways As System.Boolean, _
   ByVal isRightToLeft As System.Boolean, _
   ByVal clientDrawingEffectPtr As System.IntPtr _
) As HResult
public virtual HResult DrawInlineObject( 
   System.object clientDrawingContext,
   System.float originX,
   System.float originY,
   GlyphOrientationAngle orientationAngle,
   InlineObject inlineObject,
   System.bool isSideways,
   System.bool isRightToLeft,
   System.IntPtr clientDrawingEffectPtr
)

パラメータ

clientDrawingContext
The application-defined drawing context passed to IDWriteTextLayout::Draw.
originX
X-coordinate at the top-left corner of the inline object.
originY
Y-coordinate at the top-left corner of the inline object.
orientationAngle
Orientation of the inline object.
inlineObject
The application-defined inline object set using IDWriteTextFormat::SetInlineObject.
isSideways
A Boolean flag that indicates whether the object's baseline runs alongside the baseline axis of the line.
isRightToLeft
A Boolean flag that indicates whether the object is in a right-to-left context, hinting that the drawing may want to mirror the normal image.
clientDrawingEffectPtr
Application-defined drawing effects for the glyphs to render. Usually this argument represents effects such as the foreground brush filling the interior of a line.

戻り値の型

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

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