ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / CommandSinkNative Class
Properties Methods Events


In This Topic
    CommandSinkNative Class Members
    In This Topic

    The following tables list the members exposed by CommandSinkNative.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the CommandSinkNative class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets a value indicating whether this instance is disposed. (Inherited from C1.Util.DX.DisposeBase)
    Public PropertyGet a pointer to the underlying Cpp Object (Inherited from C1.Util.DX.CppObject)
    Public PropertyImplements C1.Util.DX.ICallbackable but it cannot not be set. This is only used to support for interop with unmanaged callback. (Inherited from C1.Util.DX.ComObjectCallback)
    Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from C1.Util.DX.CppObject)
    Top
    Public Methods
     NameDescription
    Public MethodHRESULT ID2D1CommandSink::BeginDraw()  
    Public MethodHRESULT ID2D1CommandSink::Clear([In, Optional] const D2D_COLOR_F* color)  
    Public MethodOverloaded. Clean up any resources being used. (Inherited from C1.Util.DX.ComObject)
    Public MethodHRESULT 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)  
    Public MethodHRESULT ID2D1CommandSink::DrawGdiMetafile([In] ID2D1GdiMetafile* gdiMetafile,[In, Optional] const D2D_POINT_2F* targetOffset)  
    Public MethodHRESULT ID2D1CommandSink::DrawGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)  
    Public MethodHRESULT 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)  
    Public MethodHRESULT 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)  
    Public MethodHRESULT ID2D1CommandSink::DrawLine([In] D2D_POINT_2F point0,[In] D2D_POINT_2F point1,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)  
    Public MethodHRESULT ID2D1CommandSink::DrawRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)  
    Public MethodHRESULT ID2D1CommandSink::EndDraw()  
    Public MethodHRESULT ID2D1CommandSink::FillGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[In, Optional] ID2D1Brush* opacityBrush)  
    Public MethodHRESULT ID2D1CommandSink::FillMesh([In] ID2D1Mesh* mesh,[In] ID2D1Brush* brush)  
    Public MethodHRESULT ID2D1CommandSink::FillOpacityMask([In] ID2D1Bitmap* opacityMask,[In] ID2D1Brush* brush,[In, Optional] const D2D_RECT_F* destinationRectangle,[In, Optional] const D2D_RECT_F* sourceRectangle)  
    Public MethodHRESULT ID2D1CommandSink::FillRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush)  
    Public MethodHRESULT ID2D1CommandSink::PopAxisAlignedClip()  
    Public MethodHRESULT ID2D1CommandSink::PopLayer()  
    Public MethodHRESULT ID2D1CommandSink::PushAxisAlignedClip([In] const D2D_RECT_F* clipRect,[In] D2D1_ANTIALIAS_MODE antialiasMode)  
    Public MethodHRESULT ID2D1CommandSink::PushLayer([In] const D2D1_LAYER_PARAMETERS1* layerParameters1,[In, Optional] ID2D1Layer* layer)  
    Public MethodOverloaded. Query this instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
    Public MethodOverloaded. Query instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
    Public MethodHRESULT ID2D1CommandSink::SetAntialiasMode([In] D2D1_ANTIALIAS_MODE antialiasMode)  
    Public MethodHRESULT ID2D1CommandSink::SetPrimitiveBlend([In] D2D1_PRIMITIVE_BLEND primitiveBlend)  
    Public MethodHRESULT ID2D1CommandSink::SetTags([In] unsigned longlong tag1,[In] unsigned longlong tag2)  
    Public MethodHRESULT ID2D1CommandSink::SetTextAntialiasMode([In] D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode)  
    Public MethodHRESULT ID2D1CommandSink::SetTextRenderingParams([In, Optional] IDWriteRenderingParams* textRenderingParams)  
    Public MethodHRESULT ID2D1CommandSink::SetTransform([In] const D2D_MATRIX_3X2_F* transform)  
    Public MethodHRESULT ID2D1CommandSink::SetUnitMode([In] D2D1_UNIT_MODE unitMode)  
    Top
    Protected Methods
     NameDescription
    Protected MethodReleases unmanaged resources and performs other cleanup operations before the C1.Util.DX.DisposeBase is reclaimed by garbage collection. (Inherited from C1.Util.DX.DisposeBase)
    Protected MethodOverloaded. Initializes this instance with a pointer from a temporary object and set the pointer of the temporary object to IntPtr.Zero. (Inherited from C1.Util.DX.CppObject)
    Protected MethodMethod called when the NativePointer is updated. (Inherited from C1.Util.DX.ComObject)
    Protected MethodMethod called when NativePointer is going to be update. (Inherited from C1.Util.DX.ComObject)
    Protected MethodQuery Interface for a particular interface support and attach to the given instance. (Inherited from C1.Util.DX.ComObject)
    Top
    Public Events
     NameDescription
    Public EventOccurs when this instance is fully disposed. (Inherited from C1.Util.DX.DisposeBase)
    Public EventOccurs when this instance is starting to be disposed. (Inherited from C1.Util.DX.DisposeBase)
    Top
    Public Operators
    Performs an explicit conversion from System.IntPtr to CommandSinkNative.
    Top
    See Also