![]() |
Farbe invertieren
Ergänzend zu
![]()
Delphi-Quellcode:
The-X hat noch folgende Assembler-Variante, die möglicherweise schneller ist:
function invertcolor(color: TColor):TColor;
begin Result := ColorToRGB(Color) xor $00FFFFFF; end;
Delphi-Quellcode:
[edit=Chakotay1308]Ergänzungen. Mfg, Chakotay1308[/edit]
function invertcolor(color: TColor):TColor;Assembler;
asm CALL ColorToRGB XOR EAX, $00FFFFFF; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:23 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz