CN115496050B - Method and device for drawing configuration of head-of-table oblique line, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN115496050B
CN115496050B CN202211439511.4A CN202211439511A CN115496050B CN 115496050 B CN115496050 B CN 115496050B CN 202211439511 A CN202211439511 A CN 202211439511A CN 115496050 B CN115496050 B CN 115496050B
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.)
Active
Application number
CN202211439511.4A
Other languages
Chinese (zh)
Other versions
CN115496050A (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 method, a device, electronic equipment and a storage medium for drawing configuration of a head-of-a-meter oblique line, which comprise 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 to-be-processed table, and determining the height information and the width information of the header cells and the width and the height of the target cells occupied by the line segments between the start points and the end points in the point pairs in the rendered to-be-processed table; for the point pair, calculating the length and 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 position marks of the starting point and the end point; according to the length and angle of the line segment corresponding to each point pair, generating an oblique line and positioning the oblique line into the table head cell, the invention can ensure that the dynamic table can be normally compatible with the oblique line configuration under different data, does not need to modify the pattern of the cell back and forth, and reduces the consumption in the aspect of labor cost.

Description

Method and device for drawing configuration of head-of-table oblique line, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of web front ends, in particular to a method and a device for drawing a configuration type of a head-of-table oblique line, electronic equipment and a storage medium.
Background
In daily work, a large number of tables are needed, and many of the tables need to be expressed by diagonal lines, and it is a very common operation to set diagonal lines of the tables, whether in a static table or a dynamic table.
Most of the traditional header oblique line drawing methods are only suitable for static tables, namely, the table contents, the width and the height of the known header cells and the oblique lines of the static set cells, and in the implementation mode, each oblique line needs to be calculated independently, so that the code reusability is poor. When the content and width of the cell change slightly, the diagonal line must be modified again, otherwise the diagonal line position and angle are disordered.
Disclosure of Invention
The invention aims to provide a method, a device, electronic equipment and a storage medium for drawing the configuration of a table head oblique line, which are used for ensuring that a dynamic table can be normally compatible with the oblique line configuration under different data, and the style of a cell is not required to be modified back and forth, so that the consumption in the aspect of labor cost is reduced.
In a first aspect, the present invention provides a method for drawing a configuration of a head-of-a-table diagonal line, the method comprising:
performing starting point configuration and end point configuration on a table to be processed to obtain a point pair set; the to-be-processed table is an empty table, 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 ending point;
performing data rendering on a to-be-processed table, and determining the height information and the width information of a header 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 to-be-processed table;
calculating the length and 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 ending point and the position marks of the starting point and the ending point for the point pair;
and generating a slant line according to the length and the angle of the line segment, and positioning the slant line into the header cell.
In a second aspect, the present invention provides a device for drawing a head-end diagonal line, comprising:
the configuration module is used for carrying out starting point configuration and end point configuration on the form to be processed to obtain a point pair set; the to-be-processed table is an empty table, 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 ending point;
The determining module is used for carrying out data rendering on the table to be processed and determining 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 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 start point and the end point based on a width and a height of a target cell occupied by the line segment and respective position identifiers of the start point and the end point;
and the drawing module is used for generating oblique lines according to the length and the angle of the line segments and positioning the oblique lines into the header cells.
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 executable to implement the method of the first aspect.
In a fourth aspect, the present 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 method, a device, electronic equipment and a storage medium for drawing configuration of a head-of-a-meter oblique line, which comprise the following steps: firstly, carrying out starting point configuration and end point configuration on an empty to-be-processed table to obtain at least one point pair, determining target cells occupied by line segments between the starting point and the end point in the point pair, then, carrying out data rendering on the to-be-processed table, determining width information and height information of the head cells of the to-be-processed table, finally, integrating the height information, the width information, position identifications of the starting point and the end point in the point pair, the target cells occupied by the line segments between the starting point and the end point in the point pair, and determining the length and the angle of the line segments 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 segments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
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 method for drawing a head-of-table diagonal configuration according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a table to be processed 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 flow chart of step S202 provided in an embodiment of the present invention;
fig. 7 is a schematic flowchart of step S203 provided in an embodiment of the present invention;
FIG. 8 is a schematic diagram of a right triangle according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of effects provided by an embodiment of the present invention;
Fig. 10 is a functional block diagram of a device for drawing a diagonal configuration of a header according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the 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 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 made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present invention, it should be noted that, if the terms "upper", "lower", "inner", "outer", and the like indicate an azimuth or a positional relationship based on the azimuth or the positional relationship shown in the drawings, or the azimuth or the positional relationship in which the inventive product is conventionally put in use, it is merely for convenience of describing the present invention and simplifying the description, and it is not indicated or implied that the apparatus or element referred to must have a specific azimuth, be configured and operated in a specific azimuth, and thus it should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, if any, are used merely for distinguishing between descriptions and not for indicating or implying a 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 are needed, and many of the tables need to be expressed by diagonal lines, and it is a very common operation to form diagonal lines in both static tables and dynamic tables.
The following common methods for implementing the diagonal drawing of the header cells are available:
(1) Setting a background picture of the cell, presetting an oblique line to be set in the background picture, and then overlapping the background picture on the cell so as to realize the oblique line drawing of the cell;
(2) And adding a block-level label into the cell, setting the patterns of two adjacent frame lines of the label, so that the width of the left frame line is equal to the width of the cell, and the width of the upper frame line is equal to the height of the cell, thereby splicing the two oblique line areas.
(3) The canvas is labeled canvas by css3, and the required oblique line is drawn on the canvas.
(4) By writing a JavaScript method, starting point coordinates of the oblique lines to be drawn are transmitted, then the oblique lines are connected point by point, and finally an oblique line is formed.
(5) And adding a block-level tag with a height of only 1 pixel into the cell, and rotating to obtain a diagonal line through the conversion transform attribute of css 3.
Through researches, most of the existing diagonal drawing methods are only suitable for making static tables, namely the width and the height of fixed cells of known cells, the diagonal of the cells is statically set, the reusability of codes is poor, and each diagonal needs to be calculated independently and is set in a style. When the header content of the table is unknown before the diagonal line is set, that is, after the data is acquired, the specific content of the cell can be known, or when the content and the width of the cell slightly change, the diagonal line style must be modified again, otherwise, the diagonal line position and angle are disordered.
In order to solve the above problems, the embodiment of the invention provides a configuration drawing method for a table head oblique line, which is characterized in that the initial point coordinates of the oblique line are configured in advance, the configuration content is automatically read when a table is rendered, the length and the rotation angle of the oblique line are accurately calculated according to the height and the column width of the table head obtained dynamically, and the oblique line of a cell is drawn timely and accurately, so that 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 oblique lines are attached to frame lines of the cells for display, and the oblique lines and the frame lines of the cells are integrated. The method can ensure that the dynamic form can be normally compatible with oblique line configuration under different data, does not need to modify the patterns of the cells back and forth, and reduces the consumption in the aspect of labor cost.
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 the method for drawing a diagonal configuration of a header, and the electronic device may be, but is not limited to, a computer, a tablet computer, a mobile phone, etc.
As shown in fig. 1, the electronic device 100 may include: the memory 101, the processor 102, the communication interface 103, and the bus 104 are electrically connected directly or indirectly to each other, so as to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
Alternatively, bus 104 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 1, but not only one bus or one type of bus.
In an embodiment of the present 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, a discrete gate or transistor logic device, or a discrete hardware component, where the methods, steps, and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. The 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 embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution. The software modules may be located in memory 101 and processor 102 reads the program instructions in memory 101 to perform the steps of the methods described above in connection with its hardware.
In the embodiment of the present invention, the memory 101 may be a nonvolatile memory, such as a hard disk (HDD) or a Solid State Drive (SSD), or may be a volatile memory (RAM). The memory may also be 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, but is not limited to such. The memory in embodiments of the present invention may also be circuitry or any other device capable of performing memory functions for storing instructions and/or data.
The memory 101 may be used to store software programs and modules, such as instructions/modules of the slashed-line configuration drawing apparatus 300 provided in the embodiments of the present invention, may be stored in the memory 101 in the form of software or firmware (firmware) or be solidified 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, thereby executing various functional applications and data processing. The communication interface 103 may be used for communication of signaling or data with other node devices.
The following describes in detail the method for drawing the configuration of the head-to-head oblique line provided by the embodiment of the present invention with the electronic device in fig. 1 as an execution body, please refer to fig. 2, fig. 2 is a schematic flowchart of the method for drawing the configuration of the head-to-head oblique line provided by the embodiment of the present invention, and the method may include the following steps:
S201, starting point configuration and ending point configuration are carried out on the to-be-processed table, and a point pair set is obtained.
Wherein 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 ending point.
S202, carrying out data rendering on the to-be-processed table, and determining 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 starting point and the end point in the point pair in the rendered to-be-processed table.
S203, aiming at 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 position marks of the starting point and the end point.
S204, generating oblique lines according to the length and the angle of the line segments, and positioning the oblique lines into the header cells.
In the configuration drawing method of the header diagonal line, firstly, starting point configuration and end point configuration are carried out on an empty to-be-processed table to obtain at least one point pair, target cells occupied by line segments between the starting point and the end point in the point pair are determined, then, after data rendering is carried out on the to-be-processed table, width information and height information of the header cells of the to-be-processed table are determined, finally, the height information, the width information, position identifications of the starting point and the end point in the point pair, the target cells occupied by the line segments between the starting point and the end point in the point pair are integrated, the length and the angle of the line segments between the starting point and the end point in the point pair are determined, and finally, diagonal line drawing is carried out on the basis of the obtained line segment length and angle.
The following describes the above steps S201 to S204 in detail.
In step S201, starting point configuration and ending 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 provided in the embodiment of the present invention, and it can be seen that the header cells of the table to be processed are formed by combining two rows and two columns of cells.
In the embodiment of the invention, the purpose of configuring the starting point and the ending point of the to-be-processed table is to fix the starting point and the ending point of the diagonal line, so that the length and the rotation angle of the diagonal line can be dynamically calculated based on the pre-configured starting point and ending point of the diagonal line even if the width and the height of the cells of the to-be-processed table are changed, and the dynamic table can be ensured to be normally compatible with the diagonal line configuration under different data.
Thus, for the above 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 step S201 provided in the embodiment of the present invention, and step S201 may include:
S201-1, constructing a coordinate system by taking the upper left corner of the header cell as the origin of coordinates, taking the upper border line as the abscissa and the left border line as the ordinate.
S201-2, when the gauge head cell is a single cell, determining at least one end point from the midpoint of each of the right frame line and the lower frame line of the gauge head cell and the intersection point of the right frame line and the upper frame line and the lower frame line respectively by taking the origin of coordinates as a starting point.
S201-3, when the header unit cell is formed by combining at least two unit cells, determining at least one starting point from the coordinate origin, the respective unit cell crossing points on the upper frame line and the left frame line, and determining at least one ending point from the respective midpoints of the right frame line and the lower frame line, the respective crossing points of the right frame line and the upper frame line and the lower frame line, and the respective unit cell crossing points on the right frame line and the lower frame line.
S201-4, determining the position identification of each starting point and each ending point in a coordinate system, combining the starting points and the ending points in pairs to obtain at least one point pair, and forming a point pair set based on the point pairs.
In order to facilitate understanding of the foregoing embodiments, please refer to fig. 5, 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 a header cell is a single cell, and (b) in fig. 5 is a case where the header cell is formed by combining at least two cells.
Because 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, taking the upper border line as the abscissa and taking the left border line as the ordinate, wherein the coordinates (0, 0) are the origins of coordinates, as shown in fig. 5.
For (a) in fig. 5, in which the origin of coordinates (0, 0) is set as a start point, midpoints (5, 5), (5, 10) on the right and left frame lines and at least one point of intersections (10, 0) and (10, 10) of the right frame line with the upper and lower frame lines, respectively, may be determined as an end point.
For (b) in fig. 5, at least one point among the origin of coordinates (0, 0), the intersection point of cells (10, 0) on the upper border line, and the intersection point of cells (0, 10) on the left border line may be determined as an end point, and the end point setting is similar to (a) in fig. 5, and will not be repeated here.
In the embodiment of the present application, the start point and the end point and the position mark are not true position coordinates, but are provided in units of cells to distinguish the number of cells of the interval between each point.
Assuming that the unit of one cell is 1 and the unit of half cell is 0.5 as shown in fig. 5, in fig. 5 (a), since the header cell is a single cell, the abscissa is 1 (representing 1 cell) for the end point on the right frame line, i.e., the position mark is 1, the ordinate is 0,0.5,1 in order, and so on, the position mark of the end point on the lower frame line can be determined. The location identifiers of the start point and the end point in fig. 5 (b) are similar to those in fig. 5 (a), and will not be described again here.
In another embodiment, the above location identifier may be further expanded by an integer multiple to facilitate data processing, for example, (a) in fig. 5, where the end point may have an abscissa of 10 (i.e. 10 times of 1 cell) and an ordinate of 0,5, and 10 in order, which will be described later in this representation.
It can be understood that the expression manner of the position mark can assist in determining the number of target cells occupied by the oblique line between the starting point and the end point, and finally, the length and the rotation angle of the oblique line can be accurately calculated by combining the obtained actual width information and the obtained 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 in pairs 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), (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 combines the end point (5, 10) with the start point (0, 0) may be: [ { startId: '0-0', endId: '5-10' } ], wherein startId characterizes the start point and endId characterizes the end point.
It can be seen that in the process of generating the point pairs, at least one alternative point can exist on the upper border line and the left border line, so that a user can determine which points are used as starting points of the component point pairs from the alternative starting points based on the requirement of actually drawing oblique lines, and similarly, at least one alternative point can exist on the right border line and the lower border line, and the user can also determine which points are used as end points of the component point pairs from the alternative points based on the actual requirement.
After the point pair set is obtained, step S202 may be performed to dynamically obtain the width information and the height information of the header cell and the target cell occupied by the line segment between each start point and each end point.
In step S202, data rendering is performed on the table to be processed, and the height information and width information of the header cell, and the width and 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 this embodiment of the present invention, since the location identifier of the embodiment of the present invention is in units of cells, for each point pair, the lateral cells occupied by the line segment between the start point and the end point in the horizontal direction and the vertical cells occupied in the vertical direction may be determined based on the location identifier of the start point and the location identifier of the end point, and thus the width of the occupied lateral 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 is understood that the width and height of the target cell are obtained to provide basis for the projection length of the diagonal line in the horizontal direction and the vertical direction to be calculated later.
Thus, for the above 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 step S202 provided in the embodiment of the present invention:
s202-1, determining a width set and a height set corresponding to a header cell;
in this embodiment, the width set includes the width of each cell that the gauge head cell includes, the height of each cell that the gauge head cell includes is contained to the height set, the order between the numerical value can be representative the order between the cells, in the in-process that acquires the width set, acquire the width of each cell in proper order along the horizontal direction who keeps away from left side frame line from the upper left corner of gauge head cell, constitute the width set, in the same way, acquire the in-process of height set, acquire the height of each cell in proper order along the direction that keeps away from the upper left corner of gauge head cell, constitute the height set.
For the case that the header cell is a single cell, the target cell is the header cell, and the width information and the height information of the cell are directly acquired, for example, with continued reference to (a) in fig. 5, assuming that the width of the header cell is 8 and the height is 4, the acquired width information may be represented as [0] and the height information as [4].
For the case that the header cell is formed by combining at least two cells, the upper left corner of the header cell can be used as a starting point, the width of each transverse cell is sequentially obtained, the height of each vertical cell is sequentially obtained, and if the header cell is formed by combining 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 numerical order in the width set is consistent with the order of the lateral cells included in the header cell, e.g., w1 corresponds to the width of the first lateral cell, w N Corresponding to the width of the nth lateral cell.
For example, with continued reference to fig. 5 (b), it can be seen that the header cells are formed by merging 2 rows and 2 columns of cells, and then, with the top left corner of the header cell as a starting point, the width set [ w1, w2] of each lateral cell is sequentially acquired, and the height set [ h1, h2] of each vertical cell is sequentially acquired.
It can be seen that, for a header cell formed by combining a plurality of cells, based on acquiring a width set and a height set, since the order between values in the width set and the height set can characterize the order between cells, after determining a target cell, the width can be extracted directly from the width set and the height can be extracted from the height set based on the order between the target cell and other cells.
S202-2, when the header cell is a single cell, determining that the target cell is a header cell, wherein the width and the height of the target cell are the width and the height of the header cell respectively.
For example, with continued reference to fig. 5 (a), it can be seen that all diagonal lines are within the header cell, so the target cell is determined to be the header cell, and at this time, the width and height of the target cell are the width and height of the header cell.
S202-3, when the header cell is formed by combining at least two cells, determining that the transverse cell and the vertical cell occupied by the line segment are target cells in the point pair, extracting the width of the transverse cell from the width set and extracting the height of the vertical cell from the height set.
In practice, some diagonal lines may span multiple cells, and then in determining the length of the diagonal line, it is necessary to determine the cell spanned by the diagonal line first, and then accurately calculate the length and angle of the diagonal line based on the actual width and the actual height of the spanned cell.
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 header cells; with continued reference to fig. 5 (b), the line segment between the partial start point and the end point spans different cells, at which time the lateral cell and the vertical cell occupied by the line segment can be determined separately, and then the lateral cell width is extracted from the width set, and the height of the vertical cell is extracted from the height set.
Thus, for the above step S202-3, it may be performed as follows:
a1: for the point pair, a first number of cells and a second number of cells of the start and end intervals are determined based on the respective location identifications of the start and end points.
In this embodiment, the position identifier may represent the number of cells spaced between each point, so in each point pair, the 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 lateral position identifiers of the start point and the end point is the first number of cells, and the difference between the 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, the point pair { startId: '10-0', endId: '20-10' } is exemplified by a difference of 20-10=10, 10 representing 1 cell, a first number of cells spaced 1, a difference of 10-0=10, and a second number of cells spaced 1.
a2: from the position of the starting point, the cells with the same number as the first cells are sequentially determined to be transverse cells along the horizontal direction far away from the left frame line, and the cells with the same number as the second cells are sequentially determined to be vertical cells along the vertical direction far away from the upper frame line.
In this embodiment, after determining the number of first cells and the number of second cells at intervals of the start point and the end point, it may be determined that cells having the same number as the first cells are lateral cells, and cells having the same number as the second cells are vertical cells, and specifically, it is necessary to first determine the vertical cells in a direction away from the upper frame line by taking the start point as a start position, determine the vertical cells in a direction of the cells in the vertical direction, determine the lateral cells in a horizontal direction away from the left frame line, and determine the lateral cells in a direction of the cells in the horizontal direction.
As an optional implementation manner, in the process of determining the lateral cells, the sequence information of the lateral cells occupied by the line segments in all the lateral cells may be determined, so that the corresponding width may be directly obtained from the width set based on the sequence information, and the vertical cells are similar and are not described herein.
a3: according to the sequence of the transverse cells, the width in the sequence corresponding to the transverse cells in the width set is used as the width of the transverse cells, and according to the sequence of the vertical cells, the height in the height set corresponding to the sequence of the vertical cells is used as the height of the vertical cells.
Since the numerical sequences in the width set and the height set can represent the sequence of the cells, the width in the corresponding sequence can be determined as the width of the lateral cell from the width set according to the determined sequence of the lateral cells, and the vertical cells are similar and will not be described herein.
For example, the header cell is formed by combining two rows and three columns of cells, the first row of cells is taken as all the transverse cells of the header cell, the first column of cells is taken as all the vertical cells of the header cell, the transverse cells occupied by the line segments may be the first transverse cells, and the corresponding width is the first value in the width set.
For ease of understanding, with continued reference to (b) of FIG. 5, the pair { startId: '10-0', endId: '20-10' } is exemplified by the header cell comprising two rows and columns of single cells, the width set being the height of the first row of cells of the header cell corresponding to each, i.e., [ w1, w2], the height set being the height of the first column of cells of the header cell corresponding to each, i.e., [ h1, h2], for the line segment between (10, 0) and (20, 10) the transverse cell occupied is the 2 nd transverse cell, so the width of the transverse cell is the 2 nd width w1 in the width set, and the vertical cell occupied is 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 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 invention, aiming at a line segment between a starting point and an ending point in a point pair, the width of a 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 an oblique side, a right-angle triangle is constructed, 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 a wire outlet section can be calculated based on the Pythagorean theorem.
Therefore, an embodiment of the present invention provides an implementation manner of step S203, referring to fig. 7, fig. 7 is a schematic flowchart of step S203 provided by 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 position marks of the starting point and the end point.
In this embodiment of the present application, since the midpoints and the intersections on the lower border line and the right border line are configured as end points, which may cause the line segment to occupy only half a cell, when determining the horizontal projection length, it is required to determine whether to calculate the horizontal projection length with the entire width or half width of the occupied cell based on the respective position identifiers of the start point and the end point, and the vertical projection length is the same.
For ease of understanding, please continue to refer to fig. 5 (a) and (b):
for (a) in fig. 5, the point pair { startId: '0-0', endId: '5-10' } is taken as an example, assuming that the cell occupied by the line segment between (0, 0) and (5, 10) is the header cell with the width of 8 and the height of 5, wherein the difference between the lateral position identifications is 5 and less than 1 cell, half of the width of the occupied lateral cell is taken as the horizontal projection length, that is, 4, the difference between the vertical position identifications is 10 and equal to 1 cell, and the height of the occupied vertical cell is taken as the vertical projection length, that is, 5, therefore, the length of the line segment between (0, 0) and (5, 10) is:
Figure M_221116104919811_811901001
= 6.40。
for (b) in FIG. 5, the point pair { startId: '0-0', endId: '15-20' } is exemplified, assuming the set of header cell widths is [8,4 ]]The height set is [6,6]The line segment between (0, 0) and (15, 20) occupies 2 transverse cells and has a width of [8,4 ]]And 2 vertical cells of height [6,6]Wherein, the difference between the horizontal position marks is 15, greater than 1 cell and less than 2 cells, then the sum of half the width of the last horizontal cell and the width of all other horizontal cells is taken as the horizontal projection length, that is, half the width of the last horizontal cell is 2, the width of the other horizontal cells is 8, then the horizontal projection length is 8+2=10, the difference between the vertical position marks is 20, 2 cells and 2 cells are taken as the vertical projection length, that is, 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.
Since a right triangle may be constructed between the line segment and the horizontal projection length and between 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, according to the degree of the inverse trigonometric function angle a being math.asin (BC/AC) 180/math.pi, where AC is the hypotenuse of the right triangle, and corresponds to the line segment between the starting point and the ending point in the embodiment of the present invention, BC is the projection of AC in the horizontal direction, that is, the horizontal projection length of the line segment in the embodiment of the present invention, and according to the above formula, the included angle between AC and AB, that is, the angle corresponding to the line segment, may also be calculated according to the degree of the inverse trigonometric function angle a being 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 segment between the starting point and the ending point in each point pair is determined, a line segment consistent with the length of the line segment can be generated, then the generated line segment is subjected to rotation processing based on the determined angle, and then displacement of the oblique line obtained after rotation is determined, so that oblique line positioning is completed.
Therefore, the embodiment of step S203 described above may be as follows:
d1: generating a line segment based on the length, and rotating the line segment by the angle anticlockwise based on the starting point in the point pair to obtain oblique lines;
d2: and determining the displacement length of the oblique line relative to the upper left corner of the table cell according to the position identification of the starting point in the point pair, and moving the oblique line from the upper left corner by the displacement length.
In the practical implementation process, the style of the table head cell can be set first, the positioning mode is relative positioning, then the inclined line is set to rotate by a corresponding angle based on the starting point, the positioning mode is set to absolute positioning, after the displacement of the starting point of the inclined line is determined, the inclined line can be moved from the upper left corner, so that the drawing of the inclined line is completed, and finally the drawn table can be shown as shown in fig. 9, and fig. 9 is a schematic diagram of effects provided by the embodiment of the invention.
It will be appreciated that how many pairs of points are in the set of pairs of points, a plurality of diagonal lines may be drawn corresponding to the pairs of points.
In an alternative embodiment, when the data in the table to be processed is updated, based on the updated height information and width information of the header cells, the length and angle of the line segment corresponding to the point pair are updated, and then the oblique line is adjusted according to the updated length and angle of the line segment corresponding to each point pair, so that the dynamic table can be ensured to be normally compatible with the oblique line configuration under different data.
Based on the same inventive concept, the embodiment of the present invention further provides a device for drawing a head-related diagonal line, please refer to fig. 10, fig. 10 is a functional block diagram of the device for drawing a head-related diagonal line, where the device 300 for drawing a head-related diagonal line may be stored in an Operating System (OS) of the electronic device 100 in the form of software or firmware.
The configuration drawing device 300 of the header oblique line may: a configuration module 310, a determination module 320, and a rendering module 330.
A configuration module 310, configured to perform starting point configuration and end point configuration on a table to be processed, and obtain a point pair set; the to-be-processed table 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 ending point;
The determining module 320 is configured to perform data rendering on the to-be-processed table, and determine, in the rendered to-be-processed table, height information and width information of a header cell, and a width and a height of a target cell occupied by a line segment between the start point and the end point in the point pair;
the determining module 320 is further configured to calculate, for the point pair, a length and an angle of the line segment based on a width and a height of the target cell occupied by the line segment between the start point and the end point, and respective position identifications of the start point and the end point;
the drawing module 330 is configured to generate a diagonal line according to the length and the angle of the line segment, and locate the diagonal line into the header cell.
It is understood that the configuration module 310, the determination module 320, and the drawing module 330 may cooperatively perform the steps in fig. 2 to achieve the corresponding technical effects.
In an alternative embodiment, the configuration module 310 is configured to construct a coordinate system with an upper left corner of the header cell as an origin of coordinates, an upper border line as an abscissa axis, and a left border line as an ordinate axis; when the gauge head cell is a single cell, taking the origin of coordinates as a starting point, and determining at least one end point from the middle point of each of the right frame line and the lower frame line of the gauge head cell and the intersection point of the right frame line and the upper frame line and the lower frame line respectively; when the gauge head cells are formed by combining at least two cells, at least one starting point is determined from the coordinate origin, the respective cell crossing points on the upper frame line and the left frame line, and at least one finishing point is determined from the respective midpoints of the right frame line and the lower frame line, the respective crossing points of the right frame line and the upper frame line and the lower frame line, and the respective cell crossing points on the right frame line and the lower frame line; and determining the position identification of each starting point and each ending point in a coordinate system, combining the starting points and the ending points in pairs 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 set of widths and a set of heights corresponding to the header cells; when the gauge head cell is a single cell, determining that the target cell is a gauge head cell, wherein the width and the height of the target cell are respectively the width and the height of the gauge head cell; when the gauge head cell is formed by combining at least two cells, determining that the transverse cell and the vertical cell occupied by the line segment are target cells in the point pair, extracting the width of the transverse 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 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; starting from the position of the starting point, sequentially determining that the cells with the same number as the first cells are transverse cells along the horizontal direction far from the left frame line, and sequentially determining that the cells with the same number as the second cells are vertical cells along the vertical direction far from the upper frame line; according to the sequence of the transverse cells, the width in the sequence corresponding to the transverse cells in the width set is used as the width of the transverse cells, and according to the sequence of the vertical cells, the height in the height set corresponding to the sequence of the vertical cells is used 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 start 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 start point and the end 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 alternative embodiment, the drawing module 330 is configured to generate a line segment based on the length, and rotate the line segment along a counterclockwise direction based on the starting point in the point pair to obtain a diagonal 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 from the upper left corner by the displacement length.
In an alternative embodiment, the configuration drawing device 300 of the header oblique line may include an adjustment module, configured to update 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 header cell when the data in the table to be processed is updated; 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 further provides a storage medium, in which a computer program is stored, which when executed by a computer, causes the computer to execute the method for drawing the configuration of the head-of-table diagonal line provided in the above embodiments.
Based on the above embodiments, the present application further provides a computer program, which when executed on a computer, causes the computer to execute the method for drawing the configuration of the head-of-table diagonal line provided in the above embodiments.
Based on the above embodiments, the embodiments of the present application further provide a chip, where the chip is configured to read a computer program stored in a memory, and is configured to execute the method for drawing the configuration of the header diagonal line provided in the above embodiments.
Also provided in an embodiment of the present application is a computer program product including instructions that, when run on a computer, cause the computer to perform the method for drawing a configuration of a header slash 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 present invention is not limited to the above embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (7)

