ImageBuffer

StockSharp.Xaml.Charting.Rendering.HighQualityRasterizer.Agg.Image

Implements: IImageByte, IImage

Methods

NewSubImageReference
public static ImageBuffer NewSubImageReference(IImageByte imageContainingSubImage, RectangleDouble subImageBounds)
result = ImageBuffer.NewSubImageReference(imageContainingSubImage, subImageBounds)

This will create a new ImageBuffer that references the same memory as the image that you took the sub image from. It will modify the original main image when you draw to it.

imageContainingSubImage
subImageBounds