已审核词条
未审核词条
|
| 窗口_绘制透明图片 | 逻辑型 | |
|
| HDC | 整数型 | | | |
图片数据 | 字节集 | | | | 图片路径 | 文本型 | | | | 目标_x | 整数型 | | | | 目标_y | 整数型 | | | | 目标_宽度 | 整数型 | | | | 目标_高度 | 整数型 | | | | 源_x | 整数型 | | | | 源_y | 整数型 | | | | 源_宽度 | 整数型 | | | | 源_高度 | 整数型 | | | | 单位 | 整数型 | | | |
| 变量名 | 类 型 | 静态 | 数组 | 备 注 |
| GDIToken | 整数型 | | |
| StartInput | GdiplusStartupInput | | |
| graphics | 整数型 | | |
| HMem | 整数型 | | |
| pMem | 整数型 | | |
| Istream | 整数型 | | |
| HImage | 整数型 | | |
StartInput.GdiplusVersion = 1
StartInput.DebugEventCallback = 0
StartInput.SuppressBackgroundThread = 假
StartInput.SuppressExternalCodecs = 假
GdiplusStartup (GDIToken, StartInput, 0
) GdipCreateFromHDC (HDC, graphics
)
如果真 (是否为空 (单位
))

单位 = 2
判断 (是否为空 (图片数据
) 且 是否为空 (图片路径
))
返回 (假)
判断 (是否为空 (图片数据
))
GdipLoadImageFromFile (编码_Ansi到Unicode (图片路径
), HImage
) 
HMem =
GlobalAlloc (2,
取字节集长度 (图片数据
))

pMem =
GlobalLock (HMem
)
memcpy (pMem, 图片数据,
取字节集长度 (图片数据
))
GlobalUnlock (HMem
)
CreateStreamOnHGlobal (HMem, 假, Istream
)
GdipLoadImageFromStream (Istream, HImage
)
判断 (是否为空 (源_x
) 且 是否为空 (源_y
) 且 是否为空 (源_宽度
) 且 是否为空 (源_高度
))
GdipDrawImageRect (graphics, HImage, 目标_x, 目标_y, 目标_宽度, 目标_高度
)
GdipDrawImageRectRect (graphics, HImage, 目标_x, 目标_y, 目标_宽度, 目标_高度, 源_x, 源_y, 源_宽度, 源_高度, 单位, 0, 0, 0
)GdipDeleteGraphics (graphics) GdipDisposeImage (HImage)
GlobalFree (HMem
)GdiplusShutdown (GDIToken
) 返回 (真)|
| memcpy | 整数型 | |
|
| crtdll.dll |
|
| @memcpy |
|
| dest | 整数型 | | |
| src | 字节集 | | |
| size | 整数型 | | |
|
| GdiplusStartup | 整数型 | |
|
| gdiplus.dll |
|
| GdiplusStartup |
|
| token | 整数型 | | |
| inputbuf | GdiplusStartupInput | | |
| outputbuf | 整数型 | | |
|
| GdipDrawImageRect | 整数型 | |
|
| GdiPlus.dll |
|
| GdipDrawImageRect |
|
| Graphics | 整数型 | | |
| Image | 整数型 | | |
| X | 小数型 | | |
| Y | 小数型 | | |
| Width | 小数型 | | |
| Height | 小数型 | | |
|
| GdiplusShutdown | 整数型 | |
|
| gdiplus.dll |
|
| GdiplusShutdown |
|
| token | 整数型 | | |
|
| CreateStreamOnHGlobal | 整数型 | |
|
| ole32 |
|
| CreateStreamOnHGlobal |
|
| hGlobal | 整数型 | | |
| fDeleteOnRelease | 逻辑型 | | |
| ppstm | 整数型 | | |
|
| GlobalAlloc | 整数型 | |
|
| kernel32.dll |
|
| GlobalAlloc |
|
| uFlags | 整数型 | | |
| dwBytes | 整数型 | | |
|
| GlobalLock | 整数型 | |
|
| kernel32.dll |
|
| GlobalLock |
|
| hMem | 整数型 | | |
|
| GdipLoadImageFromStream | 整数型 | |
|
| GdiPlus.dll |
|
| GdipLoadImageFromStream |
|
| Stream | 整数型 | | |
| Image | 整数型 | | |
|
| GlobalUnlock | 逻辑型 | |
|
| kernel32.dll |
|
| GlobalUnlock |
|
| hMem | 整数型 | | |
|
| GdipLoadImageFromFile | 整数型 | |
|
| GdiPlus.dll |
|
| GdipLoadImageFromFile |
|
| FileName | 字节集 | | |
| Image | 整数型 | | |
|
| GdipDrawImageRectRect | 整数型 | |
|
| GdiPlus.dll |
|
| GdipDrawImageRectRect |
|
| Graphics | 整数型 | | |
| Image | 整数型 | | |
| dstx | 小数型 | | |
| dsty | 小数型 | | |
| dstwidth | 小数型 | | |
| dstheight | 小数型 | | |
| srcx | 小数型 | | |
| srcy | 小数型 | | |
| srcwidth | 小数型 | | |
| srcheight | 小数型 | | |
| srcUnit | 整数型 | | |
| ImageAttributes | 整数型 | | |
| Callback | 整数型 | | |
| CallbackData | 整数型 | | |
|
| GdipDeleteGraphics | 整数型 | |
|
| gdiplus.dll |
|
| GdipDeleteGraphics |
|
| graphics | 整数型 | | |
|
| GdipDisposeImage | 整数型 | |
|
| GdiPlus.dll |
|
| GdipDisposeImage |
|
| Image | 整数型 | | |
|
| GlobalFree | 整数型 | |
|
| kernel32.dll |
|
| GlobalFree |
|
| hMem | 整数型 | | |
|
| GdipCreateFromHDC | 整数型 | |
|
| gdiplus.dll |
|
| GdipCreateFromHDC |
|
| hDC | 整数型 | | |
| graphics | 整数型 | | |
|
| GdiplusStartupInput | |
|
| GdiplusVersion | 整数型 | | |
| DebugEventCallback | 整数型 | | |
| SuppressBackgroundThread | 逻辑型 | | |
| SuppressExternalCodecs | 逻辑型 | | |
词条作者信息
使用例程