Discussion:
How to draw a TJPEGImage on a TCanvas???
(too old to reply)
Staffan
2004-04-06 12:34:11 UTC
Permalink
Hi all,

Can someone tell a dummie how to draw a jpg-image on a TCanvas.

The documentation says:
Has no canvas (so it cannot draw onto a canvas). However, TJPEGImage
implements the protected Draw method introduced in TGraphic, so it can draw
itself on the canvas of another object.

How is this done, please som code?

Thanks in advance
Staffan
Linus Elman
2004-04-06 12:58:15 UTC
Permalink
Canvas.Draw(0,0,MyJPEG); ?
Staffan
2004-04-06 13:26:11 UTC
Permalink
Thanks
Post by Linus Elman
Canvas.Draw(0,0,MyJPEG); ?
Loading...