Forum: Multimedia
Delphi
by Namenloser,
3. Okt 2010
I have no experience with gr32 layers. You'll have to find out how to adapt my code to the layers framework yourself.
Forum: Multimedia
Delphi
by Namenloser,
2. Okt 2010
So, you want to have everything darkened except for a specific rectangular area, is that correct?
I'd just fetch the pixel pointer of the top left pixel and then iterate over all the pixels, checking if they are in the rectangle and darken them where applicable.
The following was supposed to be pseudo code but turned out to be actual code... it's untested as I just wrote it here in the...