Method for realizing multiplayer split-screen operation
A canvas and user technology, applied in the input/output process of data processing, instruments, electronic digital data processing, etc., can solve the problem of not being able to support multiple people to write at the same time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0011] Please refer to figure 1 As shown, a method for realizing multi-person split-screen operation of the present invention includes the following steps:
[0012] Step 10, use the Visual Studio development tool to create a C# application project based on the .Net Framework4 framework, create a new application window, and divide the window into several areas;
[0013] Step 20, encapsulating the canvas component used by the application project, and writing each response processing function of the touch event in the canvas component, generating each corresponding canvas according to each divided window area; this step 20 specifically includes the following steps:
[0014] Step 200, the canvas component directly inherits from the Canvas class of the application project, and rewrites the redrawing function of the canvas component: OnRender(DrawingContext dc);
[0015] For example, to draw a straight line from A (10, 10) to B (120, 100) on the canvas, the color is blue, and the p...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 