[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.DeviceContext.DrawBitmap

DrawBitmap Method

DrawBitmap(Bitmap, float, InterpolationMode)

Draws the bitmap.

Declaration
public void DrawBitmap(Bitmap bitmap, float opacity, InterpolationMode interpolationMode)
Parameters
Type Name Description
Bitmap bitmap

The bitmap.

float opacity

The opacity.

InterpolationMode interpolationMode

The interpolation mode.

DrawBitmap(Bitmap, float, InterpolationMode, Matrix4x4)

Draws the bitmap.

Declaration
public void DrawBitmap(Bitmap bitmap, float opacity, InterpolationMode interpolationMode, Matrix4x4 perspectiveTransformRef)
Parameters
Type Name Description
Bitmap bitmap

The bitmap.

float opacity

The opacity.

InterpolationMode interpolationMode

The interpolation mode.

Matrix4x4 perspectiveTransformRef

The perspective transform ref.

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

Draws the bitmap.

Declaration
public void DrawBitmap(Bitmap bitmap, float opacity, InterpolationMode interpolationMode, RectF sourceRectangle, Matrix4x4 perspectiveTransformRef)
Parameters
Type Name Description
Bitmap bitmap

The bitmap.

float opacity

The opacity.

InterpolationMode interpolationMode

The interpolation mode.

RectF sourceRectangle

The source rectangle.

Matrix4x4 perspectiveTransformRef

The perspective transform ref.

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

void ID2D1DeviceContext::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)

Declaration
public void DrawBitmap(Bitmap bitmap, RectF? destinationRectangle, float opacity, InterpolationMode interpolationMode, RectF? sourceRectangle, Matrix4x4? perspectiveTransformRef)
Parameters
Type Name Description
Bitmap bitmap
RectF? destinationRectangle
float opacity
InterpolationMode interpolationMode
RectF? sourceRectangle
Matrix4x4? perspectiveTransformRef