Home > Net >  C # winform achieve graffiti?
C # winform achieve graffiti?

Time:03-05

C # winform achieve graffiti?

CodePudding user response:

My train of thought is the point of the line, arbitrary irregular curve, line can be made up by point, so can add a mouse in the canvas when mousemove corresponding location of the point, for your reference

CodePudding user response:

The core should be use GDI + drawing, after each draw a you can record the features of the operation, in order to undo rollback operation.

CodePudding user response:

https://www.cnblogs.com/sylone/p/6096749.html

CodePudding user response:

Define a variable
Point prep.
Inside the mousemove
Var g=this. CreateGraphics ();
G.D rawLine (prep) x, prep. Y, e.x, e.y);
Prep=new Point (e.X, e.Y);

CodePudding user response:

Beginner c #, it's convenient contact? I want to is to use the underlying picturebox fill, picture of the upper with a completely transparent window, size, location and picturebox in the same position, operating the upper graffiti, completely does not affect the underlying image, and then the interception picturebox to save the size of the window, is now a card to a transparent form above, I QQ921712313, can contact if you have ideas, so thankful,

CodePudding user response:

WPF InkCanvas know

CodePudding user response:

Can try GoEasy provide websocket service to push data, with the help of GoEasy provide websocket ability, developers can easily achieve teaching whiteboard, you draw I guess, and other functions,

The server can use GoEasy provide REST API interface, PHP, c # or Java is support calls,

The front support is good also, small procedures, the vue, react, JavaScript is support,
  •  Tags:  
  • C#
  • Related