Hide Comments
Hide Comments

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

Comments (0)

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




Type: TBitmap

Specifies the TBitmap.


Type: TRectF

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


Type: TRectF

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


Type: Single

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


Type: Boolean

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

expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb