CN115688216A - User-defined design method and device of drawing - Google Patents

User-defined design method and device of drawing Download PDF

Info

Publication number
CN115688216A
CN115688216A CN202211453252.0A CN202211453252A CN115688216A CN 115688216 A CN115688216 A CN 115688216A CN 202211453252 A CN202211453252 A CN 202211453252A CN 115688216 A CN115688216 A CN 115688216A
Authority
CN
China
Prior art keywords
canvas
picture
design interface
text field
text
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.)
Pending
Application number
CN202211453252.0A
Other languages
Chinese (zh)
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.)
Hangzhou Guofen Creative Design Co ltd
Original Assignee
Hangzhou Guofen Creative Design 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 Hangzhou Guofen Creative Design Co ltd filed Critical Hangzhou Guofen Creative Design Co ltd
Priority to CN202211453252.0A priority Critical patent/CN115688216A/en
Publication of CN115688216A publication Critical patent/CN115688216A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a method and a device for custom design of a drawing, wherein the method comprises the steps of obtaining drawing parameters input by a user, and generating a drawing design interface according to the drawing parameters; acquiring editing information input by a user in a drawing design interface; and when the fact that the editing information does not exceed the limited height of the drawing design interface is detected, exporting the drawing design interface containing the editing information according to preset exporting setting. The corresponding design interface can be automatically matched through the drawing parameters input by the user, so that the user can modify or edit information according to the displayed design interface in real time, and the diversified design requirements of the user are met; and the exporting operation of the user can be greatly simplified by the mode of exporting the drawing design interface containing the editing information through the preset exporting setting, so that the user can use the drawing design interface conveniently and conveniently, and the overall drawing design experience is further improved.

Description

