CombineRgn has no effect

Issue #214 new
Harry Stahl created an issue

Under windows here I get a region constructed from a mask of points. But on Linux and MACOS all calls with CombineRgn after the first creating of the Rectgn has no effect. That means the region stays on the size of the first call.


{$IFNDEF MSWindows}
if Init then begin
Init := False;
Bild.ClipReg := CreateRectRgn (StartEx, J, StopEx+1, J+1);
end else begin
AReg := CreateRectRgn (StartEx, J, StopEx+1, J+1);
CombineRgn(Bild.ClipReg, Bild.ClipReg, AReg, RGN_OR);
DeleteObject(AReg);
end;
{$ENDIF}


Comments (1)

  1. Log in to comment