canvas.drawbitmap

c# 想在picturebox中画bitmap图,因为要处理像素点,又想用graphics中的一些工具,代码能这么写吗?

这是何必呢?直接画就好了,连画个圆都这样麻烦,后面其他的怎么办? 123Graphics graph = pictureBox1.CreateGraphics();Rectangle r = new Rectangle(10, 10, 30, 30);graph.DrawEllipse(Pens.Red, r); r你可以定义成数组。Rectangles[] r