TTexture
TDirectDrawSurface
TDXTexture

g_DXCanvas

TGameImages


TWMImages

dsurface.BoldTextOut


dsurface.TextWidth
dsurface.TextHeight

$FFFFFFFF

      //d9bugmessage
      //2TDEditδҪοԭʼ


  FBackSurface := TDirectDrawSurface.Create(g_DXCanvas);
  FBackSurface.Size := Point(Width, Height);
  FBackSurface.Format := D3DFMT_A1R5G5B5;
  FBackSurface.Active := True;