User-defined design method and device of drawing
Technical Field
The application belongs to the technical field of drawing design, and particularly relates to a method and a device for self-defining design of a drawing.
Background
With the development of Internet technology and the maturity of application Software, a completely innovative Software application mode, namely Software-as-a-Service (SaaS), is a mode for providing Software through the Internet, is now emerging, a manufacturer uniformly deploys application Software on its own servers, and a customer can order a required application Software Service to the manufacturer through the Internet according to the actual needs of the customer, pay a fee to the manufacturer according to the amount and time of the ordered Service, and obtain the Service provided by the manufacturer through the Internet.
However, in the current industry, manufacturers mostly adopt a form of a template to quickly meet different requirements of users, the template is generally designed in advance by manpower, the users can realize the required scheme only by modifying the template, and the mode not only greatly reduces the flexible operability and convenience of the template, but also easily restricts the design experience and requirements of the users.
Disclosure of Invention
The application provides a method and a device for custom design of drawings for solving the problems that the mentioned user can only realize the needed scheme by modifying the template, the mode not only greatly reduces the flexible operability and convenience of the template, but also easily restricts the technical problems of design experience, requirements and the like of the user, and the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for custom designing a drawing, including:
acquiring drawing parameters input by a user, and generating a drawing design interface according to the drawing parameters;
acquiring editing information input by a user in a drawing design interface;
and when the fact that the editing information does not exceed the limited height of the drawing design interface is detected, exporting the drawing design interface containing the editing information according to preset exporting setting.
In an alternative of the first aspect, the drawing parameters include a drawing size and a drawing title;
generating a drawing design interface according to the drawing parameters, comprising:
calculating a width-height ratio according to the size of the drawing, and determining the layout shape of the canvas based on the width-height ratio;
constructing a text field and an arrangement form of picture windows in the canvas according to the layout shape of the canvas; the inside distance between the text field and the canvas is a preset distance, and the inside distance between the picture window and the canvas is a preset distance;
and inserting the title of the drawing into the text field, and generating a drawing design interface based on the text field and the arrangement form of the drawing window in the canvas.
In yet another alternative of the first aspect, inserting a title of a drawing in the text field comprises:
dividing the text field into at least two text boxes according to a preset direction, wherein the ratio of the width of each text box to the width of the text field is the same, and the ratio of the height of each text box to the height of the text field is different;
determining an alignment mode of each text box based on the layout shape of the drawing;
when the title of the drawing comprises a main title and a subtitle, setting the distance between a first text box for inserting the main title and a second text box for inserting the subtitle as a first distance, and setting the distance between the second text box and a third text box as a second distance; the first text box, the second text box and the third text box are sequentially arranged according to a preset direction;
and inserting the title of the drawing into the text field according to the alignment mode of each text box.
In yet another alternative of the first aspect, after inserting the title of the drawing in the text field, before generating the drawing design interface based on the text field and the arrangement form of the picture window in the canvas, the method further includes:
judging whether English words exist in the title of the drawing;
when detecting that English words exist in the title of the drawing, judging whether the English words break the folding processing;
and when the English word is determined to be disconnected and broken, performing line feed processing on the English word.
In yet another alternative of the first aspect, the drawing parameters further include main drawing keywords;
after inserting the title of the drawing in the text field, before generating a drawing design interface based on the text field and the arrangement form of the drawing window in the canvas, the method further comprises the following steps:
searching a main map matched with the main map key words in a preset map library;
when the fact that a user conducts the matting operation on the main picture is not detected, calculating the size of the main picture based on the size of the canvas and a preset proportion;
and determining the size of the picture window according to the size of the main picture, and inserting the main picture into the picture window.
In yet another alternative of the first aspect, before generating the drawing design interface based on the text field and the arrangement form of the picture window in the canvas, the method further includes:
performing image processing on the main image to determine the image color with the highest proportion in the main image;
searching a background picture corresponding to the image color in a preset background picture library;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, wherein the generation process comprises the following steps:
and generating a drawing design interface based on the text field, the arrangement form of the picture window in the canvas and the background picture.
In yet another alternative of the first aspect, before generating the drawing design interface based on the text field, the arrangement form of the picture window in the canvas, and the background map, the method further includes:
carrying out conversion treatment on the dominant color system of the background image to obtain the shade degree of the contrast color;
determining a target filling mode in a preset filling mode according to the depth degree of the contrast color, and processing the brightness and the saturation of the contrast color according to the target filling mode to obtain the color of the transition layer;
when the fact that a user conducts cutout operation on the main map is not detected, determining the hierarchical relation between the transition layer and the main map;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas and the background picture, wherein the generation process comprises the following steps:
and generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, the background picture, the color of the transition layer and the hierarchical relationship between the transition layer and the main picture.
In a second aspect, an embodiment of the present application provides a device for custom designing a drawing, including:
the first acquisition module is used for acquiring drawing parameters input by a user and generating a drawing design interface according to the drawing parameters;
the second acquisition module is used for acquiring editing information input by a user in a drawing design interface;
and the drawing exporting module is used for exporting the drawing design interface containing the editing information according to preset exporting setting when the editing information is detected not to exceed the limited height of the drawing design interface.
In an alternative of the second aspect, the drawing parameters include a size of the drawing and a title of the drawing;
the first acquisition module includes:
calculating a width-height ratio according to the size of the drawing, and determining the layout shape of the canvas based on the width-height ratio;
constructing a text field and an arrangement form of picture windows in the canvas according to the layout shape of the canvas; the in-edge distance between the text field and the canvas is a preset distance, and the in-edge distance between the picture window and the canvas is a preset distance;
and inserting the title of the drawing into the text field, and generating a drawing design interface based on the text field and the arrangement form of the drawing window in the canvas.
In yet another alternative of the second aspect, the first obtaining module further includes:
dividing the text field into at least two text boxes according to a preset direction, wherein the ratio of the width of each text box to the width of the text field is the same, and the ratio of the height of each text box to the height of the text field is different;
determining an alignment mode of each text box based on the layout shape of the drawing;
when the title of the drawing comprises a main title and a sub-title, setting the distance between a first text box for inserting the main title and a second text box for inserting the sub-title as a first distance, and setting the distance between the second text box and a third text box as a second distance; the first text box, the second text box and the third text box are sequentially arranged according to a preset direction;
and inserting the title of the drawing into the text field according to the alignment mode of each text box.
In yet another alternative of the second aspect, the first obtaining module further includes:
after inserting the title of the drawing in the text field, judging whether English words exist in the title of the drawing before generating a drawing design interface based on the text field and the arrangement form of the drawing window in the canvas;
when detecting that an English word exists in the title of the drawing, judging whether the English word breaks the line breaking processing;
and when the English word is determined to be disconnected from the line breaking process, performing line feed process on the English word.
In yet another alternative of the second aspect, the drawing parameters further include main drawing keywords;
the first obtaining module further comprises:
after inserting a title of a drawing in a text field, searching a main drawing matched with a main drawing keyword in a preset drawing library before generating a drawing design interface based on the text field and the arrangement form of a drawing window in a canvas;
when the fact that a user conducts the image matting operation on the main image is not detected, calculating the size of the main image based on the size of the canvas and a preset proportion;
and determining the size of the picture window according to the size of the main picture, and inserting the main picture into the picture window.
In yet another alternative of the second aspect, the first obtaining module further includes:
before a drawing design interface is generated based on a text field and the arrangement form of a drawing window in a canvas, image processing is carried out on a main drawing, and the color of an image with the highest proportion in the main drawing is determined;
finding out a background picture corresponding to the image color in a preset background picture library;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, wherein the generation process comprises the following steps:
and generating a drawing design interface based on the text field, the arrangement form of the picture window in the canvas and the background picture.
In yet another alternative of the second aspect, the first obtaining module further includes:
before generating a drawing design interface based on a text field, an arrangement form of a picture window in a canvas and a background picture, carrying out conversion processing on a main color system of the background picture to obtain the shade degree of a contrast color;
determining a target filling mode in a preset filling mode according to the depth degree of the contrast color, and processing the brightness and the saturation of the contrast color according to the target filling mode to obtain the color of the transition layer;
when the fact that a user conducts cutout operation on the main graph is not detected, determining the hierarchical relationship between the transition layer and the main graph;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas and the background picture, wherein the generation comprises the following steps:
and generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, the background picture, the color of the transition layer and the hierarchical relationship between the transition layer and the main picture.
In a third aspect, the present application further provides a device for custom designing a drawing, including a processor and a memory;
the processor is connected with the memory;
a memory for storing executable program code;
the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method for custom design of the drawing provided by the first aspect or any one implementation manner of the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer storage medium, where a computer program is stored in the computer storage medium, and the computer program includes program instructions, and when the program instructions are executed by a processor, the method for custom designing a drawing provided by the first aspect or any one of the implementation manners of the first aspect of the embodiment of the present application may be implemented.
In the embodiment of the application, when the drawing is designed in a user-defined mode, drawing parameters input by a user can be obtained, and a drawing design interface is generated according to the drawing parameters; acquiring editing information input by a user in a drawing design interface; and when the fact that the editing information does not exceed the limited height of the drawing design interface is detected, exporting the drawing design interface containing the editing information according to preset exporting setting. The corresponding design interface can be automatically matched through the drawing parameters input by the user, so that the user can modify or edit information according to the displayed design interface in real time, and the diversified design requirements of the user are met; and the exporting operation of the user can be greatly simplified by the mode of exporting the drawing design interface containing the editing information through the preset exporting setting, so that the user can use the drawing design interface conveniently and conveniently, and the overall drawing design experience is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic overall flow chart of a method for custom designing a drawing according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an effect of a drawing design interface according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an overall effect of a custom design method of a drawing provided in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a custom design apparatus of a drawing provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In the following description, the terms "first" and "second" are used for descriptive purposes only and are not intended to indicate or imply relative importance. The following description provides embodiments of the present application, where different embodiments may be substituted or combined, and thus the present application is intended to include all possible combinations of the same and/or different embodiments described. Thus, if one embodiment includes features a, B, C and another embodiment includes features B, D, this application should also be construed as including embodiments that include all other possible combinations of one or more of a, B, C, D, although such embodiments may not be explicitly recited in the following text.
The following description provides examples, and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements described without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the described methods may be performed in an order different than the order described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
Referring to fig. 1, fig. 1 is a schematic overall flow chart illustrating a method for self-defining a drawing according to an embodiment of the present application.
As shown in fig. 1, the custom design method of the drawing at least includes the following steps:
and 102, acquiring drawing parameters input by a user, and generating a drawing design interface according to the drawing parameters.
In this embodiment of the present application, the method for self-defining design of a drawing may be applied to an electronic device, where the electronic device may be installed with a third-party application for self-defining design of a drawing, and the third-party application may be, but is not limited to, downloaded by a user in a designated application interface or purchased by a merchant for developing the third-party application. It can be understood that after a user opens a third-party application program for performing the user-defined design of the drawing on the electronic device, the drawing parameters can be input into a display interface corresponding to the third-party application program, so that the third-party application program generates a corresponding drawing design interface according to the drawing parameters input by the user, and the user can also modify or add editing information according to the currently generated drawing design interface, and export the drawing designed by the user according to the export setting preset by the third-party application program.
Specifically, the user can open the third-party application program on the electronic device on which the third-party application program for the custom design of the drawing is installed, so as to enter the corresponding custom design display interface. The user-defined design display interface can be divided into three parts, the first part from left to right can be used for obtaining drawing parameters input by a user, and the drawing parameters can include, but are not limited to, the size of a drawing, the title of the drawing and main drawing keywords. The second part from left to right can be used for generating a drawing design interface, and at least two controls for operating the drawing design interface can be further arranged in the second part, for example, but not limited to, a gallery control for inserting pictures, an upload control for uploading the current drawing design interface, a matting control for matting the current drawing design interface, a locking control for locking the current drawing design interface, and an add text control for editing text in the current drawing design interface. The third portion from left to right may be used to display preset export settings and export controls for users to select to export drawings, where a style selection box corresponding to the editing text may be further disposed in the third portion, and the style selection box may include fonts, font colors, font sizes, font data, line heights, formats, and the like of the editing text, which is not limited herein.
When the drawing parameters include the size of the drawing and the title of the drawing, a user can select a width and a height (which may also include a pixel value) meeting requirements in a drawing size input box in a display interface, and of course, a drawing type selection box and a drawing form selection box can be set in the display interface for the user to select, where the drawing type selection box may include a graphic control for representing a banner type and a graphic control for representing a poster type, and the drawing form selection box may include a static control and a dynamic control.
Then, the user can also input the title of the drawing in the content input box in the display interface, and the title of the drawing can comprise a main title or the main title and a subtitle (the subtitle can be input according to the requirement of the user).
As an option of the embodiment of the present application, generating a drawing design interface according to drawing parameters includes:
calculating a width-to-height ratio according to the size of the drawing, and determining the layout shape of the canvas based on the width-to-height ratio;
constructing a text field and an arrangement form of picture windows in the canvas according to the layout shape of the canvas; the in-edge distance between the text field and the canvas is a preset distance, and the in-edge distance between the picture window and the canvas is a preset distance;
inserting the title of the drawing into the text field, and generating a drawing design interface based on the arrangement form of the text field and the drawing window in the canvas.
Specifically, after the size of the drawing input by the user is obtained, the ratio of the width to the height can be calculated according to the size of the drawing, and the ratio of the width to the height is combined to determine the layout shape of the canvas and the arrangement form of the layout shape corresponding to the canvas, wherein when the ratio of the width to the height is greater than or equal to 1.5, the layout shape of the canvas can be determined to be a horizontal plate (i.e., a left-right structure), and then the arrangement form of the left-right image can be constructed in the canvas, where the left-right image can be corresponding to the left-side construction of a text field in the canvas, and the right-side construction of a picture window in the canvas. When the ratio of the width to the height is less than or equal to 0.5, it may be determined that the layout shape of the canvas is vertical (i.e., vertical), and an arrangement form of the above and below diagrams may be constructed in the canvas, where the above and below diagrams may correspond to an upper text field and a lower picture window in the canvas. When the ratio of the width to the height is between 0.5 and 1.5, the layout shape of the canvas can be determined to be a biased layout (i.e. a top-bottom structure), and then an arrangement form of the top-bottom diagram can be constructed in the canvas, where the top-bottom diagram can correspond to a text field constructed on the upper side of the canvas and a picture window constructed on the lower side of the canvas.
It can be understood that the distance between the border of the text field and the border of the picture window constructed in the canvas and the border of the canvas is set to be a preset distance, for example, but not limited to, the distance between the wide side of the text field and the wide side of the canvas is 8% of the length of the wide side of the canvas, the distance between the high side of the text field and the high side of the canvas is 8% of the length of the high side of the canvas, the distance between the wide side of the picture window and the wide side of the canvas is 8% of the length of the wide side of the canvas, and the distance between the high side of the picture window and the high side of the canvas is 8% of the length of the high side of the canvas. As an alternative, in the embodiment of the present application, the size of the constructed text field may be, but is not limited to, equal to the size of the constructed picture window, so as to embody the overall neatness of the drawing.
Furthermore, after a text field and a picture window are constructed in the canvas, a title of a drawing input by a user can be inserted into the text field, and a drawing design interface is generated to be displayed to the user by combining the text field and the arrangement form of the picture window in the canvas.
As another alternative to the embodiment of the present application, inserting the title of the drawing in the text field includes:
dividing the text field into at least two text boxes according to a preset direction, wherein the ratio of the width of each text box to the width of the text field is the same, and the ratio of the height of each text box to the height of the text field is different;
determining an alignment mode of each text box based on the layout shape of the drawing;
when the title of the drawing comprises a main title and a sub-title, setting the distance between a first text box for inserting the main title and a second text box for inserting the sub-title as a first distance, and setting the distance between the second text box and a third text box as a second distance; the first text box, the second text box and the third text box are sequentially arranged according to a preset direction;
and inserting the title of the drawing into the text field according to the alignment mode of each text box.
Specifically, in the process of inserting the title of the drawing into the text field, the text field may be divided into at least two text boxes according to a preset direction, and each text box may be inserted with the title of the drawing or inserted with the edited text information, where the preset direction may be from top to bottom, that is, the text field is divided into at least two text boxes according to a sequence from top to bottom. It is understood that, when it is detected that the title of the drawing inputted by the user includes a main title and a subtitle, the distance between the first divided text box and the second divided text box may be controlled to be a preset first distance, which may be, but is not limited to, 6% of the length of the high side of the canvas, in the process of dividing at least two text boxes; then, the distance between the second divided text box and the third divided text box may be controlled to be a preset second distance, which may be, but is not limited to, 10% of the height length of the canvas, and in this embodiment, if four or more text boxes are included, the distance between the nth text box and the (n + 1) th text box may be, but is not limited to, a preset second distance, where n is a positive integer greater than or equal to 3.
It should be noted that the width of each divided text box may be the same as the width of the text field, for example, but not limited to, the width of each text box is consistent with the width of the text field. For example, when a first text box is used for inputting a main title of the drawing, a second text box is used for inputting a subtitle of the drawing, and a third text box is used for inputting edited text information of the drawing, the ratio between the height of the first text box and the height of the text field may be set to 22%, the ratio between the height of the second text box and the height of the text field may be set to 6%, the ratio between the height of the third text box and the height of the text field may be set to 22%, and the height of each text box may be adjusted by a user after the drawing design interface is generated, which is not limited herein.
Further, after at least two text boxes are divided, the alignment manner of the characters inserted in each text box can be determined by combining the layout shape of the canvas, for example, but not limited to, when the layout shape of the canvas is a horizontal plate, the alignment manner of the characters inserted in each text box can be determined to be left alignment, that is, the position of the inserted characters is on the left side of the text box, the title of the drawing can be inserted into the text field according to the alignment manner, and in the process of insertion, the main title can be inserted into the first divided text box, and the subtitle can be inserted into the second divided text box.
Fig. 2 is a schematic diagram illustrating an effect of a drawing design interface according to an embodiment of the present application. As shown in fig. 2, the layout shape of the canvas corresponding to the drawing design interface may be a horizontal plate, the arrangement manner of the text field and the picture window in the drawing design interface is left and right drawings, the distance between the wide side of the text field and the wide side of the canvas is 8% of the length of the wide side of the canvas, the distance between the high side of the text field and the high side of the canvas is 8% of the length of the high side of the canvas, the distance between the wide side of the picture window and the wide side of the canvas is 8% of the length of the wide side of the canvas, and the distance between the high side of the picture window and the high side of the canvas is 8% of the length of the high side of the canvas. The text field is divided into three text boxes, the ratio of the height of the first text box to the height of the text field is 22%, the ratio of the height of the second text box to the height of the text field is 6%, the ratio of the height of the third text box to the height of the text field is 22%, the first text box is inserted into the main title of the drawing, the second text box is inserted into the subtitle of the drawing, and the third text box can be used for inserting the editing text information of the drawing. Here, the distance between the first text box and the second text box is set to 6% of the height of the text field, and the distance between the second text box and the third text box is set to 10% of the height of the text field.
It is also understood that an action point may be further disposed in the text box, and the height of the text box in which the action point is disposed is different from the height of the text box in which the action point is not disposed, which is not limited in the embodiment of the present application.
As another optional option of the embodiment of the present application, after inserting the title of the drawing in the text field, before generating the drawing design interface based on the text field and the arrangement form of the drawing window in the canvas, the method further includes:
judging whether English words exist in the title of the drawing;
when detecting that an English word exists in the title of the drawing, judging whether the English word breaks the line breaking processing;
and when the English word is determined to be disconnected and broken, performing line feed processing on the English word.
Specifically, in the process of inserting the title of the drawing into the text field, it may be further determined whether an english word exists in the title of the drawing, and when it is detected that an english word exists, it may be further determined whether an open folding process occurs when the english word is inserted into the text field, where the open folding process may be understood as folding one english word into two english sub-words, where the first english sub-word is at the end of the previous line and the second english sub-word is at the beginning of the next line. It is understood that when it is determined that there is an english word breaking and line breaking process, the line feed process may be performed on the english word, for example, but not limited to, setting all the english words in the previous line or setting all the english words in the next line.
As another option of the embodiment of the application, the drawing parameters further include main drawing keywords;
after inserting the title of the drawing in the text field, before generating a drawing design interface based on the text field and the arrangement form of the drawing window in the canvas, the method further comprises the following steps:
searching a main map matched with the main map key words in a preset map library;
when the fact that a user conducts the matting operation on the main picture is not detected, calculating the size of the main picture based on the size of the canvas and a preset proportion;
the size of the picture window is determined according to the size of the main picture, and the main picture is inserted into the picture window.
Specifically, after the title of the drawing is inserted into the text field, a main graph matched with the main graph keyword can be found in a preset graph library according to the main graph keyword input by the user, wherein the preset graph library can include, but is not limited to, a user graph library, a platform graph library and an extranet graph library, the user graph library can be understood as a picture stored in the electronic device, the platform graph library can be understood as a picture preset and stored by a third-party application program, and the extranet graph library can be understood as a picture obtained through a third-party search engine.
It is understood that, in the embodiment of the present application, the determination of the main picture may also be performed directly in the user gallery or in the platform gallery by the user, for example, but not limited to, when a user gallery control clicked by the user in the main picture selection box is received, a popup window displaying all pictures in the user gallery may be generated for the user to select; when a platform gallery control clicked by a user in the main picture selection frame is received, a popup window displayed with all pictures in the platform gallery can be generated for the user to select. Of course, the user may also directly send the predetermined theme to the third-party application program by means of picture uploading, which is not limited herein.
Further, after the main graph of the drawing is determined, whether a user conducts a matting operation on the main graph of the drawing can be further determined, the matting operation can be but is not limited to conduct a screenshot operation on the main graph of the drawing, and when it is detected that the user does not conduct the matting operation on the main graph of the drawing, the size of the main graph of the drawing can be calculated according to the size of the canvas and a preset proportion, wherein the height of the main graph of the drawing can be but is not limited to be set to 84% of the height of the canvas, and the width of the main graph of the drawing can be but is not limited to be set to 40% of the height of the canvas (also can be 34% of the height of the canvas or 48% of the height of the canvas).
Then, the size of the corresponding picture window may be determined according to the calculated size of the main picture, and in this embodiment, but not limited to, the size of the picture window may be set to be the same as the size of the main picture, so that the main picture is completely filled in the picture window.
It can be understood that when it is detected that the user performs the matting operation on the main drawing of the drawing, the ratio of the width to the height of the matting can be calculated first, and when the ratio of the width to the height of the matting is less than or equal to 1.5, the width of the matting can be set to 40% of the width of the canvas (or 34% of the height of the canvas or 48% of the height of the canvas), and the height of the matting can be calculated correspondingly; when the ratio of the width to the height of the matte is greater than 1.5, the matte width can be set to 49% of the canvas width (or 40% of the canvas height or 57% of the canvas height), and the matte height can be calculated accordingly.
Then, the size of the corresponding picture window can be determined according to the calculated matting size, in the embodiment of the present application, but not limited to, the height of the picture window and the height of the matting can be set to be a preset ratio, and the width of the picture window and the width of the matting are set to be consistent.
As another optional option of the embodiment of the present application, before generating a drawing design interface based on a text field and an arrangement form of a picture window in a canvas, the method further includes:
performing image processing on the main image, and determining the image color with the highest proportion in the main image;
searching a background picture corresponding to the image color in a preset background picture library;
generating a drawing design interface based on the text field and the arrangement form of the picture window in the canvas, wherein the drawing design interface comprises the following steps:
and generating a drawing design interface based on the text field, the arrangement form of the picture window in the canvas and the background picture.
Specifically, after the main graph of the drawing is determined, image processing may be performed on the main graph of the drawing, but not limited to, to identify the ratio of each color in the main graph of the drawing, and obtain the image color with the highest ratio. Then, the picture with the highest matching degree with the image with the highest proportion can be found out in a preset background picture library as a background picture, wherein the background picture can be divided into a dark picture or a light picture, when the image with the highest proportion is dark, the corresponding background picture can be a dark picture, and when the image with the highest proportion is light, the corresponding background picture can be a light picture, so as to achieve the consistency of the colors.
Of course, the background picture may also be directly a pure color picture generated randomly, or directly perform a gaussian blurring process of 30% on the main picture of the drawing to improve the interface generation efficiency, which is not limited in the embodiment of the present application.
As another optional option of the embodiment of the application, before generating the drawing design interface based on the text field, the arrangement form of the picture window in the canvas, and the background diagram, the method further includes:
carrying out conversion treatment on the dominant color system of the background image to obtain the shade degree of the contrast color;
determining a target filling mode in a preset filling mode according to the depth degree of the contrast color, and processing the brightness and the saturation of the contrast color according to the target filling mode to obtain the color of the transition layer;
when the fact that a user conducts cutout operation on the main graph is not detected, determining the hierarchical relationship between the transition layer and the main graph;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas and the background picture, wherein the generation comprises the following steps:
and generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, the background picture, the color of the transition layer and the hierarchical relationship between the transition layer and the main picture.
After the background picture is determined, a corresponding transition layer can also be generated. Specifically, a conversion process may be performed on the dominant color system in the background picture, such as, but not limited to, converting the RGB format into the HSB format, so as to obtain the shade degree of the contrast color, where when the brightness is less than 13 or the saturation is greater than 80 in the converted HSB format, the contrast color may be determined to be light, and otherwise, the contrast color may be determined to be dark.
Then, when the contrast color is light, the corresponding target filling manner may be to increase the current brightness by 8 and decrease the current saturation by 6; when the contrast color is dark, the corresponding target filling manner may be to increase the current saturation by 10, and process the contrast color according to the manner to obtain the color of the transition layer.
Then, when the fact that a user conducts cutout operation on the main graph is not detected, the hierarchical relation between the transition layer and the main graph can be determined to be the upper layer of the transition layer on the main graph, and a corresponding drawing design interface is generated by combining the arrangement form of the text domain and the picture window in the canvas and the background graph; when the fact that a user conducts a matting operation on the main graph is detected, the hierarchical relation between the transition layer and the main graph can be determined to be that the transition layer is located at the next layer of the main graph, and a corresponding drawing design interface is generated based on the text domain, the arrangement form of the picture window in the canvas and the background graph.
It is understood that the transition layer can also support the picture effect and the ratio in the picture window, which can be selected by the user, but not limited thereto.
Of course, the transition layer in the embodiment of the present application may also be understood as performing a obscuring layer process on the background picture to improve the generation efficiency of the overall interface.
And 104, acquiring editing information input by a user in a drawing design interface.
Specifically, after the drawing design interface is generated, the drawing design interface can be directly displayed to a user, so that the user can conveniently input editing information on the drawing design interface, wherein the editing information can include, but is not limited to, interface modification editing information or text editing information added to the drawing design interface.
And 106, when the fact that the editing information does not exceed the limited height of the drawing design interface is detected, exporting the drawing design interface containing the editing information according to preset exporting setting.
Specifically, after the user inputs the edited text information into the drawing design interface, when it is detected that the text information does not exceed the limited height, the derivation process may be directly performed on the drawing design interface including the text information according to the preset derivation setting, where the preset derivation setting may include, but is not limited to, a size of the derivation drawing, a format of the derivation drawing, and a size of the derivation drawing. It can be understood that the derived drawing can be stored according to a preset path, so that the drawing can be conveniently viewed or changed by a user at any time.
Fig. 3 is a schematic diagram illustrating an overall effect of a method for custom designing a drawing according to an embodiment of the present disclosure. As shown in fig. 3, the user-defined design display interface of the drawing can be divided into three parts, and the left part can correspond to the filling requirement of the user, that is, the size of the drawing input by the user, the type of the drawing, the form of the drawing, the title of the drawing, the main drawing keyword, and the like can be included. After the left part acquires the drawing parameters input by the user, a corresponding drawing design interface can be generated at the middle part so that the user can conveniently perform the matting operation in the drawing design interface, the matting operation can be realized by clicking the matting control for setting the part by the user, and a popup window comprising a plurality of execution actions can be generated in the process of performing the matting operation so as to be selected by the user. The right part can correspond to a drawing export setting interface, and the preset export setting can comprise the size of the export drawing, the format of the export drawing and the size of the export drawing, and an export control for prompting a user to export the drawing. It is understood that the right part may be further provided with a style selection box corresponding to the edited text, and the style selection box may include the font, font color, font size, character data, line height, format, etc. of the edited text, which is not limited herein.
Referring to fig. 4, fig. 4 is a schematic structural diagram illustrating a device for custom design of a drawing according to an embodiment of the present application.
As shown in fig. 4, the apparatus for custom designing a drawing may at least include a first obtaining module 401, a second obtaining module 402, and a drawing exporting module 403, where:
the first acquisition module is used for acquiring drawing parameters input by a user and generating a drawing design interface according to the drawing parameters;
the second acquisition module is used for acquiring editing information input by a user in a drawing design interface;
and the drawing exporting module is used for exporting the drawing design interface containing the editing information according to preset exporting setting when the fact that the editing information does not exceed the limited height of the drawing design interface is detected.
In some possible embodiments, the drawing parameters include the dimensions of the drawing and the title of the drawing;
the first acquisition module comprises:
calculating a width-to-height ratio according to the size of the drawing, and determining the layout shape of the canvas based on the width-to-height ratio;
constructing a text field and an arrangement form of picture windows in the canvas according to the layout shape of the canvas; the inside distance between the text field and the canvas is a preset distance, and the inside distance between the picture window and the canvas is a preset distance;
inserting the title of the drawing into the text field, and generating a drawing design interface based on the arrangement form of the text field and the drawing window in the canvas.
In some possible embodiments, the first obtaining module further includes:
dividing the text field into at least two text boxes according to a preset direction, wherein the ratio of the width of each text box to the width of the text field is the same, and the ratio of the height of each text box to the height of the text field is different;
determining an alignment mode of each text box based on the layout shape of the drawing;
when the title of the drawing comprises a main title and a sub-title, setting the distance between a first text box for inserting the main title and a second text box for inserting the sub-title as a first distance, and setting the distance between the second text box and a third text box as a second distance; the first text box, the second text box and the third text box are sequentially arranged according to a preset direction;
and inserting the title of the drawing into the text field according to the alignment mode of each text box.
In some possible embodiments, the first obtaining module further comprises:
after inserting the title of the drawing in the text field, judging whether English words exist in the title of the drawing before generating a drawing design interface based on the text field and the arrangement form of the drawing window in the canvas;
when detecting that an English word exists in the title of the drawing, judging whether the English word breaks the line breaking processing;
and when the English word is determined to be disconnected and broken, performing line feed processing on the English word.
In some possible embodiments, the drawing parameters further include a main drawing keyword;
the first obtaining module further comprises:
after inserting a title of a drawing in a text field, searching a main drawing matched with a main drawing keyword in a preset drawing library before generating a drawing design interface based on the text field and the arrangement form of a drawing window in a canvas;
when the fact that a user conducts the matting operation on the main picture is not detected, calculating the size of the main picture based on the size of the canvas and a preset proportion;
the size of the picture window is determined according to the size of the main picture, and the main picture is inserted into the picture window.
In some possible embodiments, the first obtaining module further comprises:
before generating a drawing design interface based on a text field and an arrangement form of a picture window in a canvas, performing image processing on a main graph, and determining an image color with the highest proportion in the main graph;
searching a background picture corresponding to the image color in a preset background picture library;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, wherein the generation process comprises the following steps:
and generating a drawing design interface based on the text field, the arrangement form of the picture window in the canvas and the background picture.
In some possible embodiments, the first obtaining module further includes:
before generating a drawing design interface based on a text field, an arrangement form of a picture window in a canvas and a background picture, carrying out conversion processing on a main color system of the background picture to obtain the shade degree of a contrast color;
determining a target filling mode in a preset filling mode according to the depth of the contrast color, and processing the brightness and the saturation of the contrast color according to the target filling mode to obtain the color of the transition layer;
when the fact that a user conducts cutout operation on the main graph is not detected, determining the hierarchical relationship between the transition layer and the main graph;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas and the background picture, wherein the generation process comprises the following steps:
and generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, the background picture, the color of the transition layer and the hierarchical relationship between the transition layer and the main picture.
It is clear to a person skilled in the art that the solution according to the embodiments of the present application can be implemented by means of software and/or hardware. The term "unit" and "module" in this specification refers to software and/or hardware capable of performing a specific function independently or in cooperation with other components, wherein the hardware may be, for example, a Field-Programmable Gate Array (FPGA), an Integrated Circuit (IC), or the like.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 5, the electronic device 500 may include at least one processor 501, at least one network interface 504, a user interface 503, memory 505, and at least one communication bus 502.
The communication bus 502 can be used for realizing the connection communication of the above components.
The user interface 503 may include keys, and the optional user interface may also include a standard wired interface and a wireless interface.
The network interface 504 may include, but is not limited to, a bluetooth module, an NFC module, a Wi-Fi module, and the like.
Processor 501 may include one or more processing cores, among other things. The processor 501 interfaces with various interfaces and circuitry throughout the electronic device 500 to perform various functions of the routing device 500 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 505, as well as invoking data stored in the memory 505. Optionally, the processor 501 may be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 501 may integrate one or a combination of several of a CPU, GPU, modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the above modem may not be integrated into the processor 501, and may be implemented by a single chip.
The memory 505 may include a RAM or a ROM. Optionally, the memory 505 includes a non-transitory computer readable medium. The memory 505 may be used to store instructions, programs, code sets, or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 505 may alternatively be at least one memory device located remotely from the processor 501. As shown in fig. 4, the memory 505, which is a type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a custom design application of the drawing.
Specifically, the processor 501 may be configured to invoke a custom design application of the drawing stored in the memory 505, and specifically perform the following operations:
acquiring drawing parameters input by a user, and generating a drawing design interface according to the drawing parameters;
acquiring editing information input by a user in a drawing design interface;
and when the fact that the editing information does not exceed the limited height of the drawing design interface is detected, exporting the drawing design interface containing the editing information according to preset exporting setting.
In some possible embodiments, the drawing parameters include a size of the drawing and a title of the drawing;
generating a drawing design interface according to the drawing parameters, comprising:
calculating a width-height ratio according to the size of the drawing, and determining the layout shape of the canvas based on the width-height ratio;
constructing a text field and an arrangement form of picture windows in the canvas according to the layout shape of the canvas; the inside distance between the text field and the canvas is a preset distance, and the inside distance between the picture window and the canvas is a preset distance;
inserting the title of the drawing into the text field, and generating a drawing design interface based on the arrangement form of the text field and the drawing window in the canvas.
In some possible embodiments, inserting the title of the drawing in the text field includes:
dividing the text field into at least two text boxes according to a preset direction, wherein the ratio of the width of each text box to the width of the text field is the same, and the ratio of the height of each text box to the height of the text field is different;
determining an alignment mode of each text box based on the layout shape of the drawing;
when the title of the drawing comprises a main title and a sub-title, setting the distance between a first text box for inserting the main title and a second text box for inserting the sub-title as a first distance, and setting the distance between the second text box and a third text box as a second distance; the first text box, the second text box and the third text box are sequentially arranged according to a preset direction;
and inserting the title of the drawing into the text field according to the alignment mode of each text box.
In some possible embodiments, after inserting the title of the drawing in the text field, before generating the drawing design interface based on the text field and the arrangement form of the drawing windows in the canvas, the method further includes:
judging whether English words exist in the title of the drawing;
when detecting that an English word exists in the title of the drawing, judging whether the English word breaks the line breaking processing;
and when the English word is determined to be disconnected and broken, performing line feed processing on the English word.
In some possible embodiments, the drawing parameters further include a main drawing keyword;
after inserting the title of the drawing in the text field, before generating a drawing design interface based on the text field and the arrangement form of the drawing window in the canvas, the method further comprises the following steps:
searching a main map matched with the main map key words in a preset map library;
when the fact that a user conducts the matting operation on the main picture is not detected, calculating the size of the main picture based on the size of the canvas and a preset proportion;
and determining the size of the picture window according to the size of the main picture, and inserting the main picture into the picture window.
In some possible embodiments, before generating the drawing design interface based on the text field and the arrangement form of the picture window in the canvas, the method further includes:
performing image processing on the main image to determine the image color with the highest proportion in the main image;
finding out a background picture corresponding to the image color in a preset background picture library;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, wherein the generation process comprises the following steps:
and generating a drawing design interface based on the text field, the arrangement form of the picture window in the canvas and the background picture.
In some possible embodiments, before generating the drawing design interface based on the text field, the arrangement form of the picture window in the canvas, and the background map, the method further includes:
converting the dominant color system of the background image to obtain the shade degree of the contrast color;
determining a target filling mode in a preset filling mode according to the depth degree of the contrast color, and processing the brightness and the saturation of the contrast color according to the target filling mode to obtain the color of the transition layer;
when the fact that a user conducts cutout operation on the main graph is not detected, determining the hierarchical relationship between the transition layer and the main graph;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas and the background picture, wherein the generation process comprises the following steps:
and generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, the background picture, the color of the transition layer and the hierarchical relationship between the transition layer and the main picture.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the above-mentioned method. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program which instructs associated hardware to perform the steps, and the program may be stored in a computer readable memory, and the memory may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above are merely exemplary embodiments of the present disclosure, and the scope of the present disclosure should not be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for self-defining design of drawings is characterized by comprising the following steps:
acquiring drawing parameters input by a user, and generating a drawing design interface according to the drawing parameters;
acquiring editing information input by a user in the drawing design interface;
and when the fact that the editing information does not exceed the limited height of the drawing design interface is detected, exporting the drawing design interface containing the editing information according to preset exporting setting.
2. The method of claim 1, wherein the drawing parameters include a drawing size and a drawing title;
generating a drawing design interface according to the drawing parameters comprises the following steps:
calculating a width-to-height ratio according to the size of the drawing, and determining the layout shape of the canvas based on the width-to-height ratio;
constructing a text field and an arrangement form of picture windows in the canvas according to the layout shape of the canvas; the inside distance between the text field and the canvas is a preset distance, and the inside distance between the picture window and the canvas is the preset distance;
inserting the title of the drawing into the text field, and generating a drawing design interface based on the arrangement form of the text field and the drawing window in the canvas.
3. The method of claim 2, wherein the inserting the title of the drawing in the text field comprises:
dividing the text field into at least two text boxes according to a preset direction, wherein the ratio of the width of each text box to the width of the text field is the same, and the ratio of the height of each text box to the height of the text field is different;
determining an alignment mode of each text box based on the layout shape of the drawing;
when the title of the drawing comprises a main title and a subtitle, setting the distance between a first text box used for inserting the main title and a second text box used for inserting the subtitle as a first distance, and setting the distance between the second text box and a third text box as a second distance; the first text box, the second text box and the third text box are sequentially arranged according to the preset direction;
and inserting the title of the drawing into the text field according to the alignment mode of each text box.
4. The method of claim 2, wherein after inserting the title of the drawing in the text field, before generating a drawing design interface based on the text field and the arrangement form of the drawing windows in the canvas, the method further comprises:
judging whether English words exist in the title of the drawing;
when detecting that the English word exists in the title of the drawing, judging whether the English word breaks the folding processing;
and when the English word is determined to be broken and broken, performing line feed processing on the English word.
5. The method of claim 2, wherein the drawing parameters further include a primary drawing keyword;
after inserting the title of the drawing in the text field, before generating a drawing design interface based on the text field and the arrangement form of the drawing window in the canvas, the method further includes:
finding out a main picture matched with the main picture key word in a preset picture library;
when the fact that a user conducts the matting operation on the main graph is not detected, calculating the size of the main graph based on the size of the canvas and a preset proportion;
and determining the size of the picture window according to the size of the main picture, and inserting the main picture into the picture window.
6. The method of claim 5, further comprising, prior to generating a drawing design interface based on the text fields and the arrangement of the picture windows in the canvas, the steps of:
performing image processing on the main image, and determining the image color with the highest proportion in the main image;
finding out a background picture corresponding to the image color in a preset background picture library;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, wherein the generation process comprises the following steps:
and generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas and the background picture.
7. The method of claim 6, before generating a drawing design interface based on the text field, the arrangement form of the picture window in the canvas and the background map, further comprising:
converting the dominant color system of the background image to obtain the shade degree of the contrast color;
determining a target filling mode in a preset filling mode according to the depth degree of the contrast color, and processing the brightness and the saturation of the contrast color according to the target filling mode to obtain the color of the transition layer;
when the user is not detected to perform the cutout operation on the main graph, determining the hierarchical relationship between the transition layer and the main graph;
generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas and the background picture, wherein the generation process comprises the following steps:
and generating a drawing design interface based on the arrangement form of the text field and the picture window in the canvas, the background picture, the color of the transition layer and the hierarchical relationship between the transition layer and the main picture.
8. The utility model provides a custom design device of drawing which characterized in that includes:
the first acquisition module is used for acquiring drawing parameters input by a user and generating a drawing design interface according to the drawing parameters;
the second acquisition module is used for acquiring editing information input by a user in the drawing design interface;
and the drawing exporting module is used for exporting the drawing design interface containing the editing information according to preset exporting setting when the fact that the editing information does not exceed the limited height of the drawing design interface is detected.
9. A self-defined design device of drawings is characterized by comprising a processor and a memory;
the processor is connected with the memory;
the memory for storing executable program code;
the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, having instructions stored therein, which when run on a computer or processor, cause the computer or processor to perform the steps of the method according to any one of claims 1-7.
CN202211453252.0A 2022-11-21 2022-11-21 User-defined design method and device of drawing Pending CN115688216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211453252.0A CN115688216A (en) 2022-11-21 2022-11-21 User-defined design method and device of drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211453252.0A CN115688216A (en) 2022-11-21 2022-11-21 User-defined design method and device of drawing

