我想构建一个打印有 x 行和 y 列的位图,使得每个框的大小为 10 x 10 像素。
现在,当我经过时:
private void printBitmap(rows, columns, numOfWhites, numOfblack, numOf(green or brown)) {
// i want to be able to build a bitmap with rows and columns with White to top right,
// black to bottom right, if green or brown fill the box with green or brown
// except the area with white or black
// how do i do this in C# ?
}
最佳答案
我们不是来这里做你的工作的,所以这是一个给初学者的提示:
创建位图: http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.aspx
然后画线:
画线: http://msdn.microsoft.com/fr-fr/library/021a23yy.aspx
哇 super 难!! :D
关于c# - 打印带有方形框的位图,这样,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5691741/