The question concerning DelphiX which can be mailed here up to now and the answer to it are opened to the public.
Please wait until Delphi 4 Japanese version is put on the market in Japan.
DelphiX always corresponds to latest DirectX.
The thing which can be used with C++Builder3 to our regret now is not confirmed . probably There might completely not be Pascal compiler of C++Builder3 in compatible with Delphi3.
To our regret, because a peculiar function to Delphi3 is used, DelphiX cannot be used with Delphi2.
Please make the version of TNkDIB the latest one.
If the Canvas property is used, the hoped thing can be done.
with DXDraw1.Surface.Canvas do begin Draw(0, 0, Bitmap); Release; { Please do not forget this. } end;
If the clipper of TDXDraw.Primary is temporarily made the unset, it is possible to do.
var OldClipper: IDirectDrawClipper; begin DXDraw1.Primary.ISurface.GetClipper(OldClipper); try DXDraw1.Primary.ISurface.SetClipper(nil); { DXDraw1.Primary is described. } finally DXDraw1.Primary.ISurface.SetClipper(OldClipper); end; end;
The symptom depends on the keyboard . Ten key is used to evade it instead of the arrow key or the Joy pad is used.
The alpha-blending can be done by calling the DrawAlpha method and the DrawRotateAlpha method of TDirectDrawSurface.