[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.CommandSinkNative

CommandSinkNative Class

ID2D1CommandSink

Namespace: C1.Util.DX.Direct2D
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("54d7898a-a061-40a7-bec7-e465bcba2c4f")]
public class CommandSinkNative : ComObjectCallback, IUnknown, CommandSink, ICallbackable, IDisposable

Constructors

Name Description
CommandSinkNative(IntPtr)

Initializes a new instance of the CommandSinkNative class.

Methods

Name Description
BeginDraw()

HRESULT ID2D1CommandSink::BeginDraw()

Clear(ColorF?)

HRESULT ID2D1CommandSink::Clear([In, Optional] const D2D_COLOR_F* color)

DrawBitmap(Bitmap, RectF?, float, InterpolationMode, RectF?, Matrix4x4?)

HRESULT ID2D1CommandSink::DrawBitmap([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D_RECT_F* destinationRectangle,[In] float opacity,[In] D2D1_INTERPOLATION_MODE interpolationMode,[In, Optional] const D2D_RECT_F* sourceRectangle,[In, Optional] const D2D_MATRIX_4X4_F* perspectiveTransform)

DrawGdiMetafile(GdiMetafile, Point2F?)

HRESULT ID2D1CommandSink::DrawGdiMetafile([In] ID2D1GdiMetafile* gdiMetafile,[In, Optional] const D2D_POINT_2F* targetOffset)

DrawGeometry(Geometry, Brush, float, StrokeStyle)

HRESULT ID2D1CommandSink::DrawGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)

DrawGlyphRun(Point2F, GlyphRun, GlyphRunDescription, Brush, MeasuringMode)

HRESULT ID2D1CommandSink::DrawGlyphRun([In] D2D_POINT_2F baselineOrigin,[In] const DWRITE_GLYPH_RUN* glyphRun,[In, Optional] const DWRITE_GLYPH_RUN_DESCRIPTION* glyphRunDescription,[In] ID2D1Brush* foregroundBrush,[In] DWRITE_MEASURING_MODE measuringMode)

DrawImage(Image, Point2F?, RectF?, InterpolationMode, CompositeMode)

HRESULT ID2D1CommandSink::DrawImage([In] ID2D1Image* image,[In, Optional] const D2D_POINT_2F* targetOffset,[In, Optional] const D2D_RECT_F* imageRectangle,[In] D2D1_INTERPOLATION_MODE interpolationMode,[In] D2D1_COMPOSITE_MODE compositeMode)

DrawLine(Point2F, Point2F, Brush, float, StrokeStyle)

HRESULT ID2D1CommandSink::DrawLine([In] D2D_POINT_2F point0,[In] D2D_POINT_2F point1,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)

DrawRectangle(RectF, Brush, float, StrokeStyle)

HRESULT ID2D1CommandSink::DrawRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)

EndDraw()

HRESULT ID2D1CommandSink::EndDraw()

FillGeometry(Geometry, Brush, Brush)

HRESULT ID2D1CommandSink::FillGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[In, Optional] ID2D1Brush* opacityBrush)

FillMesh(Mesh, Brush)

HRESULT ID2D1CommandSink::FillMesh([In] ID2D1Mesh* mesh,[In] ID2D1Brush* brush)

FillOpacityMask(Bitmap, Brush, RectF?, RectF?)

HRESULT ID2D1CommandSink::FillOpacityMask([In] ID2D1Bitmap* opacityMask,[In] ID2D1Brush* brush,[In, Optional] const D2D_RECT_F* destinationRectangle,[In, Optional] const D2D_RECT_F* sourceRectangle)

FillRectangle(RectF, Brush)

HRESULT ID2D1CommandSink::FillRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush)

PopAxisAlignedClip()

HRESULT ID2D1CommandSink::PopAxisAlignedClip()

PopLayer()

HRESULT ID2D1CommandSink::PopLayer()

PushAxisAlignedClip(RectF, AntialiasMode)

HRESULT ID2D1CommandSink::PushAxisAlignedClip([In] const D2D_RECT_F* clipRect,[In] D2D1_ANTIALIAS_MODE antialiasMode)

PushLayer(ref LayerParameters1, Layer)

HRESULT ID2D1CommandSink::PushLayer([In] const D2D1_LAYER_PARAMETERS1* layerParameters1,[In, Optional] ID2D1Layer* layer)

SetAntialiasMode(AntialiasMode)

HRESULT ID2D1CommandSink::SetAntialiasMode([In] D2D1_ANTIALIAS_MODE antialiasMode)

SetPrimitiveBlend(PrimitiveBlend)

HRESULT ID2D1CommandSink::SetPrimitiveBlend([In] D2D1_PRIMITIVE_BLEND primitiveBlend)

SetTags(long, long)

HRESULT ID2D1CommandSink::SetTags([In] unsigned longlong tag1,[In] unsigned longlong tag2)

SetTextAntialiasMode(TextAntialiasMode)

HRESULT ID2D1CommandSink::SetTextAntialiasMode([In] D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode)

SetTextRenderingParams(RenderingParams)

HRESULT ID2D1CommandSink::SetTextRenderingParams([In, Optional] IDWriteRenderingParams* textRenderingParams)

SetTransform(ref Matrix3x2)

HRESULT ID2D1CommandSink::SetTransform([In] const D2D_MATRIX_3X2_F* transform)

SetUnitMode(UnitMode)

HRESULT ID2D1CommandSink::SetUnitMode([In] D2D1_UNIT_MODE unitMode)

Operators

Name Description
explicit operator CommandSinkNative(IntPtr)

Performs an explicit conversion from IntPtr to CommandSinkNative.