WriteableBitmapContextExtensions
StockSharp.Xaml.Charting.Rendering.HighSpeedRasterizer.WBX
Methods
GetBitmapContext
internal static BitmapContext GetBitmapContext(WriteableBitmap bmp)
result = WriteableBitmapContextExtensions.GetBitmapContext(bmp)
Gets a BitmapContext within which to perform nested IO operations on the bitmap
- bmp
GetBitmapContext
internal static BitmapContext GetBitmapContext(WriteableBitmap bmp, ReadWriteMode mode)
result = WriteableBitmapContextExtensions.GetBitmapContext(bmp, mode)
Gets a BitmapContext within which to perform nested IO operations on the bitmap
- bmp
- The writeable bitmap to get a context for
- mode
- The ReadWriteMode. If set to ReadOnly, the bitmap will not be invalidated on dispose of the context, else it will