Click or drag to resize

GraphicsIHandlerDrawImage Method (Image, RectangleF, RectangleF)

Draws the source portion of an image, scaling to the specified destination

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
void DrawImage(
	Image image,
	RectangleF source,
	RectangleF destination
)

Parameters

image
Type: Eto.DrawingImage
Image to draw
source
Type: Eto.DrawingRectangleF
Source rectangle of the image portion to draw
destination
Type: Eto.DrawingRectangleF
Destination rectangle of where to draw the portion
See Also