SvgGraphicsDrawImage Method

Draws the specified portion of the specified Image at the specified location and with the specified size.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
C#
public void DrawImage(
	IBitmap bmp,
	RectangleF destRect,
	RectangleF srcRect
)

Parameters

bmp  IBitmap
IBitmap to draw.
destRect  RectangleF
RectangleF structure that specifies the location and size of the drawn image. The image is scaled to fit the rectangle.
srcRect  RectangleF
RectangleF structure that specifies the portion of the image object to draw.

Implements

IGraphicsDrawImage(IBitmap, RectangleF, RectangleF)

See Also