Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSGPCanvas.DrawBitmap(TBitmap,TRectF,TRectF,Single,Boolean) Method

Scroll Prev Top Next More

Draws a specified area from a TBitmap image after scaling it to a specified area of the canvas.

DrawBitmap is implemented by the TCanvas descendants to draw a specified rectangle area from a TBitmap image. The drawing is made to a specified rectangle area of the canvas. Before drawing, it scales the source image to the size of destination area.

DrawBitmap does nothing if ABitmap is empty. DrawBitmap does not raise any errors in this case.
 

Namespace: RSGdiPlusGraphics

Parameters

ABitmap

Type: TBitmap

Specifies the TBitmap.
 

SrcRect

Type: TRectF

Specifies the rectangle area of ABitmap to be scaled and drawn.
 

DstRect

Type: TRectF

Specifies the destination rectangle area where to draw the selection from ABitmap

AOpacity

Type: Single

Specifies the transparency to be applied to the selection of ABitmap.

HighSpeed

Type: Boolean

Specifies the interpolation mode to use if the selected area of ABitmap is scaled by the drawing operation.
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb