Einzelnen Beitrag anzeigen

Benutzerbild von KodeZwerg
KodeZwerg

Registriert seit: 1. Feb 2018
3.685 Beiträge
 
Delphi 11 Alexandria
 
#6

AW: SnapShot - Desktop Photographie vereinfacht

  Alt 19. Okt 2022, 08:21
bitte aktualisieren, in allen SnapShot methoden (SnapShotGDI, SnapShotDDA, SnapShotDX9, SnapShotPrint)

Delphi-Quellcode:
  FImageWidth := Abs(FRect.Right) - Abs(FRect.Left);
  FImageHeight := Abs(FRect.Bottom) - Abs(FRect.Top);
Nun ist auch diese Berechnung korrekt
Mist, so sollte es sein:
Delphi-Quellcode:
  FImageWidth := Abs(FRect.Right - FRect.Left);
  FImageHeight := Abs(FRect.Bottom - FRect.Top);
Gruß vom KodeZwerg
  Mit Zitat antworten Zitat