CN115496050A - Method and device for drawing table head oblique line in configuration mode, electronic equipment and storage medium - Google Patents

Method and device for drawing table head oblique line in configuration mode, electronic equipment and storage medium Download PDF

Info

Publication number
CN115496050A
CN115496050A CN202211439511.4A CN202211439511A CN115496050A CN 115496050 A CN115496050 A CN 115496050A CN 202211439511 A CN202211439511 A CN 202211439511A CN 115496050 A CN115496050 A CN 115496050A
Authority
CN
China
Prior art keywords
point
cell
line
width
height
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.)
Granted
Application number
CN202211439511.4A
Other languages
Chinese (zh)
Other versions
CN115496050B (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.)
Yudongyuan Beijing Information Technology Co ltd
Original Assignee
Yudongyuan Beijing Information 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 Yudongyuan Beijing Information Technology Co ltd filed Critical Yudongyuan Beijing Information Technology Co ltd
Priority to CN202211439511.4A priority Critical patent/CN115496050B/en
Publication of CN115496050A publication Critical patent/CN115496050A/en
Application granted granted Critical
Publication of CN115496050B publication Critical patent/CN115496050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/183Tabulation, i.e. one-dimensional positioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Generation (AREA)

Abstract

The invention provides a configuration type drawing method and device of a gauge head oblique line, an electronic device and a storage medium, comprising the following steps: performing starting point configuration and end point configuration on a table to be processed to obtain a point pair set; performing data rendering on the table to be processed, and determining the height information and the width information of a table head cell and the width and the height of a target cell occupied by a line segment between a starting point and an end point in a point pair in the rendered table to be processed; for the point pair, calculating the length and the angle of the line segment based on the width and the height of the target cell occupied by the line segment between the starting point and the end point and the respective position identifications of the starting point and the end point; according to the length and the angle of the line segment corresponding to each point pair, the oblique line is generated and positioned in the table head cell, the method and the device can ensure that the dynamic table can be normally compatible with oblique line configuration under different data, the cell pattern does not need to be modified back and forth, and the consumption in the aspect of labor cost is reduced.

Description

