Thema: Delphi Colorpanel berechnen

Einzelnen Beitrag anzeigen

Muetze1
(Gast)

n/a Beiträge
 
#9

Re: Colorpanel berechnen

  Alt 18. Nov 2004, 12:51
Moin!

Delphi-Quellcode:
    for LCountY := 0 to ABitmap.Height - 1 do // -1
    begin
      LTmpColor2 := GetBlendColor(LTmpColor1, ADestColor2, Trunc(LCountY * LFactorY));
      ABitmap.Canvas.Pixels[LCountX, LCountY] := LTmpColor2;
    end;
MfG
Muetze1
  Mit Zitat antworten Zitat