test02.c

来自「Ming is a library for generating Macrome」· C语言 代码 · 共 24 行

C
24
字号
#include <ming.h>int main(){	int i;	SWFMovie m = newSWFMovieWithVersion(8);	SWFShape shape1 = newSWFShape();		SWFShape_setLine2(shape1, 1, 25, 0, 0, 128, SWF_LINESTYLE_FLAG_HINTING, 0);	SWFShape_movePenTo(shape1, 5, 5);        SWFShape_drawLineTo(shape1, 50, 30);	SWFDisplayItem item = SWFMovie_add(m, shape1);	SWFMovie_nextFrame(m);	SWFMovie_replace(m, item, shape1);	SWFMovie_nextFrame(m);	SWFMovie_save(m,"test02.swf");	return 0;}

⌨️ 快捷键说明

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