DrawRectExtendGraphF

画像の指定矩形部分のみを拡大描画( 座標指定が float 版 )

DrawRectExtendGraphF DestX1, DestY1, DestX2, DestY2, SrcX, SrcY, SrcWidth, SrcHeight, GraphHandle, TransFlag

float DestX1
float DestY1
float DestX2
float DestY2
int   SrcX
int   SrcY
int SrcWidth
int SrcHeight
int GraphHandle
int TransFlag

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

解説

画像の指定矩形部分のみを拡大描画( 座標指定が float 版 )

切り取ったグラフィックを作成

TransFlag を TRUE にすると画像の透過色( SetTransColor で設定 )が有効になります。
DrawRectExtendGraph の float 座標版です。小数点以下の精度で描画位置を指定できます。

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

関連項目

DrawRectExtendGraph画像の指定矩形部分のみを拡大描画(DxLibW)

情報

プラグイン / モジュール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