Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
256z256 ピクチャ ボックスに四角形を描画するこのコードがありますが、四角形全体が表示されず、半分しか表示されません。
e.Graphics.DrawRectangle(mypen,0,0,256,256);
多分それは中心からそれを描きますか?試す
Rectangle m_rectangle = new Rectangle(0, 0, 512, 512); e.Graphics.DrawRectangle(mypen,m_rectangle);
暗闇の中で突き刺すだけです。