ImageEn, unit imageenview

TImageEnView.GetRenderRectangles

TImageEnView.GetRenderRectangles

Declaration

procedure GetRenderRectangles(var xDst, yDst, dxDst, dyDst: Integer; var xSrc, ySrc, dxSrc, dySrc: Integer);

Description

Returns the rendered rectangle related to the client area and the source rectangle related to the bitmap of current layer.

xDst, yDst, dxDst, dyDst: the destination x, y and width, height where the image has been rendered

xSrc, ySrc, dxSrc, dySrc: the source x, y and width, height of the source image.