TIvoryCanvas::StretchDraw

Stretches a bitmap on the surface.

Form 1:

void __fastcall StretchDraw(const Windows::TRect& Rect, TIvoryBitmap* bmp);

Form 2:

void __fastcall StretchDraw(const Windows::TRect& Rect, HBITMAP bmp);

Description

Use Form 1 to draw a TIvoryBitmap, and use Form 2 to draw an HBITMAP, stretched on you surface. Rect is the rectangle in which the bitmap will be stretched, and bmp is the bitmap.

Back to TIvoryCanvas