Question

Does anyone have an example of how to do some masking with Delphi TImage so I can have one image put on another?

Using 2009

Was it helpful?

Solution

You can use the Copymode (cmSrcErase,cmSrcCopy,cmSrcAnd,cmSrcInvert) property of the Timage.Canvas, you can find a basic example in this link.

picture of clouds + picture of balloon = picture of balloon in the sky

Bye.

OTHER TIPS

Look at http://graphics32.org/ it can be a good start.

A good location to have for delphi graphics is efg's Computer Lab. Specifically to your question, there is a project Cursor Overlay which starts with cursors, but the concept is there to do what you are asking.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top