objfastblt.pas

来自「很多人想要研究的真彩传奇2客户端,一般来说传奇2的客户端是256色的,现在出了个」· PAS 代码 · 共 387 行 · 第 1/2 页

PAS
387 行
字号
  TDxFastBlt_FrameRectA(BitMap, Rect, Color);
end;
procedure TDxFastBlt.FrameRect(Left, Top, Width, Height: Integer; Color: TColor);
begin
  TDxFastBlt_FrameRectB(BitMap, Left, Top, Width, Height, Color);
end;
procedure TDxFastBlt.FrameRectAlpha(Rect: TRect; Color: TColor; Alpha: Byte);
begin
  TDxFastBlt_FrameRectAlpha(BitMap, Rect, Color, Alpha);
end;
procedure TDxFastBlt.FillRect(Rect: TRect; Color: TColor);
begin
  TDxFastBlt_FillRectA(BitMap, Rect, Color);
end;
procedure TDxFastBlt.FillRect(Left, Top, Width, Height: Integer; Color: TColor);
begin
  TDxFastBlt_FillRectB(BitMap, Left, Top, Width, Height, Color);
end;
procedure TDxFastBlt.FillRectAlpha(Rect: TRect; Color: TColor; Alpha: Byte);
begin
  TDxFastBlt_FillRectAlpha(BitMap, Rect, Color, Alpha);
end;
procedure TDxFastBlt.Rectangle(Left, Top, Width, Height: Integer; ColorLine, ColorFill: TColor);
begin
  TDxFastBlt_RectangleA(BitMap, Left, Top, Width, Height, ColorLine, ColorFill);
end;
procedure TDxFastBlt.Rectangle(Rect: TRect; ColorLine, ColorFill: TColor);
begin
  TDxFastBlt_RectangleB(BitMap, Rect, ColorLine, ColorFill);
end;
procedure TDxFastBlt.RectangleAlpha(Left, Top, Width, Height: Integer; ColorLine, ColorFill: TColor);
begin
  TDxFastBlt_RectangleAlphaA(BitMap, Left, Top, Width, Height, ColorLine, ColorFill);
end;
procedure TDxFastBlt.RectangleAlpha(Rect: TRect; ColorLine, ColorFill: TColor);
begin
  TDxFastBlt_RectangleAlphaB(BitMap, Rect, ColorLine, ColorFill);
end;
procedure TDxFastBlt.RotateA(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real);
begin
  TDxFastBlt_RotateA(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale);
end;
procedure TDxFastBlt.RotateB(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real);
begin
  TDxFastBlt_RotateB(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale);
end;
procedure TDxFastBlt.RotateC(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real);
begin
  TDxFastBlt_RotateC(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale);
end;
procedure TDxFastBlt.RotateD(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real);
begin
  TDxFastBlt_RotateD(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale);
end;
procedure TDxFastBlt.RotateE(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real);
begin
  TDxFastBlt_RotateE(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale);
end;
procedure TDxFastBlt.RotateColorA(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real; Color: TColor);
begin
  TDxFastBlt_RotateColorA(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale, Color);
end;
procedure TDxFastBlt.RotateColorB(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real; Color: TColor);
begin
  TDxFastBlt_RotateColorB(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale, Color);
end;
procedure TDxFastBlt.RotateColorC(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real; Color: TColor);
begin
  TDxFastBlt_RotateColorC(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale, Color);
end;
procedure TDxFastBlt.RotateColorD(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real; Color: TColor);
begin
  TDxFastBlt_RotateColorD(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale, Color);
end;
procedure TDxFastBlt.RotateColorE(DxFastBlt: TDxFastBlt; X, Y, Angle: Integer; Scale: Real; Color: TColor);
begin
  TDxFastBlt_RotateColorD(FBitMap, DxFastBlt.BitMap, X, Y, Angle, Scale, Color);
end;
procedure TDxFastBlt.DrawA(DxFastBlt: TDxFastBlt; X, Y: Integer; Scale: Real);
begin
  TDxFastBlt_DrawA(FBitMap, DxFastBlt.BitMap, X, Y, Scale);
end;
procedure TDxFastBlt.DrawB(DxFastBlt: TDxFastBlt; X, Y: Integer; Scale: Real);
begin
  TDxFastBlt_DrawB(FBitMap, DxFastBlt.BitMap, X, Y, Scale);
end;
procedure TDxFastBlt.DrawC(DxFastBlt: TDxFastBlt; X, Y: Integer; Scale: Real);
begin
  TDxFastBlt_DrawC(FBitMap, DxFastBlt.BitMap, X, Y, Scale);
end;
procedure TDxFastBlt.DrawD(DxFastBlt: TDxFastBlt; X, Y: Integer; Scale: Real);
begin
  TDxFastBlt_DrawD(FBitMap, DxFastBlt.BitMap, X, Y, Scale);
end;
procedure TDxFastBlt.DrawE(DxFastBlt: TDxFastBlt; X, Y: Integer; Scale: Real);
begin
  TDxFastBlt_DrawE(FBitMap, DxFastBlt.BitMap, X, Y, Scale);
