A method for synthesizing images on an intelligent drawing board
A synthesis method and drawing board technology, applied in the field of drawing, can solve the problems of high CPU usage, single function, and low scalability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0027] A method for synthesizing an intelligent drawing board picture, including the following steps:
[0028] 1) Create a smart drawing board hierarchical structure, which is a drawing board view layer, a background layer, a composite view layer, and a drawing view layer from bottom to top, and the background layer is used to display background pictures.
[0029] 2) Use the Bezier path to record the path drawn on the drawing view layer, generate a picture from the path, and display the picture on the drawing view layer;
[0030] 3) After the drawing is completed, transfer the picture on the drawing view layer to the composite view layer for buffering, and the drawing view layer eliminates the Bezier path record on it and restores the initial state;
[0031] 4) Combine the pictures cached on the composite view layer with the pictures on the background layer and generate a photo album on the drawing view layer.
[0032] When drawing a picture, the painter draws on the drawing view layer,...
Embodiment 2
[0034] Optimized on the basis of Example 1. In step 2), after the drawing view layer is restored to its original state, the Bezier path of the second drawing is recorded again and the picture is regenerated, and the regenerated picture is transferred to the composite view Cache on the layer, the drawing view layer eliminates the Bezier path record on it, and restores the initial state again.
[0035] In the process of drawing, the painter draws on the drawing view layer, and the Bezier path records the drawing path on the drawing view layer. The picture is generated from the path, and the picture is transferred to the composite view layer for cache, and the drawing view layer is eliminated Record the Bezier path on it and restore the initial state. After the painting view layer returns to the initial state, record the Bezier path of the secondary painting again and generate the picture again, and transfer the second generation picture to the composite view layer for cache , The t...
Embodiment 3
[0037] Optimized on the basis of embodiment 2, the Bezier path recording and painting path includes the following specific steps:
[0038] 1) The drawing view layer collects the user's sliding track coordinate points;
[0039] 2) When the fifth point is collected, reset the value of the fourth point: the x-coordinate of the fourth point is set to the average value of the x-coordinate of the third point and the x-coordinate of the fifth point. The y coordinate of each point is set to the average value of the y coordinate of the 3 points and the y coordinate of the fifth point;
[0040] 3) Drawing a quadratic Bezier curve with the first point as the starting point, the fourth point as the end point, and the second and third points as the control points;
[0041] 4) Set the coordinates of the first point to be processed next time as the coordinates of the fifth point of this time, and add 1 to the collected number;
[0042] 5) Repeat step 2 until all coordinate points are processed.
[004...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com