Unlock instant, AI-driven research and patent intelligence for your innovation.

Curve drawing method and system

A curve drawing and curve segment technology, which is applied in the field of curve drawing methods and systems, and can solve problems such as low curve smoothness

Active Publication Date: 2016-10-12
GUANGZHOU SHIRUI ELECTRONICS
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the turning points of the drawn curves are too obvious, when viewed as a long curve, there are obvious jaggedness. The traditional curve drawing method has the disadvantage of low smoothness of the drawn curve.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Curve drawing method and system
  • Curve drawing method and system
  • Curve drawing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] A curve drawing method such as figure 1 shown, including the following steps:

[0023] Step S110: Obtain the coordinates of the first drawing point and the second drawing point continuously input by the user. The drawing point input by the user is received, and the coordinates of the first drawing point and the second drawing continuously input are obtained. The first drawing point and the second drawing point are two drawing points continuously input by the user. It can be understood that when the curve is drawn, as the user continuously inputs the drawing points, the specific points of the first drawing point and the second drawing point It will also change accordingly. That is to say, the first drawing point and the second drawing point are only used to distinguish different points, and the specific positions are not limited. For example, when drawing a curve last time, the first drawing point is the second drawing point in the last drawing.

[0024] Specifically...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a curve drawing method and system. Coordinates, inputted by a user continuously, of a first drawing point and a second drawing point are obtained; two reference poi8nts on a connecting line between the first drawing point and the second drawing point are selected and coordinates of the two reference points are obtained; an end point coordinate of a curve segment drawn at last time is searched and is used as a coordinate of a starting point and the coordinate of the first drawing point is used as a coordinate of a starting control point; the one coordinate, approaching the first drawing point, of the coordinates of the two reference points is used as a coordinate of an end control point and the coordinate of the other reference point is used as a coordinate of an end point; according to the coordinate of the starting point, the coordinate of the starting control point, the coordinate of the end control point, and the coordinate of the end point, Bezier curve drawing is carried out, so that a curve segment drawn this time is obtained. The part between the end point and the drawing point is completed when next curve drawing is carried out; and for the next curve, the curve angle is adjusted by adjusting the previous drawing point, so that connecting parts of multiple curves are smooth without any sawtooth, so that the curve smoothness is improved.

Description

technical field [0001] The present invention relates to the technical field of image drawing, in particular to a curve drawing method and system. Background technique [0002] Image and video processing software usually has a drawing function. Users can move the mouse to draw points according to their own needs, and the computer draws images according to each point. [0003] The traditional curve drawing method is to record the coordinates of the click after receiving the message of the mouse click, then obtain the coordinates of the mouse movement process, and draw a straight line between the two points before and after the second coordinate is received. When receiving the coordinates of the third point, use the coordinates of the second and third points to draw a straight line, and combine the small segments with different directions to form a curve. Because the turning points of the drawn curves are too obvious, when viewed as a long curve, there are obvious jaggedness. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T11/20G06T11/80
CPCG06T11/203G06T11/80G06T11/20
Inventor 薄景仁
Owner GUANGZHOU SHIRUI ELECTRONICS