Publications (1)

Publication Number Publication Date
CN115688216A true CN115688216A (en) 2023-02-03

Family

ID=85054385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211453252.0A Pending CN115688216A (en) 2022-11-21 2022-11-21 User-defined design method and device of drawing

Country Status (1)

Country Link
CN (1) CN115688216A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204091A (en) * 2023-05-04 2023-06-02 北京尽微致广信息技术有限公司 Style setting method and device, storage medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204091A (en) * 2023-05-04 2023-06-02 北京尽微致广信息技术有限公司 Style setting method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN109801347B (en) Method, device, equipment and medium for generating editable image template
US8144979B2 (en) Automatic color contrast analyzer
EP3220249A1 (en) Method, device and terminal for implementing regional screen capture
US8938685B2 (en) Automated graphical user interface design and development systems and methods
CN108924622B (en) Video processing method and device, storage medium and electronic device
CN102591848A (en) Selection of foreground characteristics based on background
CA2865960C (en) Application display method and terminal
KR20210060585A (en) Font rendering method, device and computer-readable storage medium
KR20120054750A (en) Method and apparatus for selective display
JP2016048471A (en) Application development support device, data processing method and program therefor
US9524573B2 (en) Systems, methods, and computer-readable media for manipulating and mapping tiles of graphical object data
CN111857878B (en) Skeleton screen page generation method and device, electronic equipment and storage medium
CN115688216A (en) User-defined design method and device of drawing
WO2017000898A1 (en) Software icon display method and apparatus
KR20160106970A (en) Method and Apparatus for Generating Optimal Template of Digital Signage
CN105956133B (en) Method and device for displaying file on intelligent terminal
CN114489625A (en) Method and device for converting JSON format text into visual configuration tool
CN113626023A (en) Sketch-based cross-platform interface development method and system, computer device and medium
US20190188466A1 (en) Method, system and apparatus for processing a page of a document
US11430166B1 (en) Facilitating generation of number-bullet objects
CN114443022A (en) Method for generating page building block and electronic equipment
US20170220530A1 (en) Renderable text extraction tool
KR101935926B1 (en) Server and method for webtoon editing
CN105740222A (en) Method and device used for reader typesetting, reader and electronic device
US20230112366A1 (en) Image output apparatus, method for controlling image output apparatus, and storage medium

Legal Events

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