Interface IDeviceBitmap
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
Represents a bitmap that has been bound to an IDeviceContext.
ID2D1Bitmap1
public interface IDeviceBitmap : IDeviceImage, IDirect2DResource, IObjectRef, IIsDisposed, IDisposable, IFactoryProperty, IInternalImpl
- Inherited Members
- Extension Methods
Properties
- ColorContext
Gets the color context information associated with the bitmap, if any.
- Dpi
Return the dots per inch (DPI) of the bitmap.
- Options
Gets the options used in creating the bitmap.
- PixelFormat
Retrieves the pixel format and alpha mode of the bitmap.
- PixelSize
Returns the size, in device-dependent units (pixels), of the bitmap.
- Size
Returns the size, in device-independent pixels (DIPs), of the bitmap.
Methods
- CopyFromBitmap(Point2Int32?, IDeviceBitmap, in RectInt32?)
Copies the specified region from the specified bitmap into the current bitmap.
- CopyFromDeviceContext(Point2Int32?, IDeviceContext, in RectInt32?)
Copies the specified region from the specified device context into the current bitmap.
- CopyFromMemory(in RectInt32?, void*, int)
Copies the specified region from memory into the current bitmap.
- Map(MapOptions)
Maps the given bitmap into memory.
- Unmap()
Unmaps the bitmap from memory.