コード例 #1
0
ファイル: ViewportForm.cs プロジェクト: catb0t/heron-language
 public ViewportForm(int w, int h, Viewport vp)
 {
     InitializeComponent();
     bmp = new Bitmap(w, h);
     g = Graphics.FromImage(bmp);
     this.vp = vp;
     Width = w;
     Height = h;
 }
コード例 #2
0
ファイル: ViewportForm.cs プロジェクト: catb0t/heron-language
 internal void SetViewport(Viewport vp)
 {
     this.vp = vp;
 }