⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test02.c

📁 Ming is a library for generating Macromedia Flash files (.swf), written in C, and includes useful ut
💻 C
字号:
#include <libming.h>#include <stdlib.h>int main(){	SWFMovie m = newSWFMovieWithVersion(8);	SWFShape s = newSWFShape();	SWFFill f = SWFShape_addSolidFill(s, 255,0,0,255);	SWFShape_setRightFill(s, f);	Ming_setCubicThreshold(10);	SWFShape_movePenTo(s, 167.000000, 69.875040);	SWFShape_drawCubicTo(s, 198.796531,69.875040,224.624960,95.703469,224.624960,127.500000);	SWFShape_drawCubicTo(s, 224.624960,159.296531,198.796531,185.124960,167.000000,185.124960);	SWFShape_drawCubicTo(s, 135.203469,185.124960,109.375040,159.296531,109.375040,127.500000);	SWFShape_drawCubicTo(s, 109.375040,95.703469,135.203469,69.875040,167.000000,69.875040);	SWFMovie_add(m, s);	SWFMovie_save(m, "test02.swf");	return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -