易语言使用GDI+旋转图像源码
系统结构:Create,Draw,Destroy,GdipCreateBitmapFromBinary,GdipRotateAtMatrix,GdiplusStartup,GdiplusShutdown,GdipDisposeImage,GdipGetImagePixelFormat,GdipGetImageGraphicsContext,GdipRotateMatrix,GdipCreateMatrix,GdipTranslateMatrix,GdipSetWorldTransform,GdipDrawImageRect,GdipCreateBitmapFromScan0,GdipCreateSolidFill,GdipFillRectangle,GdipGetImageWidth,GdipGetImageHeight,GdipDeleteMatrix,GdipDeleteBrush,GdipDeleteGraphics,GdipCreateFromHDC,GetDC,ReleaseDC,GlobalAlloc,CreateStreamOnHGlobal,GlobalLock,GlobalUnlock,GetObjectPtr,GdipCreateBitmapFromStream,GlobalFree,
======窗口程序集1
| |
| |------ __启动窗口_创建完毕
| |
| |------ __启动窗口_可否被关闭
| |
| |------ _时钟1_周期事件
| |
| |
======类1
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ Create
| |
| |------ Draw
| |
| |------ Destroy
| |
| |------ GdipCreateBitmapFromBinary
| |
| |------ GdipRotateAtMatrix
| |
| |
======调用的Dll
| |
| |---[dll]------ GdiplusStartup
| |
| |---[dll]------ GdiplusShutdown
| |
| |---[dll]------ GdipDisposeImage
| |
| |---[dll]------ GdipGetImagePixelFormat
| |
| |---[dll]------ GdipGetImageGraphicsContext
| |
| |---[dll]------ GdipRotateMatrix
| |
| |---[dll]------ GdipCreateMatrix
| |
| |---[dll]------ GdipTranslateMatrix
| |
| |---[dll]------ GdipSetWorldTransform
| |
| |---[dll]------ GdipDrawImageRect
| |
| |---[dll]------ GdipCreateBitmapFromScan0
| |
| |---[dll]------ GdipCreateSolidFill
| |
| |---[dll]------ GdipFillRectangle
| |
| |---[dll]------ GdipGetImageWidth
| |
| |---[dll]------ GdipGetImageHeight
| |
| |---[dll]------ GdipDeleteMatrix
| |
| |---[dll]------ GdipDeleteBrush
| |
| |---[dll]------ GdipDeleteGraphics
| |
| |---[dll]------ GdipCreateFromHDC
| |
| |---[dll]------ GetDC
| |
| |---[dll]------ ReleaseDC
| |
| |---[dll]------ GlobalAlloc
| |
| |---[dll]------ CreateStreamOnHGlobal
| |
| |---[dll]------ GlobalLock
| |
| |---[dll]------ GlobalUnlock
| |
| |---[dll]------ GetObjectPtr
| |
| |---[dll]------ GdipCreateBitmapFromStream
| |
| |---[dll]------ GlobalFree
调用的DLL命令:
.DLL命令 GdiplusStartup, 整数型, "gdiplus.dll", "GdiplusStartup"
.参数 token, 整数型, 传址
.参数 inputbuf, GdiplusStartupInput
.参数 outputbuf, 整数型
.DLL命令 GdiplusShutdown, , "gdiplus.dll", "GdiplusShutdown"
.参数 token, 整数型
.DLL命令 GdipDisposeImage, 整数型, "gdiplus.dll", "GdipDisposeImage"
.参数 image, 整数型
.DLL命令 GdipGetImagePixelFormat, 整数型, "gdiplus.dll", "GdipGetImagePixelFormat"
.参数 image, 整数型
.参数 format, 整数型, 传址
.DLL命令 GdipGetImageGraphicsContext, 整数型, "gdiplus.dll", "GdipGetImageGraphicsContext"
.参数 image
.参数 graphics, , 传址
.DLL命令 GdipRotateMatrix, 整数型, "gdiplus.dll", "GdipRotateMatrix"
.参数 matrix
.参数 angle, 小数型
.参数 order
.DLL命令 GdipCreateMatrix, 整数型, "gdiplus.dll", "GdipCreateMatrix"
.参数 matrix, , 传址
.DLL命令 GdipTranslateMatrix, 整数型, "gdiplus.dll", "GdipTranslateMatrix"
.参数 matrix
.参数 offsetX, 小数型
.参数 offsetY, 小数型
.参数 order
.DLL命令 GdipSetWorldTransform, 整数型, "gdiplus.dll", "GdipSetWorldTransform"
.参数 graphics, 整数型
.参数 matrix, 整数型
.DLL命令 GdipDrawImageRect, 整数型, "gdiplus.dll", "GdipDrawImageRect"
.参数 graphics
.参数 image
.参数 x, 小数型
.参数 y, 小数型
.参数 width, 小数型
.参数 height, 小数型
.DLL命令 GdipCreateBitmapFromScan0, 整数型, "gdiplus.dll", "GdipCreateBitmapFromScan0"
.参数 width, 整数型
.参数 height, 整数型
.参数 stride, 整数型
.参数 format
.参数 scan0
.参数 bitmap, , 传址
.DLL命令 GdipCreateSolidFill, 整数型, "gdiplus.dll", "GdipCreateSolidFill"
.参数 color
.参数 brush, , 传址
.DLL命令 GdipFillRectangle, 整数型, "gdiplus.dll", "GdipFillRectangle"
.参数 graphics
.参数 brush
.参数 x, 小数型
.参数 y, 小数型
.参数 width, 小数型
.参数 height, 小数型
.DLL命令 GdipGetImageWidth, 整数型, "gdiplus.dll", "GdipGetImageWidth"
.参数 image
.参数 width, 整数型, 传址
.DLL命令 GdipGetImageHeight, 整数型, "gdiplus.dll", "GdipGetImageHeight"
.参数 image
.参数 height, 整数型, 传址
.DLL命令 GdipDeleteMatrix, 整数型, "gdiplus.dll", "GdipDeleteMatrix"
.参数 matrix
.DLL命令 GdipDeleteBrush, 整数型, "gdiplus.dll", "GdipDeleteBrush"
.参数 brush
.DLL命令 GdipDeleteGraphics, 整数型, "gdiplus.dll", "GdipDeleteGraphics"
.参数 graphics
.DLL命令 GdipCreateFromHDC, 整数型, "gdiplus.dll", "GdipCreateFromHDC"
.参数 hdc, 整数型
.参数 graphics, 整数型, 传址
.DLL命令 GetDC, 整数型, "user32.dll", "GetDC"
.参数 hWnd, 整数型
.DLL命令 ReleaseDC, 整数型, "user32.dll", "ReleaseDC"
.参数 hWnd, 整数型
.参数 hDC, 整数型
.DLL命令 GlobalAlloc, 整数型, , "GlobalAlloc"
.参数 uFlags
.参数 dwBytes
.DLL命令 CreateStreamOnHGlobal, 整数型, "ole32.dll", "CreateStreamOnHGlobal"
.参数 hGlobal
.参数 fDeleteOnRelease, 逻辑型
.参数 ppstm, 对象, 传址
.DLL命令 GlobalLock, 整数型
.参数 hMem, 整数型
.DLL命令 GlobalUnlock, 逻辑型
.参数 hMem, 整数型
.DLL命令 GetObjectPtr, 整数型, , "lstrcpyn"
.参数 lpString1, 对象, 传址
.参数 lpString2, 对象, 传址
.参数 iMaxLength, 整数型
.DLL命令 GdipCreateBitmapFromStream, 整数型, "gdiplus.dll", "GdipCreateBitmapFromStream"
.参数 stream, 整数型
.参数 bitmap, , 传址
.DLL命令 GlobalFree, 整数型, , "GlobalFree"
.参数 hMem
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。