Board index » delphi » How to draw a part of an image to the Canvas

How to draw a part of an image to the Canvas

Hi

Can someone tell me ho to put a part of an image to te canvas.
I've found a functio ClipRect but it doesn't work.

Thanks

 

Re:How to draw a part of an image to the Canvas


Hi

What about CopyRect? I can't look it up at the moment but if I remember
right ...

Regards

        Jan

Quote
Darko wrote:

> Hi

> Can someone tell me ho to put a part of an image to te canvas.
> I've found a functio ClipRect but it doesn't work.

> Thanks

--
------------------------------------------------------------------------------
jhimmelsp...@lmdinnovative.de
Jan Himmelspach
LMD Innovative

Re:How to draw a part of an image to the Canvas


Use Canvas.CopyRect

"Darko" <lo...@bj.tel.hr> schreef in bericht
news:8gg59s$q6h$1@as102.tel.hr...

Quote
> Hi

> Can someone tell me ho to put a part of an image to te canvas.
> I've found a functio ClipRect but it doesn't work.

> Thanks

Re:How to draw a part of an image to the Canvas


Quote

> Hi

> What about CopyRect? I can't look it up at the moment but if I remember
> right ...

> Regards

> Jan

> Darko wrote:

> > Hi

> > Can someone tell me ho to put a part of an image to te canvas.
> > I've found a functio ClipRect but it doesn't work.

> > Thanks

Yes it's CopyRect. It works fine.

Thanks for the reply

Other Threads