SetLogDrawArea

printfDx の結果を画面に出力する際の描画する領域を設定する

SetLogDrawArea x1, y1, x2, y2

int x1
int y1
int x2
int y2

(プラグイン / モジュール : DxLibW)

解説

printfDx の結果を画面に出力する際の描画する領域を設定する

ログを描画する
有効な描画範囲が設定されていたら使用する
標準では描画先は画面左上

この関数で設定した値は GetLogDrawArea で取得できます。

戻り値: 0:成功  -1:エラー

情報

プラグイン / モジュールDxLibW
バージョン3.24f
作成日2026/04/12
著作者DxLib: Takumi Yamada / HSP binding: IronHSP Project
URLhttps://dxlib.xsrv.jp/
備考hspdxlib.as をインクルードして使用
タイプDxLib ゲームライブラリ
グループDxLib その他
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\hspdxlib.hs