File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1452,7 +1452,6 @@ function TSimbaImage.Blend(Points: TPointArray; Radius: Integer): TSimbaImage;
14521452 Result := Blend(Points, Radius, []);
14531453end ;
14541454
1455-
14561455function TSimbaImage.Blend (Points: TPointArray; Radius: Integer; IgnorePoints: TPointArray): TSimbaImage;
14571456var
14581457 P: TPoint;
@@ -1487,8 +1486,6 @@ function TSimbaImage.Blend(Points: TPointArray; Radius: Integer; IgnorePoints: T
14871486 if Skip[Y * FWidth + X] then
14881487 Continue;
14891488 BGRA := FData[Y * FWidth + X];
1490- if (BGRA.A = ALPHA_OPAQUE) then
1491- Continue;
14921489
14931490 Inc(R, BGRA.R);
14941491 Inc(G, BGRA.G);
@@ -1502,13 +1499,13 @@ function TSimbaImage.Blend(Points: TPointArray; Radius: Integer; IgnorePoints: T
15021499 BGRA.R := R div Count;
15031500 BGRA.G := G div Count;
15041501 BGRA.B := B div Count;
1502+ BGRA.A := ALPHA_OPAQUE;
15051503
15061504 Result.FData[P.Y * FWidth + P.X] := BGRA;
15071505 end ;
15081506 end ;
15091507end ;
15101508
1511-
15121509function TSimbaImage.Downsample (Scale: Integer): TSimbaImage;
15131510begin
15141511 Result := SimbaImage_Downsample(Self, Scale);
You can’t perform that action at this time.
0 commit comments