Method and device for drawing table head oblique line in configuration mode, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of web front ends, in particular to a configuration type drawing method and device of a gauge head oblique line, electronic equipment and a storage medium.
Background
In daily work, a large number of tables need to be made, and in many of the tables, the slash header is required to express the content of the table, and setting the header slash is a very common operation in both static tables and dynamic tables.
Most of the traditional header slash drawing methods are only applicable to static tables, namely table contents and slashes with known header cells and statically set cells, in the implementation mode, each slash needs to be calculated independently, and code reusability is poor. When the content and the width of the unit cell slightly change, the oblique line must be modified again, otherwise the problem of the confusion of the position and the angle of the oblique line can occur.
Disclosure of Invention
One of the objectives of the present invention is to provide a method and an apparatus for mapping a table header oblique line, an electronic device, and a storage medium, so as to ensure that a dynamic table can be normally compatible with oblique line mapping under different data, and the style of a cell is not required to be modified back and forth, thereby reducing the consumption of labor cost.
In a first aspect, the present invention provides a method for mapping a header diagonal line, the method including:
performing starting point configuration and end point configuration on a table to be processed to obtain a point pair set; wherein the table to be processed is an empty table, the point pair set comprises at least one point pair, the point pair comprises a position mark of a starting point and a position mark of an end point;
performing data rendering on a table to be processed, and determining the height information and the width information of a table head cell and the width and the height of a target cell occupied by a line segment between the starting point and the end point in the rendered table to be processed;
for the point pair, calculating the length and the angle of a line segment between the starting point and the end point based on the width and the height of a target cell occupied by the line segment and the position identifications of the starting point and the end point;
generating a slash according to the length and the angle of the line segment, and positioning the slash into the header cell.
In a second aspect, the present invention provides a head-oblique-line-arranged drawing device, including:
the configuration module is used for performing starting point configuration and end point configuration on the table to be processed to obtain a point pair set; the table to be processed is an empty table, the point pair set comprises at least one point pair, and the point pair comprises a position identifier of a starting point and a position identifier of an end point;
the determining module is used for rendering data of the table to be processed and determining the height information and the width information of a table head cell and the width and the height of a target cell occupied by a line segment between the starting point and the end point in the point pair in the rendered table to be processed;
the determining module is further configured to calculate, for the point pair, a length and an angle of a line segment between the starting point and the ending point based on a width and a height of a target cell occupied by the line segment and respective position identifiers of the starting point and the ending point;
and the drawing module is used for generating an oblique line according to the length and the angle of the line segment and positioning the oblique line into the head table cell.
In a third aspect, the invention provides an electronic device comprising a processor and a memory, the memory storing a computer program executable by the processor, the processor being capable of executing the computer program to implement the method of the first aspect.
In a fourth aspect, the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
The invention provides a configuration type drawing method and device of a gauge head oblique line, an electronic device and a storage medium, comprising the following steps: firstly, carrying out starting point configuration and end point configuration on an empty table to be processed to obtain at least one point pair, determining a target cell occupied by a line segment between a starting point and an end point in the point pair, then, carrying out data rendering on the table to be processed, determining width information and height information of a table head cell of the table to be processed, finally, integrating the height information, the width information, position identifications of the starting point and the end point in the point pair, and a target cell occupied by the line segment between the starting point and the end point in the point pair, determining the length and the angle of the line segment between the starting point and the end point in the point pair, and finally, carrying out oblique line drawing based on the obtained length and the angle of the line segment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a table head oblique line configuration type drawing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a pending form according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of step S201 provided in an embodiment of the present invention;
FIG. 5 is a schematic diagram of different cells to be processed according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of step S202 provided by the embodiment of the present invention;
fig. 7 is a schematic flowchart of step S203 provided by the embodiment of the present invention;
FIG. 8 is a schematic view of a right triangle provided in accordance with an embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating the effects provided by the embodiment of the present invention;
fig. 10 is a functional block diagram of a table head diagonal line configuration type drawing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that, if the terms "upper", "lower", "inner", "outer", etc. are used to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which the product of the present invention is used to usually place, it is only for convenience of description and simplification of the description, but it is not intended to indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are only used to distinguish one description from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
In daily work, a large number of tables need to be made, and in many of the tables, the slash header is required to express the content of the table, and the slash of the header is a very common operation in both static tables and dynamic tables.
The methods for drawing the table head cell oblique line include the following common methods:
(1) The method comprises the steps that a background picture of a cell can be set, an oblique line needing to be set is preset in the background picture, and then the background picture is superposed on the cell, so that the oblique line drawing of the cell is realized;
(2) Adding a block-level label in the cell, setting the style of two adjacent border lines of the label, and enabling the width of the left border line to be equal to that of the cell and the width of the upper border line to be equal to that of the cell, so that two oblique line areas at the splicing part are spliced.
(3) Drawing the needed oblique line on the canvas through the canvas label canvas of the css 3.
(4) By writing a JavaScript method, the coordinates of the starting point of the oblique line to be drawn are transmitted, and then the oblique line is connected point by point to finally form an oblique line.
(5) A block-level label with the height of only 1 pixel is added in a cell, and a slant line is obtained through rotation by the transform attribute of cs 3.
Research shows that most of the existing oblique line drawing methods are only suitable for making static tables, namely the width and the height of fixed cells of known cells are known, oblique lines of the cells are statically set, the reusability of codes is poor, and each oblique line needs to be calculated independently and is set in a style. When the header content of the table is unknown before the oblique line is set, i.e. after the data is acquired, the specific content of the cell can be known, or when the content and the width of the cell are slightly changed, the pattern of the oblique line must be modified again, otherwise the problem of disordering the position and the angle of the oblique line will occur.
In order to solve the above problems, an embodiment of the present invention provides a method for configuring a table header oblique line, where coordinates of a starting point of the oblique line are configured in advance, configured contents are automatically read when a table is rendered, a height and a column width of the table header are obtained according to a dynamic state, a length and a rotation angle of the oblique line are accurately calculated, the oblique line of a cell is drawn timely and accurately, and the oblique line of the cell is not limited by the width and the height of the cell. And positioning treatment is carried out to ensure that the oblique line is attached and displayed with the frame line of the cell, so that the oblique line and the frame line are integrated. The method can ensure that the dynamic table can be normally compatible with oblique line configuration under different data, the style of the cell is not required to be modified back and forth, and the consumption of some labor cost aspects is reduced.
Referring to fig. 1, fig. 1 is a block diagram of an electronic device according to an embodiment of the present invention, where the electronic device may be used to execute a header diagonal configuration drawing method according to an embodiment of the present invention, and the electronic device may be, but is not limited to, a computer, a tablet computer, a mobile phone, and the like.
As shown in fig. 1, the electronic device 100 may include: a memory 101, a processor 102, a communication interface 103, and a bus 104, the memory 101, the processor 102, and the communication interface 103 being electrically connected to each other, directly or indirectly, to enable transmission or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
Alternatively, the bus 104 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 1, but it is not intended that there be only one bus or one type of bus.
In an embodiment of the invention, the processor 102 may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, and may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. A software module may be located in the memory 101, and the processor 102 reads the program instructions in the memory 101, and performs the steps of the above-described method in conjunction with its hardware.
In the embodiment of the present invention, the memory 101 may be a non-volatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory (volatile memory), for example, a RAM. The memory can also be, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory in the embodiments of the present invention may also be a circuit or any other device capable of implementing a storage function for storing instructions and/or data.
The memory 101 may be used to store software programs and modules, such as instructions/modules of the header diagonal configuration drawing apparatus 300 provided in the embodiment of the present invention, which may be stored in the memory 101 in the form of software or firmware (firmware) or be fixed in an Operating System (OS) of the electronic device 100, and the processor 102 executes the software programs and modules stored in the memory 101, so as to execute various functional applications and data processing. The communication interface 103 may be used for communicating signaling or data with other node devices.
Referring to fig. 2, fig. 2 is a schematic flowchart of a method for mapping a table head oblique line according to an embodiment of the present invention, where the method includes the following steps:
s201, performing starting point configuration and end point configuration on the table to be processed to obtain a point pair set.
The point pair set comprises at least one point pair, and the point pair comprises a position mark of a starting point and a position mark of an end point.
S202, data rendering is carried out on the table to be processed, and the height information and the width information of the table head unit cell and the width and the height of the target unit cell occupied by the line segment between the starting point and the end point in the point pair in the rendered table to be processed are determined.
S203, calculating the length and the angle of the line segment according to the width and the height of the target cell occupied by the line segment between the starting point and the end point and the position marks of the starting point and the end point.
And S204, generating a slant line according to the length and the angle of the line segment, and positioning the slant line into the head table cell.
In the configuration type drawing method of the table head oblique line, firstly, starting point configuration and end point configuration are carried out on an empty table to be processed to obtain at least one point pair, a target unit cell occupied by a line segment between a starting point and an end point in the point pair is determined, then, data rendering is carried out on the table to be processed to determine width information and height information of the table head unit cell of the table to be processed, finally, the height information, the width information, position marks of the starting point and the end point in the point pair and the target unit cell occupied by the line segment between the starting point and the end point in the point pair can be integrated, the length and the angle of the line segment between the starting point and the end point in the point pair are determined, finally, oblique line drawing is carried out based on the obtained length and angle of the line.
The following describes steps S201 to S204 in detail.
In step S201, a start point configuration and an end point configuration are performed on the table to be processed, and a point pair set is obtained.
In the embodiment of the present invention, the table to be processed is an empty table, and belongs to a dynamic table, the table content is not in a fixed state, and the width information and the height information of the cells of the table to be processed can be dynamically changed based on the data rendering result, as shown in fig. 3, fig. 3 is a schematic diagram of the table to be processed according to the embodiment of the present invention, and it can be seen that the head cell of the table to be processed is formed by merging two rows and two columns of cells.
In the embodiment of the invention, the purpose of configuring the starting point and the end point of the oblique line on the table to be processed is to fix the starting point and the end point of the oblique line, so that even if the width and the height of the cells of the table to be processed are changed, the length and the rotation angle of the oblique line can be dynamically calculated on the basis of the preset starting point and the end point of the oblique line, and the dynamic table can be ensured to be normally compatible with the oblique line configuration under different data.
Therefore, for the step S201, an implementation manner is provided in the embodiment of the present invention, please refer to fig. 4, fig. 4 is a schematic flowchart of the step S201 provided in the embodiment of the present invention, and the step S201 may include:
s201-1, a coordinate system is constructed by taking the upper left corner of the table head cell as the origin of coordinates, the upper frame line as an abscissa and the left frame line as an ordinate.
S201-2, when the head table cell is a single cell, the coordinate origin is used as a starting point, and at least one end point is determined from respective middle points of a right frame line and a lower frame line of the head table cell and intersection points of the right frame line and the upper frame line and the lower frame line respectively.
S201-3, when the table head unit lattice is formed by combining at least two unit lattices, determining at least one starting point from respective unit lattice cross points on the coordinate origin, the upper frame line and the left frame line, and determining at least one end point from respective intersection points of the midpoint of the right frame line and the lower frame line, the intersection point of the right frame line and the upper frame line and the lower frame line, and the respective unit lattice cross points on the right frame line and the lower frame line.
S201-4, determining position marks of each starting point and each end point in a coordinate system, combining the starting points and the end points pairwise to obtain at least one point pair, and forming a point pair set based on the point pairs.
For convenience of understanding the foregoing embodiments, please refer to fig. 5, and fig. 5 is a schematic diagram of different cells to be processed according to an embodiment of the present invention, where (a) in fig. 5 is a case where the head cell is a single cell, and (b) in fig. 5 is a case where the head cell is formed by merging at least two cells.
Since the position identifiers of the starting point and the ending point need to be determined, a coordinate system is constructed by taking the upper left corner of the header cell as the origin of coordinates, the upper frame line as the abscissa and the left frame line as the ordinate, as shown in fig. 5, wherein the coordinate (0,0) is the origin of coordinates.
For (a) in fig. 5, in which the origin of coordinates (0,0) is set as the starting point, at least one of the midpoints (5,5), (5,10) on the right and left frame lines and the intersections (10,0) and (10,10) of the right frame line with the upper and lower frame lines, respectively, may be determined as the ending point.
For (b) in fig. 5, at least one of the origin of coordinates (0,0), the cell intersection point (10,0) on the upper border line, and the cell intersection point (0,10) on the left border line may be determined as the endpoint, which is similar to (a) in fig. 5 and will not be described herein again.
In the embodiment of the present application, the start point, the end point, and the position indicator are not real position coordinates, but are set in units of cells to distinguish the number of cells of the interval between each point.
As shown in fig. 5, assuming that the unit of one cell is 1 and the unit of half cell is 0.5, therefore, in fig. 5 (a), since the head cell is a single cell, the abscissa is 1 (representing 1 cell) for the end point on the right frame line, that is, the location identifier is 1, the ordinate is 0,0.5,1 in turn, and so on, the location identifier of the end point on the lower frame line can be determined. The position identification of the start point and the end point in fig. 5 (b) is similar to that in fig. 5 (a), and is not described again here.
In another embodiment, the position indicator may be expanded by an integral multiple to facilitate data processing, for example, in fig. 5 (a), the abscissa of the end point may be 10 (i.e., 10 times of 1 cell), and the ordinate is 0,5,10 in turn, which will be described later in this specification.
It can be understood that the expression manner of the position identifier may assist in subsequently determining the number of target cells occupied by the oblique line between the starting point and the ending point, and finally, the length and the rotation angle of the oblique line may be accurately calculated by combining the obtained actual width information and the height information of the cells.
After the starting point and the end point are set, the starting point and the end point can be combined pairwise to obtain at least one point pair, and the position identification of the starting point and the position identification of the end point in the point pair are combined to obtain a point pair set.
For example, with continued reference to fig. 5 (a), there is only one starting point (0,0), then the end point may be: at least one of (5, 10), and (5, 10), assuming that if the user desires to draw a diagonal line between (0,0) and (5,10), the resulting point pair that can combine the end point (5,10) with the start point (0,0) is: [ { startId: '0-0', endId: '5-10' } ], where startId denotes the start point and endId denotes the end point.
It can be seen that, in the process of generating a point pair, at least one alternative point may exist on the upper border line and the left border line, and then the user may determine which points are used as starting points of a constituent point pair from alternative starting points based on the requirement of actually drawing the oblique line.
After the point pair set is obtained, step S202 may be performed to dynamically acquire the width information and the height information of the head cell and the target cell occupied by each line segment between the start point and the end point.
In step S202, data rendering is performed on the table to be processed, and the height information and the width information of the table head cell and the width and the height of the target cell occupied by the line segment between the start point and the end point in the point pair in the rendered table to be processed are determined.
In the embodiment of the present application, since the position identifier of the embodiment of the present invention is in units of cells, for each point pair, the horizontal cells occupied by the line segment between the starting point and the ending point in the horizontal direction and the vertical cells occupied by the line segment between the starting point and the ending point in the vertical direction may be determined based on the position identifier of the starting point and the position identifier of the ending point, and then the width of the occupied horizontal cells may be determined from a predetermined width set and the height of the occupied vertical cells may be determined from a predetermined height set.
It can be understood that the obtained width and height of the target cell provide a basis for subsequently calculating the projection lengths of the oblique lines in the horizontal direction and the vertical direction.
Therefore, for the step S202, an implementation manner is provided in the embodiment of the present invention, please refer to fig. 6, and fig. 6 is a schematic flowchart of the step S202 provided in the embodiment of the present invention:
s202-1, determining a width set and a height set corresponding to the table head cells;
in the embodiment of the application, the width set contains the width of every cell that the table head cell contains, the height set contains the height of every cell that the table head cell contains, order between the numerical value can characterize the order between the cell, at the in-process of obtaining the width set, begin from the upper left corner of table head cell, the width of every cell is obtained in proper order along the horizontal direction of keeping away from the left frame line, constitute the width set, and in the same way, the in-process of obtaining the height set, begin from the upper left corner of table head cell, the height of every cell is obtained in proper order along the direction of keeping away from the last frame line, constitute the height set.
For the case that the head cell is a single cell, and the target cell is the head cell, the width information and the height information of the cell may be directly obtained, for example, with reference to (a) in fig. 5, assuming that the width of the head cell is 8 and the height is 4, the obtained width information may be represented as [0] and the height information is represented as [4].
For the situation that the head table cell is formed by combining at least two cells, the width of each horizontal cell can be sequentially obtained by taking the upper left corner of the head table cell as a starting point, the height of each vertical cell can be sequentially obtained, and if the head table cell is combined and synthesized by N rows and M columns of cells, the width set and the height set can be respectively expressed as: [ w1, w2, … w M ],[h1,h2,…h N ]The order of the values in the width set corresponds to the order of the horizontal cells contained in the header cell, e.g. w1 corresponds to the width of the first horizontal cell, w N Corresponding to the width of the nth lateral cell.
For example, with reference to fig. 5 (b) continuously, it can be seen that the head cell is formed by merging 2 rows and 2 columns of cells, and then the top left corner of the head cell may be used as a starting point to sequentially obtain the width set [ w1, w2] of each horizontal cell, and sequentially obtain the height set [ h1, h2] of each vertical cell.
It can be seen that, for a head table cell formed by merging a plurality of cells, based on obtaining a width set and a height set, since the order between values in the width set and the height set can represent the order between cells, after a target cell is determined, based on the order between the target cell and other cells, the width can be directly extracted from the width set, and the height can be extracted from the height set.
S202-2, when the table head unit lattice is a single unit lattice, determining that the target unit lattice is the table head unit lattice, wherein the width and the height of the target unit lattice are respectively the width and the height of the table head unit lattice.
For example, with continued reference to (a) in fig. 5, it can be seen that all the oblique lines are within the head cell, so the target cell is determined as the head cell, and at this time, the width and height of the target cell are the width and height of the head cell.
S202-3, when the table head unit lattice is formed by combining at least two unit lattices, determining that the horizontal unit lattice and the vertical unit lattice occupied by the line segment in the point pair are target unit lattices, extracting the width of the horizontal unit lattice from the width set, and extracting the height of the vertical unit lattice from the height set.
In practical situations, some oblique lines may span multiple cells, and in the process of determining the length of the oblique line, the cells spanned by the oblique line need to be determined, and then the length and angle of the oblique line can be accurately calculated based on the actual width and actual height of the spanned cells.
For example, with continued reference to fig. 5 (a), the cells occupied by the line segment between the start point and the end point are only the head cell; with continued reference to fig. 5 (b), the line segment between the partial start point and the partial end point spans different cells, and at this time, the horizontal cell and the vertical cell occupied by the line segment may be determined, respectively, and then the horizontal cell width is extracted from the width set, and the height of the vertical cell is extracted from the height set.
Therefore, for the above step S202-3, it can be performed as follows:
a1: for the point pair, a first number of cells and a second number of cells of the start point and end point interval are determined based on the respective location identifications of the start point and end point.
In this embodiment, the position identifiers may represent the number of cells spaced between each point, and therefore, in each point pair, the respective position identifiers of the start point and the end point may determine the number of cells spaced between the start point and the end point, and as an implementation manner, the difference between the respective horizontal position identifiers of the start point and the end point is the first number of cells, and the difference between the respective vertical position identifiers of the start point and the end point is the second number of cells.
For example, with continued reference to (b) in FIG. 5, for the example of the point pair { startId: '10-0', endId: '20-10' }, the difference in lateral position identifications is 20-10=10, 10 represents 1 cell, the number of first cells of an interval is 1, the difference in vertical position identifications is 10-0=10, and the number of second cells of an interval is 1.
a2: and sequentially determining the cells with the same number as the first cells as the horizontal cells along the horizontal direction far away from the left frame line from the position of the starting point, and sequentially determining the cells with the same number as the second cells as the vertical cells along the vertical direction far away from the upper frame line.
In this embodiment, after determining the first number of cells and the second number of cells at the interval between the start point and the end point, it may be determined that, from the horizontal cells included in the head cell, the cells consistent with the first number of cells are horizontal cells, and the cells consistent with the second number of cells are vertical cells.
As an optional implementation manner, in the process of determining the horizontal cells, the order information of the horizontal cells occupied by the line segments in all the horizontal cells may be determined, so that the corresponding widths may be directly obtained from the width set based on the order information, and the vertical cells are similar and are not described herein again.
a3: and according to the sequence of the horizontal cells, taking the width of the width set corresponding to the sequence of the horizontal cells as the width of the horizontal cells, and according to the sequence of the vertical cells, taking the height of the height set corresponding to the sequence of the vertical cells as the height of the vertical cells.
Since the numerical sequence in the width set and the height set can represent the sequence of the cells, the width in the corresponding sequence can be determined from the width set as the width of the horizontal cells according to the determined sequence of the horizontal cells, the vertical cells are similar, and details are not repeated here.
For example, the head cell is formed by merging two rows and three columns of cells, then the first row of cells is used as all the horizontal cells of the head cell, the first column of cells is used as all the vertical cells of the head cell, then the horizontal cell occupied by the line segment may be the first horizontal cell, and the corresponding width is the first numerical value in the width set.
For convenience of understanding, continuing to refer to (b) in fig. 5, for example, the pair of points { startId: '10-0', endId: '20-10' }, the header cell includes two rows and two columns of single cells, the width set is the height of the header cell in the first row, i.e., [ w1, w2], the height set is the height of the header cell in the first column, i.e., [ h1, h2], and for the line segment between (10,0) and (20,10), the horizontal cell occupied by the line segment is the 2 nd horizontal cell, so the width of the horizontal cell is the 2 nd width w1 in the width set, and the vertical cell occupied by the 1 st vertical cell, so the height of the vertical cell is the 1 st height h1 in the height set.
In step S203, for the pair of points, the length and angle of the line segment are calculated based on the width and height of the target cell occupied by the line segment between the start point and the end point, and the respective position identifications of the start point and the end point.
In the embodiment of the invention, aiming at the line segment between the starting point and the end point in the point pair, the width of the cell occupied by the line segment can be used as a transverse right-angle side, the height of the occupied cell is used as a vertical right-angle side, the oblique line is used as a hypotenuse to construct a right triangle, then the lengths of the transverse right-angle side and the vertical right-angle side are obtained based on the actual width and the actual height of the occupied cell, and the length of the wire outlet segment can be calculated based on the Pythagorean theorem.
Therefore, an embodiment of the present invention provides an implementation manner of step S203, please refer to fig. 7, fig. 7 is a schematic flowchart of step S203 provided in the embodiment of the present invention, and step S203 may include:
s203-1, determining the horizontal projection length and the vertical projection length of the line segment based on the width and the height of the target cell occupied by the line segment and the respective position marks of the starting point and the end point.
In the embodiment of the present application, since the middle points and the intersection points on the lower border line and the right border line are configured as the end points, which results in that the line segment may occupy only half of the cell, when determining the horizontal projection length, it is necessary to determine whether to calculate the horizontal projection length by occupying the entire width or half of the cell based on the respective position identifiers of the start point and the end points, and the vertical projection length is the same.
For ease of understanding, please continue to refer to (a) and (b) in fig. 5:
for (a) in fig. 5, for the point pair { startId: '0-0', endId: '5-10' }, assuming that the cell occupied by the line segment between (0,0) and (5,10) is the header cell with the width of the header cell being 8 and the height being 5, and less than 1 cell, the difference between the lateral position identifications is 5, then half of the width of the occupied lateral cell is taken as the horizontal projection length, i.e. 4, the difference between the vertical position identifications is 10, and equal to 1 cell, then the height of the occupied vertical cell is taken as the vertical projection length, i.e. 5, and thus the length of the line segment between (0,0) and (5,10) is:
Figure M_221116104919811_811901001
= 6.40。
for (b) in FIG. 5, for the point pair { startId: '0-0', endId: '15-20' }, assume that the width set of the header cells is [8,4 }]And the height set is [6,6]The line segment between (0,0) and (15,20) occupies 2 transverse cells with a width of [8,4]And 2 vertical cells with a height of [6,6]Wherein, if the difference between the horizontal position marks is 15, which is greater than 1 cell and less than 2 cells, the sum of the width of the last horizontal cell and the width of all other horizontal cells is taken as the horizontal projection length, i.e., the width of the last horizontal cell is half 2, the width of other horizontal cells is 8, then the horizontal projection length is 8+2=10, the difference between the vertical position marks is 20, which is 2 cells, which is equal to 2 cells, then the sum of the heights of the vertical cells is taken as the vertical projection length, i.e., 6+6=12, then the length of the line segment between (0,0) and (15,20) is:
Figure M_221116104919921_921794001
=15.62。
s203-2, calculating the length of the line segment according to the horizontal projection length and the vertical projection length, and determining the angle of the line segment based on the horizontal projection length and the length of the line segment, or determining the angle of the line segment based on the vertical projection length and the length of the line segment.
As a right triangle can be constructed between the line segment and the horizontal projection length and the vertical projection length, as shown in fig. 8, fig. 8 is a schematic diagram of a right triangle provided in the embodiment of the present invention, and according to the degree of the inverse trigonometric function angle a, which is math.asin (BC/AC) × 180/math.pi, where AC is the hypotenuse of the right triangle corresponding to the line segment between the start point and the end point in the embodiment of the present invention, and BC is the projection of AC in the horizontal direction, which is the horizontal projection length of the line segment in the embodiment of the present invention, the included angle between AC and AB, which is the angle corresponding to the line segment, can be calculated according to the above formula, and similarly, the above angle can also be calculated according to the degree of the inverse trigonometric function angle a, which is math.acos (AB/AC) × 180/math.pi, where AB is the vertical projection length of the line segment.
In step S204, for each point pair, the length and angle of the line segment are calculated based on the width and height of the target cell occupied by the line segment between the start point and the end point, and the respective position identifications of the start point and the end point.
In the embodiment of the application, after the length of the line between the starting point and the end point in each point pair is determined, the line consistent with the length of the line can be generated, then the generated line is rotated based on the determined angle, and then the displacement of the oblique line obtained after rotation is determined, so that oblique line positioning is completed.
Therefore, the implementation of step S203 may be as follows:
d1: generating a line segment based on the length, and rotating the line segment by the angle along the anticlockwise direction based on the starting point in the point pair to obtain an oblique line;
d2: based on the location identification of the starting point within the point pair, the displacement length of the slash relative to the upper left corner of the table cell is determined and the slash is moved from the upper left corner by the displacement length.
In an actual implementation process, the style of the table head cells may be set first, the positioning mode is relative positioning, then the oblique line is set to rotate by a corresponding angle based on the starting point, the positioning mode is absolute positioning, after the displacement of the starting point of the oblique line is determined, the oblique line may be moved from the upper left corner, so that the drawing of the oblique line is completed, and the finally drawn table may be as shown in fig. 9, where fig. 9 is an effect schematic diagram provided by the embodiment of the present invention.
It can be understood that, when there are many point pairs in the point pair set, multiple oblique lines consistent with the number of the point pairs can be drawn correspondingly.
In an optional embodiment, when data in a table to be processed is updated, based on the updated height information and width information of the table header cells, the length and angle of the line segment corresponding to each point pair are updated, and then the oblique line is adjusted according to the length and angle of the line segment corresponding to each updated point pair, so that the dynamic table can be ensured to be normally compatible with oblique line configuration under different data.
Based on the same inventive concept, an embodiment of the present invention further provides a head oblique line configuration drawing apparatus, please refer to fig. 10, fig. 10 is a functional block diagram of the head oblique line configuration drawing apparatus provided in the embodiment of the present invention, and the head oblique line configuration drawing apparatus 300 may be stored in an Operating System (OS) of the electronic device 100 in the form of software or firmware (firmware).
The header diagonal line arrangement drawing device 300 may: a configuration module 310, a determination module 320, and a drawing module 330.
A configuration module 310, configured to perform starting point configuration and ending point configuration on the table to be processed, so as to obtain a point pair set; the table to be processed is an empty table, the point pair set comprises at least one point pair, and the point pair comprises a position identifier of a starting point and a position identifier of an end point;
the determining module 320 is configured to perform data rendering on the table to be processed, and determine the height information and the width information of the table head cell and the width and the height of the target cell occupied by the line segment between the start point and the end point in the point pair in the rendered table to be processed;
the determining module 320 is further configured to calculate, for the point pair, a length and an angle of the line segment based on the width and the height of the target cell occupied by the line segment between the start point and the end point, and the respective position identifiers of the start point and the end point;
and the drawing module 330 is configured to generate an oblique line according to the length and the angle of the line segment, and position the oblique line in the head cell.
It will be appreciated that the configuration module 310, the determination module 320, and the rendering module 330 may cooperatively perform the various steps of fig. 2 to achieve a corresponding technical effect.
In an alternative embodiment, the configuration module 310 is configured to construct a coordinate system with the top left corner of the table head cell as the origin of coordinates, the top frame line as the abscissa axis, and the left frame line as the ordinate axis; when the head table cell is a single cell, taking the origin of coordinates as a starting point, and determining at least one end point from respective middle points of a right frame line and a lower frame line of the head table cell and intersection points of the right frame line and the upper frame line and the lower frame line respectively; when the table head cell is formed by combining at least two cells, determining at least one starting point from respective cell intersections on the origin of coordinates, the upper frame line and the left frame line, and determining at least one end point from respective middle points of the right frame line and the lower frame line, respective intersections of the right frame line and the upper frame line and the lower frame line, and respective cell intersections on the right frame line and the lower frame line; and determining the position identification of each starting point and each end point in the coordinate system, combining the starting points and the end points pairwise to obtain at least one point pair, and forming a point pair set based on the point pairs.
In an alternative embodiment, the determining module 330 is configured to determine a width set and a height set corresponding to the head cell; when the table head unit lattice is a single unit lattice, determining that the target unit lattice is the table head unit lattice, wherein the width and the height of the target unit lattice are respectively the width and the height of the table head unit lattice; when the table head cell is formed by combining at least two cells, determining that the horizontal cell and the vertical cell occupied by the line segment are target cells in the point pair, extracting the width of the horizontal cell from the width set, and extracting the height of the vertical cell from the height set.
In an alternative embodiment, the determining module 330 is configured to determine, for a point pair, a first number of cells and a second number of cells of the start point and the end point interval based on the respective location identifications of the start point and the end point; sequentially determining the cells with the same number as the first cells as the transverse cells along the horizontal direction far away from the left frame line from the position of the starting point, and sequentially determining the cells with the same number as the second cells as the vertical cells along the vertical direction far away from the upper frame line; and according to the sequence of the horizontal cells, taking the width of the width set corresponding to the sequence of the horizontal cells as the width of the horizontal cells, and according to the sequence of the vertical cells, taking the height of the height set corresponding to the sequence of the vertical cells as the height of the vertical cells.
In an alternative embodiment, the determining module 330 is configured to determine a horizontal projection length and a vertical projection length of the line segment between the starting point and the ending point based on the width and the height of the target cell occupied by the line segment and the respective position identifiers of the starting point and the ending point; the length is calculated from the horizontal projection length and the vertical projection length, and the angle is determined based on the horizontal projection length and the length of the line segment, or the angle of the line segment is determined based on the vertical projection length and the length of the line segment.
In an optional embodiment, the drawing module 330 is configured to generate a line segment based on the length, and rotate the line segment counterclockwise by an angle based on a starting point in the point pair to obtain an oblique line; and determining the displacement length of the oblique line relative to the upper left corner of the table head cell according to the position identification of the starting point in the point pair, and moving the oblique line by the displacement length from the upper left corner.
In an alternative embodiment, the apparatus 300 for mapping table head slashes may include an adjusting module, configured to, when data in a table to be processed is updated, update the length and angle of a point to a corresponding line segment based on the updated height information and width information of the table head cell; and adjusting the oblique line according to the length and the angle of the corresponding line segment of the updated point pair.
Based on the above embodiments, the present application also provides a storage medium, in which a computer program is stored, and when the computer program is executed by a computer, the computer is caused to execute the method for configuring the table head oblique line provided in the above embodiments.
Based on the above embodiments, the present application further provides a computer program, which when running on a computer, causes the computer to execute the configured rendering method of table head oblique lines provided in the above embodiments.
Based on the above embodiments, the embodiments of the present application further provide a chip, where the chip is used to read a computer program stored in a memory, and is used to execute the table head oblique line configuration type drawing method provided in the above embodiments.
The embodiment of the present application further provides a computer program product, which includes instructions that, when executed on a computer, cause the computer to execute the method for mapping table head slashes provided in the above embodiment.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by instructions. These instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are also within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for drawing a gauge head oblique line in a configuration mode is characterized by comprising the following steps:
performing starting point configuration and end point configuration on a table to be processed to obtain a point pair set; the table to be processed is an empty table, the point pair set comprises at least one point pair, and the point pair comprises a position identifier of a starting point and a position identifier of an end point;
performing data rendering on a table to be processed, and determining the height information and the width information of a table head cell and the width and the height of a target cell occupied by a line segment between the starting point and the end point in the rendered table to be processed;
for the point pair, calculating the length and angle of a line segment between the starting point and the end point based on the width and height of a target cell occupied by the line segment and the position identifications of the starting point and the end point respectively;
generating a slash according to the length and the angle of the line segment, and positioning the slash into the header cell.
2. The method according to claim 1, wherein the starting point configuration and the ending point configuration are performed on the table to be processed, and the point pair set is obtained, and the method further comprises:
constructing a coordinate system by taking the upper left corner of the table head cell as a coordinate origin, taking the upper frame line as an abscissa axis and the left frame line as an ordinate axis;
when the table head unit lattice is a single unit lattice, taking the coordinate origin as the starting point, and determining at least one end point from respective middle points of a right frame line and a lower frame line of the table head unit lattice and intersection points of the right frame line and the upper frame line and the lower frame line respectively;
when the head cell is formed by combining at least two cells, determining at least one starting point from the coordinate origin, the cell intersections on the upper border line and the left border line, and determining at least one ending point from the respective midpoints of the right border line and the lower border line, the intersections of the right border line and the upper border line and the lower border line, and the respective cell intersections on the right border line and the lower border line;
and determining the position identification of each starting point and each end point in the coordinate system, combining the starting points and the end points pairwise to obtain at least one point pair, and forming the point pair set based on the point pairs.
3. The method according to claim 1, wherein the data rendering of the table to be processed and the determination of the height information and the width information of the table head cell and the width and the height of the target cell occupied by the line segment between the start point and the end point in the point pair in the rendered table to be processed comprises:
determining a width set and a height set corresponding to the table head cells;
when the table head unit cell is a single unit cell, determining that the target unit cell is the table head unit cell, wherein the width and the height of the target unit cell are respectively the width and the height of the table head unit cell;
and when the table head unit cell is formed by combining at least two unit cells, determining that the horizontal unit cell and the vertical unit cell occupied by the line segment are the target unit cell in the point pair, extracting the width of the horizontal unit cell from the width set, and extracting the height of the vertical unit cell from the height set.
4. The method of claim 3, wherein when the head cell is merged from at least two cells, determining that the horizontal cell and the vertical cell occupied by the line segment in the point pair are the target cell, extracting the width of the horizontal cell from the width set, and extracting the height of the vertical cell from the height set comprises:
determining, for the point pair, a first number of cells and a second number of cells of the start point and the end point interval based on the respective location identifications of the start point and the end point;
sequentially determining the cells with the same number as the first cells as the transverse cells along the horizontal direction far away from the left frame line from the position of the starting point, and sequentially determining the cells with the same number as the second cells as the vertical cells along the vertical direction far away from the upper frame line;
and according to the sequence of the horizontal cells, taking the width of the width set corresponding to the sequence of the horizontal cells as the width of the horizontal cells, and according to the sequence of the vertical cells, taking the height of the height set corresponding to the sequence of the vertical cells as the height of the vertical cells.
5. The method of claim 1, wherein calculating, for the pair of points, a length and an angle of a line segment between the starting point and the ending point based on a width and a height of a target cell occupied by the line segment and the respective location identifications of the starting point and the ending point comprises:
determining the horizontal projection length and the vertical projection length of the line segment between the starting point and the end point based on the width and the height of the target cell occupied by the line segment and the respective position identifications of the starting point and the end point;
calculating the length from the horizontal projection length and the vertical projection length, and determining the angle based on the horizontal projection length and the length of the line segment, or determining the angle of the line segment based on the vertical projection length and the length of the line segment.
6. The method of claim 1, wherein generating a diagonal line based on the length of the line segment and the angle, and positioning the diagonal line into the header cell comprises:
generating the line segment based on the length, and rotating the line segment by the angle along the anticlockwise direction based on the starting point in the point pair to obtain the oblique line;
according to the position identification of the starting point in the point pair, determining the displacement length of the oblique line relative to the upper left corner of the table head cell, and moving the oblique line from the upper left corner by the displacement length.
7. The method of claim 1, further comprising:
when the data in the table to be processed is updated, updating the length and the angle of the line segment corresponding to the point pair based on the updated height information and width information of the table head cell;
and adjusting the oblique line according to the length and the angle of the line segment corresponding to the updated point pair.
8. A gauge outfit slash arrangement type drawing device is characterized by comprising:
the configuration module is used for performing starting point configuration and end point configuration on the table to be processed to obtain a point pair set; the table to be processed is an empty table, the point pair set comprises at least one point pair, and the point pair comprises a position identifier of a starting point and a position identifier of an end point;
the determining module is used for rendering data of the table to be processed and determining the height information and the width information of a table head cell and the width and the height of a target cell occupied by a line segment between the starting point and the end point in the point pair in the rendered table to be processed;
the determining module is further configured to calculate, for the point pair, a length and an angle of a line segment between the starting point and the ending point based on a width and a height of a target cell occupied by the line segment and respective position identifiers of the starting point and the ending point;
and the drawing module is used for generating an oblique line according to the length and the angle of the line segment and positioning the oblique line into the head table cell.
9. An electronic device comprising a processor and a memory, the memory storing a computer program executable by the processor, the processor being operable to execute the computer program to implement the method of any of claims 1 to 7.
10. A storage medium on which a computer program is stored, which computer program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202211439511.4A 2022-11-17 2022-11-17 Method and device for drawing configuration of head-of-table oblique line, electronic equipment and storage medium Active CN115496050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211439511.4A CN115496050B (en) 2022-11-17 2022-11-17 Method and device for drawing configuration of head-of-table oblique line, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211439511.4A CN115496050B (en) 2022-11-17 2022-11-17 Method and device for drawing configuration of head-of-table oblique line, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115496050A true CN115496050A (en) 2022-12-20
CN115496050B CN115496050B (en) 2023-05-19

