I am trying to write a drawing program for use with a tablet. To do this, I need recession and transparency to use with pressure. Therefore, I use a raster system in C # to build an image.
It seems I cannot get the drawing code at the moment to display anything. It is displayed in a frame with an image. I know that there are some things that are introduced into a bitmap as it appears when I do a bitmap.
I looked at almost all of the drawing questions in C #, citing the use of a line drawing or an ellipse drawing element, rather than bitmap images
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace paint1 { public partial class Form2 : Form { public Bitmap m_bitmap; public bool m_penDown; public int m_lastX; public int m_lastY; public int m_currentX; public int m_currentY; public Form2() { InitializeComponent();
I'm a little new to C #, so I'm very open to any other questions or things that might come in handy.
source share