易语言GDI画文本源码
系统结构:子程序_歌词_初始化,子程序_歌词_关闭,A2W,十六进制到十进制,单十六进制文本到十进制数字,GdiplusShutdown,GdiplusStartup,GdipCreateFromHWND,GdipCreateSolidFill,GdipCreateFontFamilyFromName,GdipDeleteFontFamily,GdipCreateStringFormat,GdipSetStringFormatAlign,GdipSetStringFormatLineAlign,GdipDrawString,GdipDeleteFont,GdipDeleteGraphics,GdipDeleteBrush,GdipDeleteStringFormat,MultiByteToWideChar,GdipCreateFont,GdipSetTextRenderingHint,GdipCreatePen1,GdipSetSmoothingMode,GdipDeletePen,GdipDrawLineI,GdipDrawRectangleI,GdipFillRectangleI,GdipCreateLineBrushI,GdipCreateLineBrush,GdipCreateLineBrushFromRectI,GdipFillEllipseI,lstrlenw,GdipDeletePath,GdipCreatePath,GdipAddPathStringI,GdipFillPath,GdipDrawPath,
======窗口程序集1
| |
| |------ __启动窗口_创建完毕
| |
| |------ __启动窗口_将被销毁
| |
| |------ 子程序_歌词_初始化
| |
| |------ 子程序_歌词_关闭
| |
| |------ A2W
| |
| |------ _按钮_文字_被单击
| |
| |------ _按钮_画线_被单击
| |
| |------ 十六进制到十进制
| |
| |------ 单十六进制文本到十进制数字
| |
| |------ _按钮_矩形_被单击
| |
| |------ _按钮_椭圆_被单击
| |
| |------ _按钮_描边_被单击
| |
| |
======调用的Dll
| |
| |---[dll]------ GdiplusShutdown
| |
| |---[dll]------ GdiplusStartup
| |
| |---[dll]------ GdipCreateFromHWND
| |
| |---[dll]------ GdipCreateSolidFill
| |
| |---[dll]------ GdipCreateFontFamilyFromName
| |
| |---[dll]------ GdipDeleteFontFamily
| |
| |---[dll]------ GdipCreateStringFormat
| |
| |---[dll]------ GdipSetStringFormatAlign
| |
| |---[dll]------ GdipSetStringFormatLineAlign
| |
| |---[dll]------ GdipDrawString
| |
| |---[dll]------ GdipDeleteFont
| |
| |---[dll]------ GdipDeleteGraphics
| |
| |---[dll]------ GdipDeleteBrush
| |
| |---[dll]------ GdipDeleteStringFormat
| |
| |---[dll]------ MultiByteToWideChar
| |
| |---[dll]------ GdipCreateFont
| |
| |---[dll]------ GdipSetTextRenderingHint
| |
| |---[dll]------ GdipCreatePen1
| |
| |---[dll]------ GdipSetSmoothingMode
| |
| |---[dll]------ GdipDeletePen
| |
| |---[dll]------ GdipDrawLineI
| |
| |---[dll]------ GdipDrawRectangleI
| |
| |---[dll]------ GdipFillRectangleI
| |
| |---[dll]------ GdipCreateLineBrushI
| |
| |---[dll]------ GdipCreateLineBrush
| |
| |---[dll]------ GdipCreateLineBrushFromRectI
| |
| |---[dll]------ GdipFillEllipseI
| |
| |---[dll]------ lstrlenw
| |
| |---[dll]------ GdipDeletePath
| |
| |---[dll]------ GdipCreatePath
| |
| |---[dll]------ GdipAddPathStringI
| |
| |---[dll]------ GdipFillPath
| |
| |---[dll]------ GdipDrawPath
调用的DLL命令:
.DLL命令 GdiplusShutdown, , "gdiplus.dll", "GdiplusShutdown"
.参数 token, 整数型
.DLL命令 GdiplusStartup, 整数型, "gdiplus.dll", "GdiplusStartup"
.参数 token, 整数型, 传址
.参数 inputbuf, GdiplusStartupInput
.参数 outputbuf, 整数型
.DLL命令 GdipCreateFromHWND, 整数型, "gdiplus", "GdipCreateFromHWND"
.参数 hwnd, 整数型
.参数 graphics, 整数型, 传址
.DLL命令 GdipCreateSolidFill, 整数型, "GdiPlus.dll", "GdipCreateSolidFill"
.参数 color, 整数型
.参数 brush, 整数型, 传址
.DLL命令 GdipCreateFontFamilyFromName, 整数型, "gdiplus", "GdipCreateFontFamilyFromName"
.参数 name, 字节集
.参数 fontCollection, 整数型
.参数 fontFamily, 整数型, 传址
.DLL命令 GdipDeleteFontFamily, 整数型, "gdiplus", "GdipDeleteFontFamily"
.参数 fontFamily, 整数型
.DLL命令 GdipCreateStringFormat, 整数型, "gdiplus", "GdipCreateStringFormat"
.参数 formatAttributes, 整数型
.参数 language, 短整数型
.参数 StringFormat, 整数型, 传址
.DLL命令 GdipSetStringFormatAlign, 整数型, "gdiplus", "GdipSetStringFormatAlign"
.参数 StringFormat, 整数型
.参数 align, 整数型
.DLL命令 GdipSetStringFormatLineAlign, 整数型, "gdiplus", "GdipSetStringFormatLineAlign"
.参数 StringFormat, 整数型
.参数 align, 整数型
.DLL命令 GdipDrawString, 整数型, "gdiplus", "GdipDrawString"
.参数 graphics, 整数型
.参数 str, 字节集
.参数 Length, 整数型
.参数 thefont, 整数型
.参数 layoutRect, RectF
.参数 StringFormat, 整数型
.参数 Brush, 整数型
.DLL命令 GdipDeleteFont, 整数型, "gdiplus", "GdipDeleteFont"
.参数 curFont, 整数型
.DLL命令 GdipDeleteGraphics, 整数型, "gdiplus", "GdipDeleteGraphics"
.参数 graphics, 整数型
.DLL命令 GdipDeleteBrush, 整数型, "GdiPlus.dll", "GdipDeleteBrush"
.参数 brush, 整数型
.DLL命令 GdipDeleteStringFormat, 整数型, "gdiplus", "GdipDeleteStringFormat"
.参数 StringFormat, 整数型
.DLL命令 MultiByteToWideChar, 整数型, "kernel32", "MultiByteToWideChar", , 将多媒体字符串映像为通配字符串
.参数 代码页, 整数型
.参数 标志, 整数型
.参数 双字节文本, 文本型
.参数 双字节文本长度, 整数型
.参数 宽字符文本, 字节集
.参数 宽字符文本长度, 整数型
.DLL命令 GdipCreateFont, 整数型, "gdiplus", "GdipCreateFont"
.参数 fontFamily, 整数型
.参数 emSize, 小数型
.参数 style, 整数型
.参数 unit, 整数型
.参数 createdfont, 整数型, 传址
.DLL命令 GdipSetTextRenderingHint, 整数型, "GdiPlus.dll", "GdipSetTextRenderingHint"
.参数 graphics, 整数型
.参数 mode, 整数型
.DLL命令 GdipCreatePen1, 整数型, "gdiplus", "GdipCreatePen1"
.参数 color, 整数型
.参数 Width, 小数型
.参数 unit, 整数型
.参数 pen, 整数型, 传址
.DLL命令 GdipSetSmoothingMode, 整数型, "GdiPlus.dll", "GdipSetSmoothingMode"
.参数 graphics, 整数型
.参数 smoothingMode, 整数型
.DLL命令 GdipDeletePen, 整数型, "GdiPlus.dll", "GdipDeletePen"
.参数 pen, 整数型
.DLL命令 GdipDrawLineI, 整数型, "gdiplus", "GdipDrawLineI"
.参数 graphics, 整数型
.参数 pen, 整数型
.参数 x1, 整数型
.参数 y1, 整数型
.参数 x2, 整数型
.参数 y2, 整数型
.DLL命令 GdipDrawRectangleI, 整数型, "GdiPlus.dll", "GdipDrawRectangleI"
.参数 graphics, 整数型
.参数 pen, 整数型
.参数 x, 整数型
.参数 y, 整数型
.参数 width, 整数型
.参数 height, 整数型
.DLL命令 GdipFillRectangleI, 整数型, "gdiplus", "GdipFillRectangleI"
.参数 graphics, 整数型
.参数 Brush, 整数型
.参数 x, 整数型
.参数 y, 整数型
.参数 Width, 整数型
.参数 Height, 整数型
.DLL命令 GdipCreateLineBrushI, 整数型, "gdiplus", "GdipCreateLineBrushI"
.参数 Point1, 坐标L
.参数 Point2, 坐标L
.参数 color1, 整数型
.参数 color2, 整数型
.参数 WrapMd, 整数型
.参数 lineGradient, 整数型, 传址
.DLL命令 GdipCreateLineBrush, 整数型, "gdiplus", "GdipCreateLineBrush"
.参数 Point1, 坐标F
.参数 Point2, 坐标F
.参数 color1, 整数型
.参数 color2, 整数型
.参数 WrapMd, 整数型
.参数 lineGradient, 整数型, 传址
.DLL命令 GdipCreateLineBrushFromRectI, 整数型, "gdiplus", "GdipCreateLineBrushFromRectI"
.参数 rect, 矩形L
.参数 color1, 整数型
.参数 color2, 整数型
.参数 Mode, 整数型
.参数 WrapMd, 整数型
.参数 lineGradient, 整数型, 传址
.DLL命令 GdipFillEllipseI, 整数型, "gdiplus", "GdipFillEllipseI"
.参数 graphics, 整数型
.参数 Brush, 整数型
.参数 x, 整数型
.参数 y, 整数型
.参数 Width, 整数型
.参数 Height, 整数型
.DLL命令 lstrlenw, 整数型, "kernel32.dll", "lstrlenW", , 取宽文本长度
.参数 dqcs, 字节集, , 文本指针
.DLL命令 GdipDeletePath, 整数型, "gdiplus", "GdipDeletePath"
.参数 path, 整数型
.DLL命令 GdipCreatePath, 整数型, "gdiplus", "GdipCreatePath"
.参数 brushmode, 整数型
.参数 path, 整数型, 传址
.DLL命令 GdipAddPathStringI, 整数型, "gdiplus", "GdipAddPathStringI"
.参数 path, 整数型
.参数 str, 字节集
.参数 Length, 整数型
.参数 family, 整数型
.参数 style, 整数型
.参数 emSize, 小数型
.参数 layoutRect, 矩形L
.参数 StringFormat, 整数型
.DLL命令 GdipFillPath, 整数型, "gdiplus", "GdipFillPath"
.参数 graphics, 整数型
.参数 Brush, 整数型
.参数 path, 整数型
.DLL命令 GdipDrawPath, 整数型, "gdiplus", "GdipDrawPath"
.参数 graphics, 整数型
.参数 pen, 整数型
.参数 path, 整数型
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。