1. A method for drawing a table head oblique line in a configuration manner, comprising:
performing starting point configuration and end point configuration on a table to be processed to obtain a point pair set; the to-be-processed table is an empty table, 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 ending point; the to-be-processed form is a dynamic form;
performing data rendering on a to-be-processed table, determining height information and width information of a header cell and width and 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 to-be-processed table, wherein the data rendering comprises the following steps: determining a width set and a height set corresponding to the header unit cells; when the gauge head cell is a single cell, determining that the target cell is the gauge head cell, wherein the width and the height of the target cell are respectively the width and the height of the gauge head cell; when the header cell is formed by combining at least two cells, determining that a transverse cell and a vertical cell occupied by the line segment are the target cell in the point pair, extracting the width of the transverse cell from the width set and extracting the height of the vertical cell from the height set;
Calculating the length and 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 ending point and the position identifications of the starting point and the ending point for the point pair;
generating a diagonal line according to the length and the angle of the line segment, and positioning the diagonal line into the header cell, including: generating the line segment based on the length, and rotating the line segment by the angle anticlockwise based on the starting point in the point pair to obtain the oblique line; determining a displacement length of the oblique line relative to the upper left corner of the header 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;
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 header unit cell; and adjusting the oblique line according to the length and the angle of the line segment corresponding to the updated point pair.
2. The method of claim 1, wherein the starting point configuration and the ending point configuration are performed on a table to be processed to obtain a set of point pairs, the method further comprising:
Constructing a coordinate system by taking the upper left corner of the gauge outfit cell as a coordinate origin, taking an upper border line as an abscissa axis and a left border line as an ordinate axis;
when the gauge head cell is a single cell, taking the origin of coordinates as the starting point, and determining at least one end point from the middle point of each of a right frame line and a lower frame line of the gauge head cell and the intersection point of the right frame line and the upper frame line and the lower frame line respectively;
when the header unit cell is formed by combining at least two unit cells, determining at least one starting point from respective unit cell crossing points on the coordinate origin, the upper frame line and the left frame line, and determining at least one finishing point from respective middle points of the right frame line and the lower frame line, respective crossing points of the right frame line and the upper frame line and the lower frame line, and respective unit cell crossing points on the right frame line and the lower frame line;
and determining the position identification of each starting point and each ending point in the coordinate system, combining the starting points and the ending points in pairs to obtain at least one point pair, and forming the point pair set based on the point pairs.
3. The method of claim 1, wherein when the header cell is formed by combining at least two cells, determining that the horizontal cell and the vertical cell occupied by the line segment are the target cell and 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;
starting from the position of the starting point, sequentially determining that the cells with the same number as the first cells are the transverse cells along the horizontal direction far from the left frame line, and sequentially determining that the cells with the same number as the second cells are the vertical cells along the vertical direction far from the upper frame line;
and taking the width in the sequence corresponding to the transverse cells in the width set as the width of the transverse cells, and taking the height in the height set corresponding to the vertical cell sequence as the height of the vertical cells in the vertical cell sequence.
4. The method of claim 1, wherein for the pair of points, calculating the length and angle of the line segment 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 location identifications of the start point and the end point, respectively, 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 position marks of the starting point and the end point;
the length is calculated according to 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.
5. A diagonal line layout drawing apparatus, comprising:
the configuration module is used for carrying out starting point configuration and end point configuration on the form to be processed to obtain a point pair set; the to-be-processed table is an empty table, 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 ending point; the to-be-processed form is a dynamic form;
The determining module is configured to perform data rendering on a table to be processed, determine height information and width information of a header cell and width and height of a target cell occupied by a line segment between the start point and the end point in the point pair in the rendered table to be processed, and include: determining a width set and a height set corresponding to the header unit cells; when the gauge head cell is a single cell, determining that the target cell is the gauge head cell, wherein the width and the height of the target cell are respectively the width and the height of the gauge head cell; when the header cell is formed by combining at least two cells, determining that a transverse cell and a vertical cell occupied by the line segment are the target cell in the point pair, extracting the width of the transverse cell from the width set and extracting the height of the vertical cell from the height set;
the determining module is further configured to calculate, for the point pair, a length and an angle of a line segment between the start point and the end point based on a width and a height of a target cell occupied by the line segment and respective position identifiers of the start point and the end point;
The drawing module is configured to generate a diagonal line according to the length and the angle of the line segment, and locate the diagonal line into the header cell, and includes: generating the line segment based on the length, and rotating the line segment by the angle anticlockwise based on the starting point in the point pair to obtain the oblique line; determining a displacement length of the oblique line relative to the upper left corner of the header 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;
the adjustment module is used for 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 header unit cell when the data in the table to be processed is updated; and adjusting the oblique line according to the length and the angle of the line segment corresponding to the updated point pair.
6. An electronic device comprising a processor and a memory, the memory storing a computer program executable by the processor, the processor being executable to implement the method of any one of claims 1 to 4.
7. A storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1 to 4.
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 CN115496050A (en) 2022-12-20
CN115496050B true 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)

