DrawRect
Description
The DrawRect
method draws a part of a loaded drawing on the device context specified by DC.
Parameter | Type | Description |
---|---|---|
DC | HDC | A device context |
SourceRect | TFRect | A part of an image to be drawn. It is measured in drawing units. |
DestRect | TRect | A destination rectangle on the device context. |
Syntax
procedure DrawRect(DC: HDC; SourceRect: TFRect; DestRect: TRect);