Family

ID=85116022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211439511.4A Active CN115496050B (en) 2022-11-17 2022-11-17 Method and device for drawing configuration of head-of-table oblique line, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115496050B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702151A (en) * 2009-11-06 2010-05-05 金蝶软件(中国)有限公司 Header generating method with slash, device and ERP system
CN102103577A (en) * 2009-12-17 2011-06-22 珠海金山软件有限公司 Method and system for compiling tables by using computer
US20190294399A1 (en) * 2018-03-26 2019-09-26 Abc Fintech Co., Ltd. Method and device for parsing tables in pdf document

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702151A (en) * 2009-11-06 2010-05-05 金蝶软件(中国)有限公司 Header generating method with slash, device and ERP system
CN102103577A (en) * 2009-12-17 2011-06-22 珠海金山软件有限公司 Method and system for compiling tables by using computer
US20190294399A1 (en) * 2018-03-26 2019-09-26 Abc Fintech Co., Ltd. Method and device for parsing tables in pdf document

Also Published As

Publication number Publication date
CN115496050B (en) 2023-05-19

Similar Documents

Publication Publication Date Title
JP6768695B2 (en) Methods and devices for generating composite pictures
US20150077435A1 (en) Setting method and information processing device
CN102693553B (en) Method and device for creating charts achieving three-dimensional effect
CN104714714A (en) Mobile terminal desktop control method and device and mobile terminal
CN107564077B (en) method and device for drawing road network
CN111324837A (en) Three-dimensional chart visualization method and device based on GIS (geographic information System) at web front end
CN113010938A (en) Method for calculating steel bar consumption of solid component and related device
CN111814802A (en) Character image processing method and device, storage medium and electronic equipment
CN115496050B (en) Method and device for drawing configuration of head-of-table oblique line, electronic equipment and storage medium
CN113850884A (en) Method and device for generating mulberry basic diagram, electronic equipment and storage medium
CN113538623A (en) Method and device for determining target image, electronic equipment and storage medium
EA008749B1 (en) Method foe encoding co-ordinates of a video image moving along the display of a computing device
CN109739859B (en) Relation map drawing method, system and related device
CN107247785A (en) A kind of static readonly map file generation method and device
CN111024113A (en) GMap-based navigation path direction arrow drawing method, system and equipment
CN110955743A (en) Method and device for establishing space index file for vector elements
CN115390976A (en) Layout method of interface design, display method of interface and related equipment
CN114327395A (en) Webpage design method, device, computer equipment, storage medium and product
CN107904794A (en) Method for platemaking, device, readable storage medium storing program for executing and the sewing machine of sewing machine
CN111739084B (en) Picture processing method, atlas processing method, computer device, and storage medium
CN112347727A (en) Filling type copper-clad method, system, equipment and storage medium supporting arc edges
CN112118474B (en) Video barrage display method and system, computer equipment and readable storage medium
CN112100540B (en) CANVAS-based picture cross mirror tiling method and storage medium
CN114820130A (en) Virtual ready-made clothes folding method and device, computer equipment and storage medium
JP3089740B2 (en) Line drawing device

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