コード例 #1
0
ファイル: MainTabPage.cs プロジェクト: wonderhorn/mkfj
 void paint(Graphics g)
 {
     foreach (Billboard b in billboards)
     {
         g.DrawImage(ImageLoader.Instance().getImage(b.file_name)
                     , new Rectangle(b.x, b.y, b.w, b.h)
                     , new Rectangle(b.refx, b.refy, b.w, b.h), GraphicsUnit.Pixel);
     }
     this.picbox.Size = data.Size;
     data.paint(g);
     cursor.paint(g);
     cursor_yellow.paint(g);
 }
コード例 #2
0
ファイル: ClipBoard.cs プロジェクト: wonderhorn/mkfj
 private void pictureBox1_Paint(object sender, PaintEventArgs e)
 {
     data.paint(e.Graphics);
 }