Sha256: 50fa2f82432b2fc302a7a7b3cb796bc8c78cb42472717a144f3d9b7cf30476c0

Contents?: true

Size: 1.21 KB

Versions: 17

Compression:

Stored size: 1.21 KB

Contents

package fx.chart.ui {

  import flash.display.Sprite;
  import mx.core.*;
  import fx.chart.*;
  import fx.util.*;
  import fx.chart.Chart;

  /**
   * 描画コンテキスト
   */
  public class RenderingContext {

    /**
     * コンストラクタ
     */
    public function RenderingContext(canvas:UIComponent) {
      this.canvas = canvas;

      chartComponent = new UIComponent();
      chartComponent.width = canvas.stage.width;
      chartComponent.height = canvas.stage.height;
      canvas.addChild(chartComponent);

      // ステージ
      this.stage = new Stage(
          canvas.stage.width, canvas.stage.height );

      // レイヤーを作成
      layers = new LayerManager( chartComponent, stage );

    }

    /**
     * キャンバスコンテナ
     */
    public var canvas:UIComponent;

    /**
     * チャートコンポーネント(キャンバスに全面配置されるスプライト)
     */
    public var chartComponent:UIComponent;

    /**
     * レイヤー(チャートコンポーネント上のスプライト)
     */
    public var layers:LayerManager;

    /**
     * ステージ情報
     */
    public var stage:Stage;
  }
}

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
unageanu-jiji-0.1.0 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.0.0 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.0.1 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.0.2 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.0.3 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.1.0 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.1.1 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.1.2 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.1.3 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.1.4 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.2.1 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.2.3 swf/chart/fx/chart/ui/RenderingContext.as
unageanu-jiji-1.2.4 swf/chart/fx/chart/ui/RenderingContext.as
jiji-1.2.8 swf/chart/fx/chart/ui/RenderingContext.as
jiji-1.2.7 swf/chart/fx/chart/ui/RenderingContext.as
jiji-1.2.6 swf/chart/fx/chart/ui/RenderingContext.as
jiji-1.2.5 swf/chart/fx/chart/ui/RenderingContext.as