チェンジセット 1304
- コミット日時:
- 2008/09/12 00:26:02 (4 ヶ月前)
- ファイル:
-
- as3/swfassist/trunk/src/org/libspark/swfassist/flash/display/AbstractShapeDrawer.as (更新) (1 diff)
- as3/swfassist/trunk/src/org/libspark/swfassist/flash/display/ExperimentalShapeDrawer.as (追加)
- as3/swfassist/trunk/src/org/libspark/swfassist/flash/display/PenGraphics.as (更新) (3 diffs)
- as3/swfassist/trunk/src/org/libspark/swfassist/swf/io/SWFReader.as (更新) (1 diff)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/swfassist/trunk/src/org/libspark/swfassist/flash/display/AbstractShapeDrawer.as
r768 r1304 66 66 drawCurvedEdge(CurvedEdgeRecord(record)); 67 67 break; 68 default: 69 STDOUT.puts("OHOHOHOOHO"); 70 break; 68 71 } 69 72 } as3/swfassist/trunk/src/org/libspark/swfassist/flash/display/PenGraphics.as
r768 r1304 35 35 public function beginFill(color:uint, alpha:Number=1.0):void 36 36 { 37 _commands.push(new GraphicBeginFill(color, alpha)); 37 38 } 38 39 … … 57 58 public function endFill():void 58 59 { 60 _commands.push(new GraphicEndFill()); 59 61 } 60 62 … … 164 166 } 165 167 168 class GraphicBeginFill extends EventDispatcher implements GraphicCommand 169 { 170 public function GraphicBeginFill(color:uint, alpha:Number) 171 { 172 this.c = color; 173 this.a = alpha; 174 } 175 176 private var c:uint; 177 private var a:Number; 178 179 public function draw(graphics:Graphics):void 180 { 181 graphics.beginFill(c, a); 182 } 183 } 184 185 class GraphicEndFill extends EventDispatcher implements GraphicCommand 186 { 187 public function GraphicEndFill() 188 { 189 } 190 191 public function draw(graphics:Graphics):void 192 { 193 graphics.endFill(); 194 } 195 } 196 166 197 class GraphicPoint extends EventDispatcher 167 198 { as3/swfassist/trunk/src/org/libspark/swfassist/swf/io/SWFReader.as
r768 r1304 1808 1808 list[i] = readFillStyle(input, context); 1809 1809 } 1810 1810 1811 1811 return fillStyleArray; 1812 1812 }