Family Cites Families (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
CN102103577B (en) * 2009-12-17 2013-04-17 珠海金山软件有限公司 Method and system for compiling tables by using computer
CN108446264B (en) * 2018-03-26 2022-02-15 阿博茨德(北京)科技有限公司 Method and device for analyzing table vector in PDF document

Also Published As

Publication number Publication date
CN115496050A (en) 2022-12-20

Similar Documents

Publication Publication Date Title
JP6768695B2 (en) Methods and devices for generating composite pictures
CN111814802B (en) Character image processing method and device, storage medium and electronic equipment
CN104463975A (en) Setting method and information processing device
CN104714714A (en) Mobile terminal desktop control method and device and mobile terminal
CN108399025B (en) Method and device for correcting identification deviation and terminal equipment
CN115496050B (en) Method and device for drawing configuration of head-of-table oblique line, electronic equipment and storage medium
CN109543495B (en) Face key point marking method and device, electronic equipment and storage medium
CN103150742A (en) Method and device for vector graphic dynamic rendering
CN111913777A (en) Information processing method, information processing device, electronic equipment and storage medium
CN109739859B (en) Relation map drawing method, system and related device
CN102110149B (en) Method, device and system for realizing multi-picture rotation on webpage
CN115752437A (en) Chemical scene map alignment method and device, computer equipment and storage medium
CN115374237A (en) Vector space data storage and query method based on Beidou grid code
CN113495773A (en) Method and device for generating atlas assembly
CN112631501A (en) Display method and display device of touch function control and electronic equipment
CN112347727A (en) Filling type copper-clad method, system, equipment and storage medium supporting arc edges
CN110750818B (en) Height marking method, system and storage medium for drainage well design
CN111739084A (en) Picture processing method, atlas processing method, computer device, and storage medium
CN108845961A (en) A kind of creation vertex buffer method, apparatus and readable storage medium storing program for executing
CN112991221B (en) Method and device for correcting UV expansion diagram of specially-shaped customized area
CN118229515A (en) Geographic information data element conversion method and device
JP5757097B2 (en) Bitmap font display device
JP5651446B2 (en) Drawing creation support system
JP5563385B2 (en) Layout pattern generation apparatus and layout pattern generation method
CN113688456A (en) Method, device and readable storage medium for inserting pile numbers into road section diagram

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