Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPCanvas > Methods

TRSGPCanvas.DrawImage(IRSGPImage,TPoints,Single) Method

Scroll Prev Top Next More

Draws an image tranformed to fit into a parallelogram specified by the Points parameter

The Points parameter must have a length of 3 to specify the coordinates of the upper-left corner, upper-right corner, and lower-left corner of the parallelogram. The coordinate of the lower-right corner is calculated using the three given coordinates, the width, and the height of the image. The portion of the source image to be drawn is scaled to fit the parallelogram.
 

Namespace: RSGdiPlusGraphics

Parameters

Image

Type: IRSGPImage

Image to be drawn

Points

Type: TPoints

the area, in a parallelogram, in which to draw the image.

Opacity

Type: Single

Transparency to be applied when drawing image.

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb