:20.986KB : :1 :2019-12-16 16:25:07
GdipCreateFromHWND (取窗口句柄 (), Graphics)
GdipSetSmoothingMode (Graphics, #平滑模式_抗锯齿)
' GdipSetTextRenderingHint (Graphics, #文本渲染模式_ClearType文本和hinting技术)
字体 = “宋体”
GdipCreateFontFamilyFromName (A2W (字体), 0, fontfam)
GdipCreateStringFormat (0, 0, strformat)
GdipSetStringFormatAlign (strformat, 0)
' GdipCreateFont (fontfam, 40, #字体风格_加粗, #单位_像素, curfont)
GdipCreateLineBrush (Point1, Point2, 十六进制到十进制 (“FFFF0000”), 十六进制到十进制 (“FF0000FF”), #线性渐变模式_从左到右, Brush) ' 从一点到另一点的渐变
GdipCreateFromHWND (取窗口句柄 (), Graphics)
GdipSetTextRenderingHint (Graphics, #文本渲染模式_ClearType文本和hinting技术)
' GdipSetSmoothingMode (Graphics, #平滑模式_抗锯齿)
字体 = “微软雅黑”
GdipCreateFontFamilyFromName (A2W (字体), 0, fontfam)
GdipCreateStringFormat (0, 0, strformat)
GdipSetStringFormatAlign (strformat, 0)
GdipCreateFont (fontfam, 40, #字体风格_加粗, #单位_像素, curfont)
11-20字幕SRT文件播放器开源含彗星歌词显示模
03-20桌面底部显示文字效果类似歌词显示
01-15模仿歌词显示界面