end;
procedure TDxFastBlt.DrawRectA(DxFastBlt: TDxFastBlt; X, Y: Integer; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawRectA(FBitMap, DxFastBlt.BitMap, X, Y, Rect, Scale);
end;
procedure TDxFastBlt.DrawRectB(DxFastBlt: TDxFastBlt; X, Y: Integer; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawRectB(FBitMap, DxFastBlt.BitMap, X, Y, Rect, Scale);
end;
procedure TDxFastBlt.DrawRectC(DxFastBlt: TDxFastBlt; X, Y: Integer; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawRectC(FBitMap, DxFastBlt.BitMap, X, Y, Rect, Scale);
end;
procedure TDxFastBlt.DrawRectD(DxFastBlt: TDxFastBlt; X, Y: Integer; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawRectD(FBitMap, DxFastBlt.BitMap, X, Y, Rect, Scale);
end;
procedure TDxFastBlt.DrawRectE(DxFastBlt: TDxFastBlt; X, Y: Integer; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawRectE(FBitMap, DxFastBlt.BitMap, X, Y, Rect, Scale);
end;
procedure TDxFastBlt.DrawAlpha(DxFastBlt: TDxFastBlt; X, Y: Integer; Alpha: Byte; Scale: Real);
begin
  TDxFastBlt_DrawAlpha(FBitMap, DxFastBlt.BitMap, X, Y, Alpha, Scale);
end;
procedure TDxFastBlt.DrawRectAlpha(DxFastBlt: TDxFastBlt; X, Y: Integer; Rect: TRect; Scale: Real; Alpha: Byte);
begin
  TDxFastBlt_DrawRectAlpha(FBitMap, DxFastBlt.BitMap, X, Y, Rect, Scale, Alpha);
end;
procedure TDxFastBlt.DrawColorA(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Scale: Real);
begin
  TDxFastBlt_DrawColorA(FBitMap, DxFastBlt.BitMap, X, Y, Color, Scale);
end;
procedure TDxFastBlt.DrawColorB(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Scale: Real);
begin
  TDxFastBlt_DrawColorB(FBitMap, DxFastBlt.BitMap, X, Y, Color, Scale);
end;
procedure TDxFastBlt.DrawColorC(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Scale: Real);
begin
  TDxFastBlt_DrawColorC(FBitMap, DxFastBlt.BitMap, X, Y, Color, Scale);
end;
procedure TDxFastBlt.DrawColorD(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Scale: Real);
begin
  TDxFastBlt_DrawColorD(FBitMap, DxFastBlt.BitMap, X, Y, Color, Scale);
end;
procedure TDxFastBlt.DrawColorE(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Scale: Real);
begin
  TDxFastBlt_DrawColorE(FBitMap, DxFastBlt.BitMap, X, Y, Color, Scale);
end;
procedure TDxFastBlt.DrawColorAlpha(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Alpha: Byte; Scale: Real);
begin
  TDxFastBlt_DrawColorAlpha(FBitMap, DxFastBlt.BitMap, X, Y, Color, Alpha, Scale);
end;
procedure TDxFastBlt.DrawRectColorAlpha(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Rect: TRect; Alpha: Byte; Scale: Real);
begin
  TDxFastBlt_DrawRectColorAlpha(FBitMap, DxFastBlt.BitMap, X, Y, Color, Rect, Alpha, Scale);
end;
procedure TDxFastBlt.DrawColorRectA(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawColorRectA(FBitMap, DxFastBlt.BitMap, X, Y, Color, Rect, Scale);
end;
procedure TDxFastBlt.DrawColorRectB(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawColorRectB(FBitMap, DxFastBlt.BitMap, X, Y, Color, Rect, Scale);
end;
procedure TDxFastBlt.DrawColorRectC(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawColorRectC(FBitMap, DxFastBlt.BitMap, X, Y, Color, Rect, Scale);
end;
procedure TDxFastBlt.DrawColorRectD(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawColorRectD(FBitMap, DxFastBlt.BitMap, X, Y, Color, Rect, Scale);
end;
procedure TDxFastBlt.DrawColorRectE(DxFastBlt: TDxFastBlt; X, Y: Integer; Color: TColor; Rect: TRect; Scale: Real);
begin
  TDxFastBlt_DrawColorRectE(FBitMap, DxFastBlt.BitMap, X, Y, Color, Rect, Scale);
end;

{procedure TDxFastBlt.DrawOnSurface(ddpfPixelFormat: TDDPixelFormat; lpSurface: Pointer; lPitch: Integer; DownToUp: Boolean);
begin
  TDxFastBlt_DrawOnSurface(FBitMap, ddpfPixelFormat, lpSurface, lPitch, DownToUp);
end; }

procedure TDxFastBlt.DrawOnSurface(Surface: TDDSurfaceDesc; DownToUp: Boolean);
begin
  TDxFastBlt_DrawOnSurfaceA(FBitMap, Surface, DownToUp);
end;

procedure TDxFastBlt.DrawOnSurface(Surface: TDDSurfaceDesc2; DownToUp: Boolean);
begin
  TDxFastBlt_DrawOnSurfaceB(FBitMap, Surface, DownToUp);
end;

end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?