Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
AW: Circular spectrum visualizer
4. Apr 2019, 12:31
Ah jetzt verstehe ich was du machen willst.
Mach es einfach so:
Delphi-Quellcode:
if alpha >= d then
Pixel.rgbReserved := alpha - d
else
Pixel.rgbReserved := 0;
GDIP_BitmapSetPixel(imgSpectrum, Col, Row, DWORD(Pixel));
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|