图形学

View Code
gw.setTransform(Matrix3 1)

gw.startTriangles()

gw.triangle #([
0,0,0], [50,0,0], [50,50,0]) #(red,red,red)

gw.triangle #([
0,0,0], [50,50,0], [0,50,0]) #(green,green,green)

gw.endTriangles()

gw.enlargeUpdateRect #whole

gw.updateScreen()

posted on 2011-03-08 10:21  盖天00  阅读(137)  评论(0编辑  收藏  举报

导航