易语言API描绘发光文字源码
系统结构:制矩形L,其他_A2W,其他_RGB到ARGB,图形_发光文本,图形_文本路径,GdiplusStartup,GdipCreateFromHWND,GdipCreateBitmapFromScan0,GdipGetImageGraphicsContext,GdipSetSmoothingMode,GdipSetTextRenderingHint,GdipSetCompositingQuality,GdipSetInterpolationMode,GdipSetPixelOffsetMode,GdipGetImageWidth,GdipGetImageHeight,GdipDrawImageRectRectI,GdipGraphicsClear,GdipDrawImageI,GdipCreateFontFamilyFromName,GdipCreatePath,GdipAddPathStringI,lstrlenw,GdipCreateSolidFill,GdipFillPath,MultiByteToWideChar,GdipDisposeImage,GdipDeleteGraphics,GdipDeleteFontFamily,GdipDeletePath,GdipCreateStringFormat,GdipSetStringFormatAlign,GdipSetStringFormatLineAlign,GdipDeleteStringFormat,
======程序集1
| |
| |------ _启动子程序
| |
| |------ 制矩形L
| |
| |------ 其他_A2W
| |
| |------ 其他_RGB到ARGB
| |
| |
======窗口程序集1
| |
| |------ _窗口1_创建完毕
| |
| |------ _按钮1_被单击
| |
| |------ 图形_发光文本
| |
| |------ 图形_文本路径
| |
| |
======调用的Dll
| |
| |---[dll]------ GdiplusStartup
| |
| |---[dll]------ GdipCreateFromHWND
| |
| |---[dll]------ GdipCreateBitmapFromScan0
| |
| |---[dll]------ GdipGetImageGraphicsContext
| |
| |---[dll]------ GdipSetSmoothingMode
| |
| |---[dll]------ GdipSetTextRenderingHint
| |
| |---[dll]------ GdipSetCompositingQuality
| |
| |---[dll]------ GdipSetInterpolationMode
| |
| |---[dll]------ GdipSetPixelOffsetMode
| |
| |---[dll]------ GdipGetImageWidth
| |
| |---[dll]------ GdipGetImageHeight
| |
| |---[dll]------ GdipDrawImageRectRectI
| |
| |---[dll]------ GdipGraphicsClear
| |
| |---[dll]------ GdipDrawImageI
| |
| |---[dll]------ GdipCreateFontFamilyFromName
| |
| |---[dll]------ GdipCreatePath
| |
| |---[dll]------ GdipAddPathStringI
| |
| |---[dll]------ lstrlenw
| |
| |---[dll]------ GdipCreateSolidFill
| |
| |---[dll]------ GdipFillPath
| |
| |---[dll]------ MultiByteToWideChar
| |
| |---[dll]------ GdipDisposeImage
| |
| |---[dll]------ GdipDeleteGraphics
| |
| |---[dll]------ GdipDeleteFontFamily
| |
| |---[dll]------ GdipDeletePath
| |
| |---[dll]------ GdipCreateStringFormat
| |
| |---[dll]------ GdipSetStringFormatAlign
| |
| |---[dll]------ GdipSetStringFormatLineAlign
| |
| |---[dll]------ GdipDeleteStringFormat
调用的DLL命令:
.DLL命令 GdiplusStartup, 整数型, "gdiplus.dll", "GdiplusStartup"
.参数 token, 整数型, 传址
.参数 inputbuf, GdiplusStartupInput
.参数 outputbuf, 整数型
.DLL命令 GdipCreateFromHWND, 整数型, "gdiplus", "GdipCreateFromHWND"
.参数 hwnd, 整数型
.参数 graphics, 整数型, 传址
.DLL命令 GdipCreateBitmapFromScan0, 整数型, "gdiplus", "GdipCreateBitmapFromScan0"
.参数 Width, 整数型
.参数 Height, 整数型
.参数 stride, 整数型
.参数 PixelFormat, 整数型
.参数 scan0, 整数型
.参数 bitmap, 整数型, 传址
.DLL命令 GdipGetImageGraphicsContext, 整数型, "GdiPlus.dll", "GdipGetImageGraphicsContext"
.参数 image, 整数型
.参数 graphics, 整数型, 传址
.DLL命令 GdipSetSmoothingMode, 整数型, "GdiPlus.dll", "GdipSetSmoothingMode"
.参数 graphics, 整数型
.参数 smoothingMode, 整数型
.DLL命令 GdipSetTextRenderingHint, 整数型, "GdiPlus.dll", "GdipSetTextRenderingHint"
.参数 graphics, 整数型
.参数 mode, 整数型
.DLL命令 GdipSetCompositingQuality, 整数型, "gdiplus", "GdipSetCompositingQuality"
.参数 graphics, 整数型
.参数 CompositingQlty, 整数型
.DLL命令 GdipSetInterpolationMode, 整数型, "gdiplus", "GdipSetInterpolationMode"
.参数 graphics, 整数型
.参数 interpolation, 整数型
.DLL命令 GdipSetPixelOffsetMode, 整数型, "gdiplus", "GdipSetPixelOffsetMode"
.参数 graphics, 整数型
.参数 pixelOffsetMode, 整数型
.DLL命令 GdipGetImageWidth, 整数型, "gdiplus", "GdipGetImageWidth"
.参数 Image, 整数型
.参数 Width, 整数型, 传址
.DLL命令 GdipGetImageHeight, 整数型, "gdiplus", "GdipGetImageHeight"
.参数 Image, 整数型
.参数 Height, 整数型, 传址
.DLL命令 GdipDrawImageRectRectI, 整数型, "gdiplus", "GdipDrawImageRectRectI"
.参数 graphics, 整数型
.参数 Image, 整数型
.参数 dstX, 整数型
.参数 dstY, 整数型
.参数 dstWidth, 整数型
.参数 dstHeight, 整数型
.参数 srcx, 整数型
.参数 srcy, 整数型
.参数 srcwidth, 整数型
.参数 srcheight, 整数型
.参数 srcUnit, 整数型
.参数 imageAttributes, 整数型
.参数 callback, 整数型
.参数 callbackData, 整数型
.DLL命令 GdipGraphicsClear, 整数型, "gdiplus", "GdipGraphicsClear"
.参数 graphics, 整数型
.参数 lColor, 整数型
.DLL命令 GdipDrawImageI, 整数型, "gdiplus", "GdipDrawImageI"
.参数 graphics, 整数型
.参数 Image, 整数型
.参数 x, 整数型
.参数 y, 整数型
.DLL命令 GdipCreateFontFamilyFromName, 整数型, "gdiplus", "GdipCreateFontFamilyFromName"
.参数 name, 字节集
.参数 fontCollection, 整数型
.参数 fontFamily, 整数型, 传址
.DLL命令 GdipCreatePath, 整数型, "gdiplus", "GdipCreatePath"
.参数 brushmode, 整数型
.参数 path, 整数型, 传址
.DLL命令 GdipAddPathStringI, 整数型, "gdiplus", "GdipAddPathStringI"
.参数 path, 整数型
.参数 str, 字节集
.参数 Length, 整数型
.参数 family, 整数型
.参数 style, 整数型
.参数 emSize, 小数型
.参数 layoutRect, RectF
.参数 StringFormat, 整数型
.DLL命令 lstrlenw, 整数型, "kernel32.dll", "lstrlenW", , 取宽文本长度
.参数 dqcs, 字节集, , 文本指针
.DLL命令 GdipCreateSolidFill, 整数型, "GdiPlus.dll", "GdipCreateSolidFill"
.参数 color, 整数型
.参数 brush, 整数型, 传址
.DLL命令 GdipFillPath, 整数型, "gdiplus", "GdipFillPath"
.参数 graphics, 整数型
.参数 Brush, 整数型
.参数 path, 整数型
.DLL命令 MultiByteToWideChar, 整数型, "kernel32", "MultiByteToWideChar", , 将多媒体字符串映像为通配字符串
.参数 代码页, 整数型
.参数 标志, 整数型
.参数 双字节文本, 文本型
.参数 双字节文本长度, 整数型
.参数 宽字符文本, 字节集
.参数 宽字符文本长度, 整数型
.DLL命令 GdipDisposeImage, 整数型, "gdiplus", "GdipDisposeImage"
.参数 image, 整数型
.DLL命令 GdipDeleteGraphics, 整数型, "gdiplus", "GdipDeleteGraphics"
.参数 graphics, 整数型
.DLL命令 GdipDeleteFontFamily, 整数型, "gdiplus", "GdipDeleteFontFamily"
.参数 fontFamily, 整数型
.DLL命令 GdipDeletePath, 整数型, "gdiplus", "GdipDeletePath"
.参数 path, 整数型
.DLL命令 GdipCreateStringFormat, 整数型, "gdiplus", "GdipCreateStringFormat"
.参数 formatAttributes, 整数型
.参数 language, 短整数型
.参数 StringFormat, 整数型, 传址
.DLL命令 GdipSetStringFormatAlign, 整数型, "gdiplus", "GdipSetStringFormatAlign"
.参数 StringFormat, 整数型
.参数 align, 整数型
.DLL命令 GdipSetStringFormatLineAlign, 整数型, "gdiplus", "GdipSetStringFormatLineAlign"
.参数 StringFormat, 整数型
.参数 align, 整数型
.DLL命令 GdipDeleteStringFormat, 整数型, "gdiplus", "GdipDeleteStringFormat"
.参数 StringFormat, 整数型
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。