ドラゴンクエストクローンを作ろう (746レス)
1-

21
(1): 03/03/03 07:08 ID:pxhSxl9y(3/3) AAS
procedure TDirectDrawCanvas.CreateHandle;
begin
  if FDeviceContext = 0 then begin
    FEnabled := FSurface.GetDC(FDeviceContext) = DD_OK;
    if FEnabled then
      Handle := FDeviceContext
    else begin
      Handle := 0;
      FDeviceContext := 0;
    end;
  end;
end;

使い方は
 Canvas := TCanvas.Create(BackBufferSurface);
しておいて
 with Canvas do
  if Enabled then try
   Pen.Style := psSolid;
   :
  finally
   Release;
  end;
1-
あと 725 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ

ぬこの手 ぬこTOP 0.021s