[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Bitmap1

Bitmap1 Class

ID2D1Bitmap1

Implements
Namespace: C1.Util.DX.Direct2D
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("a898a84c-3873-4588-b08b-ebbf978df041")]
public class Bitmap1 : Bitmap, IDisposable, IUnknown

Constructors

Name Description
Bitmap1(IntPtr)

Initializes a new instance of the Bitmap1 class.

Methods

Name Description
Create(DeviceContext, Surface)

Creates an Bitmap whose data is shared with another resource.

Create(DeviceContext, Surface, BitmapProperties1)

Creates an Bitmap whose data is shared with another resource.

Create(DeviceContext, Size2L)

Creates a Direct2D bitmap from a pointer to in-memory source data.

Create(DeviceContext, Size2L, DataStream, int)

Creates a Direct2D bitmap from a pointer to in-memory source data.

Create(DeviceContext, Size2L, DataStream, int, BitmapProperties1)

Creates a Direct2D bitmap from a pointer to in-memory source data.

Create(DeviceContext, Size2L, BitmapProperties1)

Creates a Direct2D bitmap from a pointer to in-memory source data.

Create(DeviceContext, BitmapSource)

Creates a Bitmap from a wic bitmap.

Create(DeviceContext, BitmapSource, BitmapProperties1)

Creates a Bitmap from a wic bitmap.

GetColorContext()

void ID2D1Bitmap1::GetColorContext([Out, Optional] ID2D1ColorContext** colorContext)

GetOptions()

D2D1_BITMAP_OPTIONS ID2D1Bitmap1::GetOptions()

GetSurface()

HRESULT ID2D1Bitmap1::GetSurface([Out, Optional] IDXGISurface** dxgiSurface)

Map(MapOptions)

Maps the given bitmap into memory.

Map(MapOptions, out MappedRectangle)

HRESULT ID2D1Bitmap1::Map([In] D2D1_MAP_OPTIONS options,[Out] D2D1_MAPPED_RECT* mappedRect)

Unmap()

HRESULT ID2D1Bitmap1::Unmap()

Operators

Name Description
explicit operator Bitmap1(IntPtr)

Performs an explicit conversion from IntPtr to Bitmap1.