ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / WindowRenderTarget Class
Properties Methods Events


In This Topic
    WindowRenderTarget Class Members
    In This Topic

    The following tables list the members exposed by WindowRenderTarget.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the WindowRenderTarget class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGet or sets the dots per inch (DPI) of the render target. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    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 PropertyGet or set the default stroke width used for all methods that are not explicitly using it. Default is set to 1.0f. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from C1.Util.DX.CppObject)
    Public PropertyGetTransform / SetTransform (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Top
    Public Methods
     NameDescription
    Public Methodvoid ID2D1RenderTarget::BeginDraw() (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodD2D1_WINDOW_STATE ID2D1HwndRenderTarget::CheckWindowState()  
    Public Methodvoid ID2D1RenderTarget::Clear([In, Optional] const D2D_COLOR_F* clearColor) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodstatic (Shared in Visual Basic)Creates an WindowRenderTarget, a render target that renders to a window.  
    Public MethodHRESULT ID2D1RenderTarget::CreateBitmap([In] D2D_SIZE_U size,[In, Optional] const void* srcData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateBitmapBrush([In, Optional] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1BitmapBrush** bitmapBrush) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateBitmapFromWicBitmap([In] IWICBitmapSource* wicBitmapSource,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateCompatibleRenderTarget([In, Optional] const D2D_SIZE_F* desiredSize,[In, Optional] const D2D_SIZE_U* desiredPixelSize,[In, Optional] const D2D1_PIXEL_FORMAT* desiredFormat,[In] D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,[Out, Fast] ID2D1BitmapRenderTarget** bitmapRenderTarget) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateGradientStopCollection([In, Buffer] const D2D1_GRADIENT_STOP* gradientStops,[In] unsigned int gradientStopsCount,[In] D2D1_GAMMA colorInterpolationGamma,[In] D2D1_EXTEND_MODE extendMode,[Out, Fast] ID2D1GradientStopCollection** gradientStopCollection) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateLayer([In, Optional] const D2D_SIZE_F* size,[Out, Fast] ID2D1Layer** layer) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateLinearGradientBrush([In] const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES* linearGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out, Fast] ID2D1LinearGradientBrush** linearGradientBrush) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateMesh([Out, Fast] ID2D1Mesh** mesh) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateRadialGradientBrush([In] const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES* radialGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out, Fast] ID2D1RadialGradientBrush** radialGradientBrush) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateSharedBitmap([In] const GUID& riid,[In] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::CreateSolidColorBrush([In] const D2D_COLOR_F* color,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1SolidColorBrush** solidColorBrush) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. Clean up any resources being used. (Inherited from C1.Util.DX.ComObject)
    Public MethodOverloaded. Draws the specified bitmap after scaling it to the size of the specified rectangle. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::DrawEllipse([In] const D2D1_ELLIPSE* ellipse,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. Draws the outline of the specified geometry. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. void ID2D1RenderTarget::DrawGlyphRun([In] D2D_POINT_2F baselineOrigin,[In] const DWRITE_GLYPH_RUN* glyphRun,[In] ID2D1Brush* foregroundBrush,[In] DWRITE_MEASURING_MODE measuringMode) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. Draws a line between the specified points. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::DrawRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::DrawRoundedRectangle([In] const D2D1_ROUNDED_RECT* roundedRect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. Draws the specified text using the format information provided by an C1.Win.DX.DirectWrite.TextFormat object. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. Draws the formatted text described by the specified C1.Win.DX.DirectWrite.TextLayout object. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. HRESULT ID2D1RenderTarget::EndDraw([Out, Optional] unsigned longlong* tag1,[Out, Optional] unsigned longlong* tag2) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodHRESULT ID2D1RenderTarget::EndDraw([Out, Optional] unsigned longlong* tag1,[Out, Optional] unsigned longlong* tag2) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::FillEllipse([In] const D2D1_ELLIPSE* ellipse,[In] ID2D1Brush* brush) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. Paints the interior of the specified geometry. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::FillMesh([In] ID2D1Mesh* mesh,[In] ID2D1Brush* brush) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. Applies the opacity mask described by the specified bitmap to a brush and uses that brush to paint a region of the render target. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::FillRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::FillRoundedRectangle([In] const D2D1_ROUNDED_RECT* roundedRect,[In] ID2D1Brush* brush) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodOverloaded. HRESULT ID2D1RenderTarget::Flush([Out, Optional] unsigned longlong* tag1,[Out, Optional] unsigned longlong* tag2) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodD2D1_ANTIALIAS_MODE ID2D1RenderTarget::GetAntialiasMode() (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::GetDpi([Out] float* dpiX,[Out] float* dpiY) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1Resource::GetFactory([Out] ID2D1Factory** factory) (Inherited from C1.Util.DX.Direct2D.Resource)
    Public MethodHWND ID2D1HwndRenderTarget::GetHwnd()  
    Public Methodunsigned int ID2D1RenderTarget::GetMaximumBitmapSize() (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodD2D1_PIXEL_FORMAT ID2D1RenderTarget::GetPixelFormat() (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodD2D_SIZE_U ID2D1RenderTarget::GetPixelSize() (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodD2D_SIZE_F ID2D1RenderTarget::GetSize() (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::GetTags([Out, Optional] unsigned longlong* tag1,[Out, Optional] unsigned longlong* tag2) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodD2D1_TEXT_ANTIALIAS_MODE ID2D1RenderTarget::GetTextAntialiasMode() (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::GetTextRenderingParams([Out, Optional] IDWriteRenderingParams** textRenderingParams) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::GetTransform([Out] D2D_MATRIX_3X2_F* transform) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodBOOL ID2D1RenderTarget::IsSupported([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::PopAxisAlignedClip() (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::PopLayer() (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::PushAxisAlignedClip([In] const D2D_RECT_F* clipRect,[In] D2D1_ANTIALIAS_MODE antialiasMode) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::PushLayer([In] const D2D1_LAYER_PARAMETERS* layerParameters,[In, Optional] ID2D1Layer* layer) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public MethodReturns an instance of GdiInteropRenderTarget for the current RenderTarget. (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    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 ID2D1HwndRenderTarget::Resize([In] const D2D_SIZE_U* pixelSize)  
    Public Methodvoid ID2D1RenderTarget::RestoreDrawingState([In] ID2D1DrawingStateBlock* drawingStateBlock) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::SaveDrawingState([InOut] ID2D1DrawingStateBlock* drawingStateBlock) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::SetAntialiasMode([In] D2D1_ANTIALIAS_MODE antialiasMode) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::SetDpi([In] float dpiX,[In] float dpiY) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::SetTags([In] unsigned longlong tag1,[In] unsigned longlong tag2) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::SetTextAntialiasMode([In] D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::SetTextRenderingParams([In, Optional] IDWriteRenderingParams* textRenderingParams) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    Public Methodvoid ID2D1RenderTarget::SetTransform([In] const D2D_MATRIX_3X2_F* transform) (Inherited from C1.Util.DX.Direct2D.RenderTarget)
    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 WindowRenderTarget.
    Top
    See Also