TIvoryCanvas::TileDraw

Tiles a bitmap on the surface, like a wallpaper.

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

Description

Use TileDraw to draw an HBITMAP tiled on the surface. Rect is the rectangle in which the bitmap will be tiled, and bmp is the handle for the bitmap. TileDraw is not very fast, so in most cases you'll use the TIvoryBitmap component to store a bitmap, and TileCopySurface to tile that bitmap on the surface.

Back to TIvoryCanvas