CN111524209B - Electronic writing method, device, terminal and storage medium - Google Patents

Electronic writing method, device, terminal and storage medium Download PDF

Info

Publication number
CN111524209B
CN111524209B CN201910106941.6A CN201910106941A CN111524209B CN 111524209 B CN111524209 B CN 111524209B CN 201910106941 A CN201910106941 A CN 201910106941A CN 111524209 B CN111524209 B CN 111524209B
Authority
CN
China
Prior art keywords
pixel points
sequence
stroke
width
strokes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910106941.6A
Other languages
Chinese (zh)
Other versions
CN111524209A (en
Inventor
曾勇
胡海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yizhen Xuesi Education Technology Co Ltd
Original Assignee
Beijing Yizhen Xuesi Education Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yizhen Xuesi Education Technology Co Ltd filed Critical Beijing Yizhen Xuesi Education Technology Co Ltd
Priority to CN201910106941.6A priority Critical patent/CN111524209B/en
Publication of CN111524209A publication Critical patent/CN111524209A/en
Application granted granted Critical
Publication of CN111524209B publication Critical patent/CN111524209B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard

Abstract

The invention provides an electronic writing method, an electronic writing device, a terminal and a storage medium. The electronic writing method comprises the steps of obtaining original pixel points of a path through which a writing handwriting passes; carrying out equidistant interpolation on the obtained original pixel points, and storing all the pixel points into a sequence; and selecting the stored pixel points in the sequence to draw strokes, and performing width supplement on the pixel points drawing the strokes according to the number of the pixel points stored in the sequence in unit time to form a stroke front. According to the invention, the strokes are drawn asynchronously, and the widths of the pixel points of the strokes are supplemented to form the stroke edge, so that the electronic writing is more attractive, and the electronic writing has the characteristics of handwritten characters.

Description

Electronic writing method, device, terminal and storage medium
Technical Field
The invention relates to electronic writing, in particular to an electronic writing method, an electronic writing device, a terminal and a storage medium.
Background
At present, in popular online remote education, teachers giving lessons generally carry out live broadcast of pictures with the same proportion in a live broadcast room, wherein the teachers are essentially blackboards for giving lessons. On one hand, the traditional blackboard is not convenient to write and erase, such as drawing of some geometric figures, storage and recovery of notes; on the other hand, resources are wasted. An electronic blackboard has now appeared. The electronic blackboard can write like a real blackboard, and can also save and return notes, draw geometric figures in common use and the like.
At present, many network signature applications, such as bank online loan contracts and the like, require a user to write a signature on a mobile phone.
Electronic products such as an electronic blackboard and a mobile phone which can be used for writing are both composed of a touch screen and writable software, but the thickness of strokes or lines written on the electronic products is not changed, so that the written strokes or lines are hard and hard, and the characteristics of handwritten characters cannot be embodied accurately.
Disclosure of Invention
The invention provides an electronic writing method, an electronic writing device, a terminal and a storage medium, which are used for solving one or more technical problems in the prior art.
To achieve the above object, according to one aspect of the present invention, there is provided an electronic writing method including:
acquiring original pixel points of the path of the handwriting;
carrying out equidistant interpolation on the obtained original pixel points, and storing all the pixel points into a sequence;
and selecting the pixel points stored in the sequence to draw strokes, and performing width supplement on the pixel points drawing the strokes according to the number of the pixel points stored in the sequence in unit time to form a stroke front.
In an embodiment, the specific steps of selecting stored pixel points in the sequence to draw strokes, and performing width supplementation on the pixel points drawing the strokes according to the number of the pixel points calculated in unit time to form the stroke front include:
selecting the stored pixel points in the sequence, and drawing an initial stroke by using the initial width of the pixel points, wherein the initial width of the pixel points is the minimum unit width of the pixel points;
calculating the difference value between the storing time of the first original pixel point and the storing time of the last original pixel point which are selected in the current sequence and used for drawing the strokes, and calculating the number of the pixel points in unit time according to the number of the selected original pixel points; selecting and storing original pixel points in the sequence are parallel at the same time;
comparing the number of the pixel points in the calculated unit time with the set standard number of the pixel points in the unit time;
when the number of the pixel points in the calculated unit time is less than or equal to the standard number of the pixel points in the unit time, performing set width supplement on all the selected pixel points for drawing the strokes to form stroke fronts, wherein the supplemented set width values are equal;
and when the number of the pixel points in the calculated unit time is larger than the standard number of the pixel points in the unit time, supplementing the selected first pixel point of the drawing stroke by a set width, and gradually reducing the supplemented width value of the subsequent pixel points.
In one embodiment, the specific steps of supplementing a selected first pixel point of a drawing stroke by a set width, and gradually decreasing the supplemented width of subsequent pixel points include:
the number of the pixel points in the unit time of the current sequence is calculated to be a first value;
supplementing a first set of pixel points selected during drawing the stroke with a first set width according to the first value;
according to the first arithmetic progression, with the supplemented width of the first group of pixel points as a starting point, sequentially decreasing and supplementing the width of each group of pixel points selected by the subsequent drawing strokes, and moving the first group of pixel points out of the sequence; wherein, each group of selected pixel points comprises at least one pixel point;
calculating the number of pixel points in unit time of the current sequence taking the second group of pixel points as initial pixel points as a second value;
supplementing a second set of pixel points selected during drawing the stroke with a second set width according to the second value;
according to the second arithmetic progression, with the supplemented width of the second group of pixel points as a starting point, sequentially decreasing and supplementing the width of each group of pixel points selected by the subsequent drawing strokes, and moving the second group of pixel points out of the sequence;
and according to the steps, repeatedly supplementing the width of each group of pixel points selected by the drawing strokes until the width of the last group of pixel points stored in the sequence is supplemented, wherein the set width is in inverse proportion to the number of the pixel points in the unit time of the current sequence.
In one embodiment, the method for supplementing the width of the pixel point for drawing the stroke to form the stroke front further includes:
judging the collection of the handwriting;
when the sequence is not stored in the original pixel points within the set time, judging that the writing handwriting is a received handwriting, supplementing a set width to a first pixel point in all selected pixel points of the drawing stroke, and gradually reducing the supplemented width value of subsequent pixel points;
when the sequence is stored in the original pixel points within the set time, the writing handwriting is judged to be normal handwriting, all the selected pixel points of the drawn stroke are supplemented with the set width to form the stroke front, and the supplemented set width values are equal.
In one embodiment, the specific steps of performing equidistant interpolation on the obtained original pixel points and storing all the pixel points into a sequence include:
calculating the actual distance between any two adjacent pixel points in the obtained original pixel points;
when any calculated actual distance is larger than the standard distance between two adjacent pixel points, the actual distance is split equidistantly, and new pixel points are supplemented at corresponding split positions, so that the actual distance between any adjacent pixel points after the pixel points are supplemented is smaller than or equal to the standard distance;
and storing the obtained original pixel points and the supplemented pixel points into the sequence.
In one embodiment, the step of selecting the stored pixel points in the sequence to draw strokes includes:
and drawing strokes by drawing a Bezier curve.
In one embodiment, the same color shadow effect of 1 or 2 pixels is added to any pixel point selected when the stroke is drawn.
According to still another aspect of the present invention, there is provided an electronic writing apparatus including:
an acquisition unit configured to acquire original pixel points of a path through which a writing trace passes;
the splitting unit is configured to perform equidistant interpolation on the obtained original pixel points and store all the pixel points into a sequence;
and the drawing unit is configured to select the stored pixel points in the sequence to draw strokes, and perform width supplement on the pixel points drawing the strokes according to the number of the pixel points stored in the sequence in unit time to form stroke peaks.
In one embodiment, the rendering unit includes:
the drawing subunit is configured to select the stored pixel points in the sequence and draw initial strokes according to the initial widths of the pixel points, wherein the initial widths of the pixel points are the minimum unit widths of the pixel points;
a calculating subunit, configured to calculate a difference between a saving time of a first original pixel point selected in the current sequence for drawing the stroke and a saving time of a last original pixel point, and calculate the number of pixel points in unit time according to the number of the selected original pixel points; selecting and storing original pixel points in the sequence at the same time;
a comparison subunit configured to compare the number of the pixel points in the calculated unit time with a set standard number of the pixel points in the unit time;
when the number of the pixel points in the calculated unit time is less than or equal to the standard number of the pixel points in the unit time, the ratio pair subunit is configured to perform width supplement on all the selected pixel points for drawing the strokes to form the stroke front, and the supplemented set width values are equal;
when the number of the pixel points in the calculated unit time is larger than the standard number of the pixel points in the unit time, the ratio pair subunit is configured to supplement the set width for the first selected pixel point of the drawing stroke, and gradually reduce the width value for the subsequent pixel point supplementation.
According to still another aspect of the present invention, there is provided an electronic writing terminal including:
one or more processors;
a storage device for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the electronic writing method as in any of the embodiments described above.
According to still another aspect of the present invention, there is provided a computer-readable storage medium storing a computer program which is executed by a processor to implement the electronic writing method as described in any one of the above embodiments.
By adopting the technical scheme, the invention has the following advantages: the invention asynchronously draws strokes, increases the smoothness of the electronic writing strokes through equidistant interpolation of pixel points, and forms the stroke edge by supplementing the width of the drawn strokes, thereby leading the electronic writing to be more beautiful and having the characteristics of handwritten characters.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and the following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
FIG. 1 is a schematic flow chart of a method of electronic writing in an embodiment of the present invention;
FIG. 2 is another schematic flow chart of the electronic writing method in the embodiment of the present invention;
FIG. 3 is still another schematic flow chart of the electronic writing method in the embodiment of the present invention;
FIG. 4 is a schematic block diagram of an electronic writing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic frame diagram of a drawing unit in the electronic writing apparatus according to the embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
The embodiment provides an electronic writing method in a first aspect. Referring to fig. 1, the electronic writing method includes:
step S110: and acquiring original pixel points of the path of the handwriting. And acquiring the coordinates of the pixel points while acquiring the pixel points so as to position the positions of the pixel points.
In a particular embodiment, when writing the "man" word with the electronic pen, the strokes to be written are in numbers of two, the first stroke is in a vertical stroke, the second stroke is in a vertical stroke, the electronic pen first writes the first stroke in a vertical stroke, the first stroke is in a vertical stroke, i.e. the writing, the vertical stroke, the pixel points passing through the path of the strokes on the display screen are obtained, the pixel points passing through the path of the first stroke are obtained, i.e. the original pixel points passing through the path of the first stroke.
Step S120: and carrying out equidistant interpolation on the obtained original pixel points, and storing all the pixel points into a sequence. Theoretically, handwriting passes through all the pixels, but in practical applications, such as H5-canvas, not all the pixels are displayed to developers. When writing because the difference of writing speed, there is the difference in the actual distance of the original pixel that the front end obtained, for example, write the handwriting and actually pass through 10 pixels, and the front end shows for the developer only 5 pixels wherein, the distance between 5 pixels will be greater than the distance between 10 pixels, it is fast more to write speed, the pixel of demonstration is less, therefore, carry out the equidistance interpolation to original pixel, can supply new pixel between original pixel, thereby guarantee that the interval between the adjacent all pixels after the split is the same and less than or equal to standard interval, thereby increase visual smoothness, then all deposit the sequence in original pixel and interpolation pixel, and when depositing the time of depositing of recording pixel. The sequence is similar to a memory bank, and pixel points can be stored and arranged.
Step S130: and selecting the pixel points stored in the sequence to draw strokes, and supplementing the widths of the pixel points for drawing the strokes according to the number of the pixel points stored in the sequence in unit time to form stroke peaks. And selecting a pixel point in the sequence as a first pixel point of the drawing stroke, and then sequentially acquiring the drawn pixel points according to the sequence arranged in the sequence until the last drawn pixel point is confirmed to be selected, so that the stroke is visually formed when all the acquired pixel points are drawn at the display end, and the asynchronous drawing stroke is realized. In accordance with the above-described embodiments, the drawn strokes should be first strokes "down. The number of the pixel points in unit time reflects writing speed, and the stroke edge characteristics generated at the writing speed are inferred according to the characteristics of the handwritten strokes, so that the width of the pixel points for drawing the strokes is supplemented to form the stroke edge, the electronically written strokes have the stroke edge, and the characteristics of the handwritten strokes are reflected. The first strokes "" which are initially drawn in step S130 are drawn only according to paths and pixel points and do not exhibit handwriting characteristics, then the stroke fronts which occur at the handwriting speed are deduced according to the writing speed of the electronic pen, the pixel points which are initially drawn in the first strokes "" horizontal and vertical "" are supplemented in width, the stroke fronts characteristics are supplemented on the basis of the original strokes, and the first strokes "" horizontal and vertical "" are written.
The whole process from step S110 to step S130, that is, the process of drawing the first stroke, i.e., the first stroke, is written in the form of a stroke, so that each stroke is completed through the whole process from step S110 to step S130, thereby causing different stroke features to appear, the whole process from step S110 to step S130 is actually a process of drawing strokes asynchronously, but the whole process from step S110 to step S130 is very short in time, and corresponding strokes with stroke features can be drawn after the first stroke appears.
In one embodiment, steps S110 to S130 are similar, but in step S130, the stroke is not formed first, but the width of each pixel point when the stroke is formed is calculated rapidly according to the algorithm of step S130 at an extremely fast speed, and then the stroke is formed directly with the width, so that there is an extremely short delay between the writing process and the stroke formation, and thus, the writing and stroke can be displayed in a manner of simultaneous execution.
The embodiment forms the stroke edge by supplementing the width of the drawn stroke, thereby enabling the electronic writing to be more beautiful and having the characteristic of writing by hand.
In an embodiment, referring to fig. 2, the specific steps of selecting the stored pixel points in the sequence to draw the stroke in step S130, and performing width supplementation on the pixel points drawing the stroke according to the number of the sequentially stored pixel points in the unit time to form the stroke front include:
step S141: and selecting the stored pixel points in the sequence, and drawing initial strokes by using the initial widths of the pixel points, wherein the initial widths of the pixel points are the minimum unit widths of the pixel points. Thus, the drawing stroke is divided into two parts, the first part is to draw the stroke by the selected pixel point to form a stroke prototype, and the width of the pixel point is supplemented after the initial width of the pixel point is utilized.
Step S142: calculating the difference value of the storing time of the first original pixel point and the storing time of the last original pixel point which are selected in the current sequence and used for drawing the strokes, and calculating the number of the pixel points in unit time according to the number of the selected original pixel points; wherein, the selection and the storage of the original pixel points in the sequence are parallel at the same time. The calculated difference time is the time for drawing the stroke, the number of original pixel points used for drawing the stroke is obtained, the number of the pixel points in unit time can be calculated according to the known unit time, and the number of the pixel points in unit time can reflect the writing speed. The standard number of the pixel points in the unit time can be regarded as the pixel points generated in the normal writing speed. The more the number of the sequences stored in the original pixel points in unit time is, the faster the writing speed is. The time of storing each pixel point in the step can be regarded as or replaced by the timestamp of the pixel point. A timestamp can indicate that a piece of data is complete and verifiable data that existed before a particular time, usually a sequence of characters, uniquely identifying the time of a moment. And determining the timestamp of the pixel point, so that the pixel point with wrong storage time can not be obtained when the pixel point is stored or obtained.
In the process of drawing strokes, after the stored pixel points in the sequence reach a certain number, the stroke is drawn by selecting, and because the writing speeds are different, the selected and stored pixel points in the sequence are different, so that under the condition that the selection and the storage are carried out simultaneously, the number of the pixel points in unit time needs to be recalculated.
Step S143: and comparing the number of the calculated pixel points in the unit time with the set standard number of the pixel points in the unit time. The specific comparison method comprises the following steps:
step S143 a: and calculating the number of the pixel points in unit time to be less than or equal to the standard number of the pixel points in unit time, and performing width supplement on the selected pixel points for drawing the strokes to form a stroke front, wherein the supplemented set width values are equal. The calculated number of the sequence stored in the pixel points in the unit time is less than or equal to the standard number of the pixel points in the unit time, the writing speed is considered to be the normal writing speed, and according to the handwriting characteristics, when the writing speed is normal, the writing front can be generated and extends according to the same width, therefore, the pixel points for drawing the strokes are subjected to width supplement to form the writing front, and the supplemented width values are equal, so that the drawn strokes have the writing front characteristics during handwriting.
Step S143 b: and calculating the number of the pixel points in unit time to be greater than the standard number of the pixel points in unit time, supplementing the selected first pixel point of the drawing stroke with a set width, and gradually reducing the value of the supplemented width of the subsequent pixel points. The calculated number of the sequence stored in the pixel points in the unit time is larger than the standard number of the pixel points in the unit time, then the writing speed is considered to exceed the normal writing speed, and according to the handwriting characteristics, the writing speed is accelerated, so that the writing point for drawing the stroke is gradually narrowed, the width of the pixel point for drawing the stroke is supplemented to form the writing point, and the supplemented width value of each pixel point is gradually reduced, so that the stroke is drawn to have the writing point characteristics during handwriting.
In a specific embodiment, the step S143 (including the steps S143 a-S143 b) draws the first strokes from top to bottom in stroke order, the first strokes should be drawn from top to bottom when writing the first strokes, the first strokes should be written at a normal writing speed during a period of time of starting, the starting pixel points are subjected to width supplement to form a front, the supplemented set width values are equal, the writing speed is accelerated to form a left falling after writing the first stroke, the pixel points at the end of the step S143a are subjected to width supplement as the initial pixel points of the step S143b, the width of the initial pixel point supplement of the step S143b is the set width, and the supplemented widths of the subsequent pixel points are gradually decreased or equal difference or equal ratio of the initial pixel point supplement, thereby forming a left falling front in the first stroke.
In an embodiment, the step S143b of supplementing the selected first pixel point with the set width in the drawing stroke, and the step of gradually decreasing the supplemented width of the subsequent pixel points includes the specific steps of:
and the calculated number of the pixel points in the unit time of the current sequence is a first value.
Since the storing and the selecting are performed simultaneously, new original pixel points are supplemented in the selecting or just-selecting process, and since the original pixel points are split by equidistant interpolation in step S120, the number of the pixel points stored in the sequence may be larger than that of the selected pixel points, and the number of the original pixel points in the unit time of the current sequence needs to be calculated once during each drawing, so as to determine the writing speed corresponding to the current sequence.
And supplementing a first set of pixel points selected when the stroke is drawn with a first set width according to the first value.
In a specific embodiment, the corresponding stroke writing speed may be obtained according to the number of the pixel points in the unit time of the current sequence, and the stroke writing speed affects the width formed by the stroke front, so that a variable relation between the number of the pixel points in the unit time of the current sequence and the width formed by the stroke front may be established, so that the first value corresponds to the first set width, the second value corresponds to the second set width, … …, and the nth value corresponds to the nth set width.
And according to the first arithmetic progression, with the supplemented width of the first group of pixel points as a starting point, sequentially decreasing and supplementing the width of each group of pixel points selected by the subsequent drawing strokes, and shifting the first group of pixel points out of the sequence. In the embodiment, the pixel points selected by drawing the strokes at each time are not all shifted out of the sequence, but are shifted out of a group of pixel points, grouping is carried out according to the writing speed among the pixel points, the corresponding writing speed of the pixel points in each group is the same in unit time, therefore, the pixel points in each group are carried out according to the same width, one group of the pixel points can be just one pixel point, or one group of the pixel points can be provided with a plurality of pixel points, the width of the supplementary pixel points among all the groups is reduced according to the step width by an arithmetic progression, but also the arithmetic progression is reduced, and a specific using method needs to be determined according to the number of the pixel points.
And calculating the number of the pixel points in the unit time of the current sequence taking the second group of the pixel points as the initial pixel points as a second value.
And supplementing a second set of pixel points selected during drawing the stroke with a second set width according to the second value. Generally, the first set width is considered to be larger than the second set width, and the stroke drawing implemented in the embodiment actually needs to be supplemented by drawing for many times, the number of the pixel points in the sequence changes every time one group of pixel points is moved out, and the number of the pixel points in the sequence needs to be recalculated every time the pixel points are moved out in the sequence for drawing the stroke, so that the writing speed is determined.
And sequentially decreasing the width of each group of pixel points selected by the supplementary subsequent drawing strokes in a decreasing way by taking the supplementary width of the second group of pixel points as a starting point according to the second arithmetic progression, and shifting the second group of pixel points out of the sequence. In the embodiment, the pixel points selected by drawing strokes at each time are not all shifted out of the sequence, but a group of pixel points are shifted out, grouping is carried out according to the writing speed among the pixel points, the corresponding writing speed in unit time of the pixel points in each group is the same, therefore, the pixel points in each group are carried out according to the same width, one group of pixel points can be just one pixel point, or one group of pixel points can be provided with a plurality of pixel points, the width of the supplementary pixel points among all groups is reduced according to the step width in an arithmetic progression, but the arithmetic progression is also reduced, and a specific using method needs to be determined according to the number of the pixel points.
And according to the steps, repeatedly supplementing the width of each group of pixel points selected during drawing the strokes until the width of the last group of pixel points stored in the sequence is supplemented. Each pixel point has a storage time, even if the sequence has the last pixel point, the number of the pixel points stored in the unit time of the last pixel point according to the speed can be calculated according to the storage time of the previous group of pixel points, the last pixel point is used as the last group for width supplement, the writing speed of the current sequence stored in the pixel points is calculated according to the number of the original pixel points in the current sequence, and the width of the pixel point supplement is determined according to the writing speed until the pixel points are not stored in the sequence.
In one embodiment, the drawing of the stroke is not completed once, and the same group of pixels selected by the drawing of the stroke is subjected to width supplementation for multiple times, and is not moved out of the sequence until the width supplementation is completed, for example, after 1, 2, 3, 4, 5 pixels are stored in the sequence, the sequence still can be stored in 6, 7, 8 … … pixels according to the writing handwriting. Assuming that each group only comprises one pixel point, the drawing process is as follows: the method comprises the following steps of firstly drawing 1, 2, 3, 4 and 5 pixel points, drawing a width supplement completion for the first pixel point, moving out a sequence, possibly storing a plurality of pixel points in the sequence while moving out the sequence for the first pixel point, then drawing 2, 3, 4, 5 and 6 … … for the second pixel point, completing width supplement through twice drawing for the second pixel point, moving out the sequence, circulating according to the previous steps, drawing 3, 4, 5, 6 … … for the third time, drawing 4, 5, 6 … … for the fourth time, 5 and 6 … … for the 5 th time, and redrawing and supplementing for each pixel point for multiple times. For example, in the above-mentioned drawing process, the pixel point of "5" in the sequence is drawn five times, and the sequence is removed after the last drawing is completed, and other pixel points are similar, and only the removed pixel point is not supplemented any more. The number of each group of pixel points is not fixed, and the pixel points can be used as a group as long as the writing speeds corresponding to the pixel points are the same. In the drawing process, each time the width of the pixel point is supplemented, the width of the supplementation is determined according to the number of the pixel points (namely, writing speed) stored in the unit time in the sequence, the faster the writing speed is, the smaller the supplemented width is, the slower the writing speed is, the larger the supplemented width is, and when the writing speed belongs to the normal writing speed, the supplemented width is the set width in the step S143 a.
Further, the step of the method for forming the stroke front by width supplementation of the drawn stroke in step S130 further includes:
and judging the collection of the handwriting. When the hand-written stroke is closed, the stroke front presents a characteristic of changing from wide to narrow, so that the stroke front characteristic of the written stroke can be accurately drawn by judging whether the stroke is closed or not.
When the sequence is not stored in the original pixel points within the set time, the writing handwriting is received during writing, the original pixel points are not generated immediately after receiving the writing and are stored in the sequence, so that the writing handwriting is judged to be the received handwriting, the first pixel point of all the selected pixel points of the drawing stroke is supplemented with the set width, and the supplemented width value of the subsequent pixel points is gradually reduced.
When the sequence stores the original pixel points within the set time, the writing handwriting is carried out according to the normal writing speed, so that the writing handwriting is judged to be the normal handwriting without generating the closing stroke, the pixel points drawing the stroke are subjected to width supplement to form the stroke front, and the supplemented width values are equal.
In the specific embodiment, the determination of the closing of the writing trace is to determine whether writing of one stroke is completed, and the method of this embodiment is to determine the completion of the stroke according to the closing of each stroke if each stroke is different, so that the formed stroke shape is different, and when one stroke is written and another stroke is written, the stroke is re-drawn from step S110.
In a specific embodiment, the step of receiving the writing handwriting can be further set in step S143a, that is: the calculated number of the sequence stored pixel points in the unit time is larger than the standard number of the pixel points in the unit time, and then the pen receiving of the handwriting is judged; the embodiment is used for protecting the condition of continuous writing during writing, and if continuous writing occurs, the writing speed and the pen collection of the handwriting need to be judged. Through two judgment standards, the condition that the width value is gradually reduced when the stroke width is additionally drawn can be avoided even if the writing speed is high when continuous strokes are written.
According to the characteristic that the stroke edge is generated during handwriting, various conditions of the stroke edge are detected during electronic writing, and the corresponding stroke edge is drawn for each condition, so that the electronic writing has the handwriting stroke edge characteristic and is closer to a real handwriting stroke.
In a specific embodiment, referring to fig. 3, the specific steps of performing equidistant interpolation on the obtained original pixel points in step S120 and storing all the pixel points into a sequence include:
step S121: and calculating the actual distance between any two adjacent pixel points in the obtained original pixel points. Due to the change of the writing speed, the distances between the original pixel points are different, and when the distances between the original pixel points are too large, sawteeth appear, and the smoothness of the whole stroke can be influenced.
Step S122: and when any calculated actual distance is larger than the standard distance between two adjacent pixel points, carrying out equidistant splitting on the actual distance, and supplementing new pixel points at corresponding splitting positions so as to enable the actual distance between any adjacent pixel points after the pixel points are supplemented to be smaller than or equal to the standard distance.
In a specific embodiment, the obtained actual distance between the first original pixel point and the second original pixel point is 10 units, and the set standard distance between two adjacent pixel points is 2 units, then the actual distance between the first original pixel point and the second original pixel point is equally split into five equal parts to form four splitting positions and five splitting distances, each splitting distance is 2 units, new pixel points with the same characteristics as the first original pixel point and the second original pixel point are supplemented at the splitting positions, then the two original pixel points are actually split into six pixel points, wherein the splitting method comprises but is not limited to five equal parts, six equal parts can be carried out, the splitting distance after six equal parts also satisfies less than 2 units, but the splitting is not unlimited equal parts, and the equal distance splitting needs to meet the minimum distance of the equipment pixel points, therefore, as long as the distance between two adjacent pixel points after segmentation is less than or equal to 2 units within a reasonable range, the distance is within a protection range.
Step S123: and storing the obtained original pixel points and the supplemented pixel points into the sequence.
This embodiment is through writing the original pixel point that produces and carrying out the equidistance split to add new pixel point between the big adjacent original pixel point of distance, thereby effectively provide the visual smoothness degree of pixel point.
In one embodiment, the step of selecting the stored pixel points in the sequence to draw the strokes comprises: and drawing strokes by adopting a Bezier curve drawing mode. Drawing bezier curves may improve the smoothness of the drawn strokes.
In one embodiment, the same color shadow effect of 1 or 2 pixels is added to the pixel points used when drawing the stroke. Adding 1 or 2 pixels as a priority value should be within the added range of the embodiment as long as the added pixels are within a reasonable range. Increased pixels may further reduce aliasing, increasing visual smoothness.
In one embodiment, the pixel points are drawn with the thinnest line width when the stroke is drawn, and the width cannot be modified after the stroke is drawn. The drawing is carried out by adopting the thinnest line width, the widening can be carried out when the stroke tip is supplemented, the drawing stroke is usually drawn by adopting H5-canvas, the drawing stroke in H5-canvas can not be modified after being completed, pixel points can only be widened on the original width, or the original line can not be reduced by covering the original line with a wider line.
A second aspect of the present embodiments provides an electronic writing apparatus. Referring to fig. 4, the electronic writing apparatus includes an acquisition unit 110, a splitting unit 120, and a drawing unit 130.
The obtaining unit 110 is configured to obtain original pixel points of the path that the writing trace passes through. The obtaining unit 110 obtains the original pixel point and the coordinate of the original pixel point to locate the position of the pixel point.
The splitting unit 120 is configured to perform equidistant interpolation on the obtained original pixel points, and store all the pixel points into a sequence. The splitting unit 120 performs equidistant interpolation on the original pixel points, and new pixel points can be supplemented between the original pixel points, so that the same spacing and the standard spacing smaller than or equal to those between the split adjacent pixel points are ensured, and the visual smoothness is increased.
The drawing unit 130 is configured to select the stored pixel points in the sequence to draw the stroke, and perform width supplementation on the pixel points drawing the stroke according to the number of the sequentially stored pixel points in the unit time to form a stroke front. The drawing unit 130 selects one pixel point in the sequence as a first pixel point of the drawn stroke, and then sequentially acquires the drawn pixel points according to the order arranged in the sequence until it is confirmed that the last drawn pixel point is selected, thereby visually forming the stroke when all the acquired pixel points are drawn on the display terminal. The writing speed is reflected by the number of the pixel points in unit time, and the stroke front characteristics generated at the writing speed are inferred according to the writing speed and the characteristics of the handwritten strokes, so that the drawn strokes are supplemented in width according to the judged stroke front characteristics, and the stroke front is formed, so that the electronically written strokes have the stroke front and the characteristics of the handwritten strokes are reflected.
In one embodiment, referring to fig. 5, the drawing unit 130 includes a drawing sub-unit 131, a calculating sub-unit 132, and a ratio sub-unit 133.
The drawing subunit 131 is configured to select a stored pixel point in the sequence, and draw an initial stroke according to an initial width of the pixel point, where the initial width of the pixel point is a minimum unit width of the pixel point.
The calculating subunit 132 is configured to calculate a difference between the saving time of the first original pixel point and the saving time of the last original pixel point selected in the current sequence for drawing the stroke, and calculate the number of pixel points in unit time according to the number of the selected original pixel points; wherein, the selection and the storage of the original pixel points in the sequence are parallel at the same time.
The comparison subunit 133 is configured to compare the number of the calculated pixel points in the unit time with the standard number of the pixel points in the set unit time;
when the number of the pixel points in the unit time is calculated to be less than or equal to the standard number of the pixel points in the unit time, the ratio pair subunit 133 is configured to perform width supplement on all the selected pixel points for drawing the stroke to form a stroke front, and the supplemented set width values are equal;
when the number of the pixels in the unit time is greater than the standard number of the pixels in the unit time, the comparison and pair subunit 133 is configured to complement the selected first pixel of the drawing stroke by the set width, and gradually decrease the width value for complementing subsequent pixels.
In one embodiment, the ratio sub-unit 133 further includes a repeat plotting unit.
The repeated drawing unit is configured to calculate the number of pixel points in the unit time of the current sequence to be a first value; supplementing a first set of pixel points selected during drawing the stroke with a first set width according to the first value; according to the first arithmetic progression, with the supplemented width of the first group of pixel points as a starting point, sequentially decreasing and supplementing the width of each group of pixel points selected by the subsequent drawing strokes, and moving the first group of pixel points out of the sequence; wherein, each group of selected pixel points comprises at least one pixel point;
the repeated drawing unit is also configured to calculate the number of pixel points in the unit time of the current sequence with the second group of pixel points as the starting pixel point as a second value; supplementing a second set of pixel points selected during drawing the stroke with a second set width according to the second value; according to the second arithmetic progression, with the supplemented width of the second group of pixel points as a starting point, sequentially decreasing and supplementing the width of each group of pixel points selected by the subsequent drawing strokes, and moving the second group of pixel points out of the sequence;
according to the steps, the repeated drawing unit is further configured to repeatedly supplement the width of each group of pixel points selected by the drawing strokes until the width of the last group of pixel points stored in the sequence is supplemented, wherein the set width is inversely proportional to the number of pixel points in the unit time of the current sequence.
In an embodiment, the drawing unit 130 further includes a pen-receiving determination subunit.
The pen receiving judging subunit is configured to judge the pen receiving of the writing handwriting;
when the sequence is not stored in the original pixel points within the set time, the stroke receiving judgment subunit is configured to judge that the writing handwriting is the stroke receiving handwriting, complement the set width for the first pixel point in all the selected pixel points of the drawing stroke, and gradually reduce the supplemented width value of the subsequent pixel points; when the original pixel points are stored in the sequence within the set time, the stroke receiving judging subunit is configured to judge that the writing handwriting is normal handwriting, set width supplement is performed on all the selected pixel points for drawing the stroke to form a stroke front, and the supplemented set width values are equal.
In one embodiment, the splitting unit 120 is configured to calculate an actual distance between any two adjacent pixels in the obtained original pixels; when any calculated actual distance is larger than the standard distance between two adjacent pixel points, the actual distance is split equidistantly, and new pixel points are supplemented at corresponding split positions, so that the actual distance between any adjacent pixel points after the pixel points are supplemented is smaller than or equal to the standard distance; and storing the obtained original pixel points and the supplemented pixel points into the sequence.
A third aspect of the present embodiments provides an electronic writing terminal. The electronic writing terminal includes:
one or more processors;
a storage device for storing one or more programs;
the one or more programs, when executed by one or more processors, cause the one or more processors to implement the electronic writing method of any of the embodiments described above.
A fourth aspect of the present embodiments provides a computer-readable storage medium. The computer-readable storage medium stores a computer program that is executed by a processor to implement the electronic writing method according to any one of the embodiments described above.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
In the description of the specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried out in the method for implementing the above embodiment may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.

Claims (11)

1. An electronic writing method, comprising:
acquiring original pixel points of the path of the handwriting;
carrying out equidistant interpolation on the obtained original pixel points, and storing all the pixel points into a sequence;
selecting pixel points stored in the sequence to draw strokes, and performing width supplement on the pixel points drawing the strokes according to the number of the pixel points stored in the sequence in unit time to form a stroke front;
the pixel point of drawing the stroke is carried out the width and is replenished according to the quantity of the pixel point that the sequence was deposited in the unit interval and forms the stroke front, include:
comparing the number of the pixel points stored in the sequence in the unit time with the set standard number of the pixel points in the unit time;
when the number of the pixel points stored in the sequence in the unit time is less than or equal to the standard number of the pixel points in the unit time, performing set width supplement on all the selected pixel points for drawing the strokes to form stroke peaks, wherein the supplemented set width values are equal;
and when the number of the pixel points stored in the sequence in the unit time is larger than the standard number of the pixel points in the unit time, supplementing the selected first pixel point for drawing the stroke by a set width, and gradually reducing the supplemented width value of the subsequent pixel points.
2. The electronic writing method of claim 1, wherein said selecting stored pixels in said sequence to draw a stroke comprises:
selecting the pixel points stored in the sequence, and drawing initial strokes by using the initial widths of the pixel points, wherein the initial widths of the pixel points are the minimum unit widths of the pixel points;
the pixel point of drawing the stroke is carried out the width and is replenished according to the quantity of the pixel point that the sequence was deposited in the unit interval and forms the stroke front, still includes:
calculating the difference value between the storing time of the first original pixel point and the storing time of the last original pixel point which are selected in the current sequence and used for drawing the strokes, and calculating the number of the pixel points in unit time according to the number of the selected original pixel points; and selecting and storing original pixel points in the sequence at the same time.
3. The electronic writing method of claim 1, wherein the step of supplementing a selected first pixel point of the drawn stroke by a predetermined width and gradually decreasing the supplemented width of subsequent pixel points comprises:
calculating the number of pixel points in unit time of the current sequence to be a first value;
supplementing a first set of pixel points selected during drawing the stroke with a first set width according to the first value;
according to the first arithmetic progression, with the supplemented width of the first group of pixel points as a starting point, sequentially decreasing and supplementing the width of each group of pixel points selected by the subsequent drawing strokes, and moving the first group of pixel points out of the sequence; wherein each group of selected pixel points comprises at least one pixel point;
calculating the number of the pixel points in the unit time of the current sequence with the second group of the pixel points as the initial pixel points as a second value;
supplementing a second set of pixel points selected during drawing the stroke with a second set width according to the second value;
according to the second arithmetic progression, with the supplemented width of the second group of pixel points as a starting point, sequentially decreasing and supplementing the width of each group of pixel points selected by the subsequent drawing strokes, and moving the second group of pixel points out of the sequence;
and according to the steps, repeatedly supplementing the width of each group of pixel points selected by the drawing strokes until the width of the last group of pixel points stored in the sequence is supplemented, wherein the set width is in inverse proportion to the number of the pixel points in the unit time of the current sequence.
4. The electronic writing method of claim 3, wherein the method of width-complementing the pixel points for drawing the strokes to form the stroke front further comprises:
judging the collection of the handwriting;
when the sequence is not stored in the original pixel points within the set time, judging that the writing handwriting is a received handwriting, supplementing a set width to a first pixel point in all selected pixel points for drawing the stroke, and gradually reducing the supplemented width value of the subsequent pixel points;
when the sequence is stored in the original pixel points within the set time, the writing handwriting is judged to be normal handwriting, all the selected pixel points of the drawn stroke are supplemented with the set width to form the stroke front, and the supplemented set width values are equal.
5. The electronic writing method of any one of claims 1 to 4, wherein said step of interpolating the acquired original pixels equidistantly and storing all the pixels in a sequence comprises:
calculating the actual distance between any two adjacent pixel points in the obtained original pixel points;
when any calculated actual distance is larger than the standard distance between two adjacent pixel points, the actual distance is split equidistantly, and new pixel points are supplemented at corresponding split positions, so that the actual distance between any adjacent pixel points after the pixel points are supplemented is smaller than or equal to the standard distance;
and storing the obtained original pixel points and the supplemented pixel points into the sequence.
6. The electronic writing method of claim 5, wherein said step of selecting stored pixels in said sequence to draw strokes comprises:
and drawing strokes by adopting a Bezier curve drawing mode.
7. The electronic writing method of claim 5, wherein the same color shading effect of 1 or 2 pixels is added to any one pixel point selected when the stroke is drawn.
8. An electronic writing device, comprising:
an acquisition unit configured to acquire original pixel points of a path through which a writing trace passes;
the splitting unit is configured to perform equidistant interpolation on the obtained original pixel points and store all the pixel points into a sequence;
the drawing unit is configured to select the stored pixel points in the sequence to draw strokes, and perform width supplement on the pixel points drawing the strokes according to the number of the pixel points stored in the sequence in unit time to form stroke peaks;
the drawing unit includes: a ratio pair subunit;
the comparison subunit is configured to compare the number of the pixels stored in the sequence in the unit time with the set standard number of the pixels in the unit time;
when the number of the pixel points stored in the sequence in the unit time is less than or equal to the standard number of the pixel points in the unit time, the ratio pair sub-unit is configured to be used for conducting width setting supplement on all the selected pixel points for drawing strokes to form stroke peaks, and the supplemented set width values are equal;
and when the number of the pixel points stored in the sequence in the unit time is larger than the standard number of the pixel points in the unit time, the ratio pair subunit is configured to complement the selected first pixel point of the drawing stroke by a set width, and the width value complemented by the subsequent pixel points is gradually reduced.
9. The electronic writing apparatus of claim 8, wherein the drawing unit further comprises:
the drawing subunit is configured to select the stored pixel points in the sequence and draw initial strokes according to the initial widths of the pixel points, wherein the initial widths of the pixel points are the minimum unit widths of the pixel points;
a calculating subunit, configured to calculate a difference between a saving time of a first original pixel point selected in the current sequence for drawing the stroke and a saving time of a last original pixel point, and calculate the number of pixel points in unit time according to the number of the selected original pixel points; and selecting and storing original pixel points in the sequence at the same time.
10. An electronic writing terminal, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the electronic writing method of any one of claims 1 to 7.
11. A computer-readable storage medium storing a computer program characterized in that the program is executed by a processor to implement the electronic writing method according to any one of claims 1 to 7.
CN201910106941.6A 2019-02-02 2019-02-02 Electronic writing method, device, terminal and storage medium Active CN111524209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910106941.6A CN111524209B (en) 2019-02-02 2019-02-02 Electronic writing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910106941.6A CN111524209B (en) 2019-02-02 2019-02-02 Electronic writing method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111524209A CN111524209A (en) 2020-08-11
CN111524209B true CN111524209B (en) 2022-07-19

Family

ID=71900461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910106941.6A Active CN111524209B (en) 2019-02-02 2019-02-02 Electronic writing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111524209B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102013109A (en) * 2010-12-13 2011-04-13 广东开心信息技术有限公司 Method and device for beautifying cursive style of handwritten Chinese characters
CN103135915A (en) * 2011-11-29 2013-06-05 北京三星通信技术研究有限公司 Method and device of hand input beautifying
CN103150115A (en) * 2013-03-04 2013-06-12 广东欧珀移动通信有限公司 Processing method and system for handwriting strokes on touch screen and mobile terminal
CN103310474A (en) * 2013-06-08 2013-09-18 深圳市经纬科技有限公司 Method and system for implementing original handwriting
CN104346091A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Handwriting displaying method and device
CN106125963A (en) * 2016-06-24 2016-11-16 江西金格科技股份有限公司 On a kind of equipment without pressure sensitivity former person's handwriting Handwriting Signature System and the former person's handwriting of PDF document hand-written sign method
CN109284059A (en) * 2018-08-28 2019-01-29 广州视源电子科技股份有限公司 Person's handwriting method for drafting, device, interactive intelligent tablet computer and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7697002B2 (en) * 2007-01-25 2010-04-13 Ricoh Co. Ltd. Varying hand-drawn line width for display

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102013109A (en) * 2010-12-13 2011-04-13 广东开心信息技术有限公司 Method and device for beautifying cursive style of handwritten Chinese characters
CN103135915A (en) * 2011-11-29 2013-06-05 北京三星通信技术研究有限公司 Method and device of hand input beautifying
CN103150115A (en) * 2013-03-04 2013-06-12 广东欧珀移动通信有限公司 Processing method and system for handwriting strokes on touch screen and mobile terminal
CN103310474A (en) * 2013-06-08 2013-09-18 深圳市经纬科技有限公司 Method and system for implementing original handwriting
CN104346091A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Handwriting displaying method and device
CN106125963A (en) * 2016-06-24 2016-11-16 江西金格科技股份有限公司 On a kind of equipment without pressure sensitivity former person's handwriting Handwriting Signature System and the former person's handwriting of PDF document hand-written sign method
CN109284059A (en) * 2018-08-28 2019-01-29 广州视源电子科技股份有限公司 Person's handwriting method for drafting, device, interactive intelligent tablet computer and storage medium

Also Published As

Publication number Publication date
CN111524209A (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN112433657B (en) Electronic book simulation page turning method, electronic equipment and computer storage medium
CN103080981B (en) Select the method for MIP-map level and utilize the texturing system of the method
CN112433796A (en) Electronic book simulation page turning method, electronic equipment and computer storage medium
CN103500463A (en) Visualization method for multilayer shape feature fusion on GPU (Graphics Processing Unit)
CN114041111A (en) Handwriting drawing method, apparatus, electronic device, medium, and program product
CN112433795A (en) Electronic book simulation page turning method, electronic equipment and computer storage medium
CN110689597A (en) Animation model display method and device
CN106611443B (en) Three-dimensional topographic point picking method and device
CN111524209B (en) Electronic writing method, device, terminal and storage medium
KR20100068603A (en) Apparatus and method for generating mipmap
CN109671127B (en) Method and device for realizing waveform drawing
CN110333816B (en) Carousel processing method and device
CN112148199A (en) Handwriting implementation method and device in electronic equipment
CN110490961B (en) Hair brush tool and hair drawing method
US6970169B1 (en) Digitally synthesizing seamless texture having random variations
CN111489410B (en) Method and device for drawing shot point data of observation system
US9171387B2 (en) Data visualization system
CN112817465B (en) Screen stroke self-adaptive adjustment method and device, display terminal and storage medium
CN105205098B (en) Method and device for determining click arrival rate (CTR)
US9311725B2 (en) Systems and methods for creating an electronic signature
CN111932689A (en) Three-dimensional object rapid selection method adopting ID pixel map
JP2009122998A (en) Method for extracting outline from solid/surface model, and computer software program
CN112116688B (en) Method and device for realizing line animation
Shin et al. Simulating oriental brush character considered with aerial action of pen tablet
CN109118505B (en) Font track calculation method and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant