o(╥﹏╥)oSad

WeChat cannot downloadAisouya Drawing Board, but just click on the upper right corner and select open in browser or Safari!
Aisouya Drawing Board

Aisouya Drawing Board

  • Size: 0.18M
  • Language: Simplified Chinese
  • category: image processing
  • System: Winxp/vista/win7/win8/2000/2003

This is a drawing program similar to mspaint implemented in C#/Winform/GDI+. Currently, regular shapes such as straight lines, polylines, rectangles, ellipses, and indicator arrows are implemented. After these shapes are drawn, they will not be unable to move like mspaint, but can be edited again, including rotation, scaling, etc.

For those who have never done this kind of program, the most curious thing may be, after you draw something with the Graphics class, how can you re-select, move, and edit it?

Take drawing a rectangle as an example. If you use the Graphics class to draw a rectangle on a control (Control), and remember the starting point coordinates, size and other data of the rectangle, then when the user clicks on the control, you It can be judged whether the user clicked on the rectangle. If so, it means that the rectangle is selected. If the user also moves the mouse at the same time, then the starting point coordinates of the rectangle can be recalculated based on the distance moved, and then the rectangle can be redrawn. .

This is the basic method used by Aisouya Drawing Board. Internally remember the starting point coordinates, size, color and other information of various shapes (line segments, rectangles, ellipses, etc.). After the user moves or rotates the shape, this information must be updated immediately and the shape must be redrawn.

There are many other difficulties. For example, if the user enlarges the image and draws a new shape on the enlarged view, what is the difference between the processing at this time and the non-enlarged view? Another example is the undo (step back) function. How to give up the last operation and return to the previous state? The two functions of amplification and undo are not yet implemented, but the general idea is already there.

There are two purposes for making this program. First, after writing all the functions, use a control library I wrote before to make its UI, and then this drawing program will be used as an application example of the control library. The second is to make a practical screenshot and drawing program, try to imitate mspaint, but it must be enhanced in every aspect. Of course, the Aisouya drawing board is still very simple at present. It does not have a screenshot function, cannot paste bitmaps, cannot edit text, etc. It will continue to be improved later.

Version: 0.1 | Update time: 2015-09-30

Similar recommendations

Latest updates

Aisouya Drawing Board Comments

  • 1st floor Huajun netizen 2020-03-23 ​​17:36:47
    The interface design of Aisouya Drawing Board is very easy to use and has rich functions. I highly recommend it!
  • 2nd floor Huajun netizen 2017-08-08 09:00:58
    Aisouya Drawing Board has comprehensive functions and is very convenient to use.
  • 3rd floor Huajun netizen 2019-04-19 21:23:48
    Aisouya Drawing Board has quite comprehensive functions. It is the latest version. It is free to download. Keep up the good work!

Recommended products

Everyonealso likeThese:

+

This application has not passed real-name authentication. You can download it through the mobile assistant.

CancelOK