CN115357415B - Qt-based classification drawing method and device - Google Patents

Qt-based classification drawing method and device Download PDF

Info

Publication number
CN115357415B
CN115357415B CN202211276406.3A CN202211276406A CN115357415B CN 115357415 B CN115357415 B CN 115357415B CN 202211276406 A CN202211276406 A CN 202211276406A CN 115357415 B CN115357415 B CN 115357415B
Authority
CN
China
Prior art keywords
event
primitive
external
line segment
external event
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
CN202211276406.3A
Other languages
Chinese (zh)
Other versions
CN115357415A (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.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangzhou Baolun Electronics 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 Guangzhou Baolun Electronics Co Ltd filed Critical Guangzhou Baolun Electronics Co Ltd
Priority to CN202211276406.3A priority Critical patent/CN115357415B/en
Publication of CN115357415A publication Critical patent/CN115357415A/en
Application granted granted Critical
Publication of CN115357415B publication Critical patent/CN115357415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a Qt-based classification drawing method and a Qt-based classification drawing device, wherein the method comprises the following steps: segmenting each line on the selected picture according to a preset segmentation distance to obtain a plurality of lines; acquiring position information of the selected picture and position information of each line segment, and keeping a selected state for the line segment in the range of the graphic element to which the selected picture belongs; acquiring external event information from the interactive information, and triggering and classifying the external events according to the external event information; and calling a function of corresponding classification according to the trigger classification result to perform event processing on the external event. By adopting the embodiment of the invention, various line data can be completely identified and processed, and the delay caused by event conversion is eliminated by adopting event classification processing.

Description

Qt-based classification drawing method and device
Technical Field
The invention relates to the field of Qt image processing, in particular to a Qt-based classification drawing method and device.
Background
The existing drawing equipment is not comprehensive enough for classifying drawn lines on a picture, and generally, the lines have three states: across the picture, the starting point is on the picture and the ending point is on the picture. However, the classification method adopted by the existing equipment can only identify the latter two cases, neglect the first case, and cause the deficiency of the drawing elements.
In addition, the existing drawing equipment generally performs unified processing on the mouse event and the touch event, which may affect the usability to a certain extent, especially on a 4k display screen, if the system converts the mouse event into the touch event and draws, a relatively serious drawing delay phenomenon may be generated.
Disclosure of Invention
The embodiment of the invention provides a Qt-based classification drawing method and device, which can completely identify and process various line data and eliminate delay caused by event conversion by adopting event classification processing.
In order to achieve the above object, a first aspect of the embodiments of the present application provides a Qt-based classification drawing method, including:
segmenting each line on the selected picture according to a preset segmentation distance to obtain a plurality of lines;
acquiring the position information of the selected picture and the position information of each line segment, and keeping the selected state of the line segment in the range of the primitive to which the selected picture belongs, wherein the specific steps are as follows: comparing the position of the selected picture with the position of each line segment, only processing the effective line segment in the range of the primitive, and not selecting and executing subsequent instructions for irrelevant line segments; when responding to an external movement event, moving the effective line segment and the selected picture in the same way;
acquiring external event information from the interactive information, and triggering and classifying the external events according to the external event information;
and calling a function of corresponding classification according to the trigger classification result to perform event processing on the external event, and respectively processing the touch event and the mouse event during the event processing so as to eliminate event conversion delay.
In a possible implementation manner of the first aspect, the triggering and classifying the external event according to the external event information specifically includes:
and classifying the external event into a mouse event or a touch event according to the trigger condition of the external event.
In a possible implementation manner of the first aspect, after the obtaining external event information from the interaction information and performing trigger classification on the external event according to the external event information, the method further includes:
reading the event type and the release event of the external event information; the event types include drawing events and movement events.
In a possible implementation manner of the first aspect, the invoking a function of a corresponding classification according to a trigger classification result to perform event processing on the external event specifically includes:
and if the external event is a moving event, moving the picture elements and the line segment elements in the primitive range to which the selected picture belongs together, and stopping the event processing when a release event occurs.
In a possible implementation manner of the first aspect, the invoking a function of a corresponding classification according to a trigger classification result to perform event processing on the external event specifically includes:
if the external event is a drawing event, creating a canvas primitive and a cache primitive and taking the cache primitive as a sub-primitive of the canvas primitive;
converting the drawing path into vector drawing on the cache primitive by using a brush module according to the drawing path in the external event;
when a release event occurs, the vector drawing is converted to a vector drawing on the canvas primitive using a brush module.
A second aspect of the embodiments of the present application provides a Qt-based classification and drawing device, including:
the segmentation module is used for segmenting each line on the selected picture according to a preset segmentation distance to obtain a plurality of lines;
the selection module is used for acquiring the position information of the selected picture and the position information of each line segment, and keeping the selected state of the line segment in the range of the primitive to which the selected picture belongs, and specifically comprises the following steps: comparing the position of the selected picture with the position of each line segment, only processing the effective line segment in the range of the primitive, and not selecting and executing subsequent instructions for irrelevant line segments; when responding to an external movement event, the effective line segment and the selected picture are moved in the same way;
the classification module is used for acquiring external event information from the interaction information and triggering and classifying the external events according to the external event information;
and the processing module is used for calling a function of corresponding classification according to the trigger classification result to perform event processing on the external event, and respectively processing the touch event and the mouse event when performing the event processing so as to eliminate the event conversion delay.
In a possible implementation manner of the second aspect, the classification module is specifically configured to:
and classifying the external event into a mouse event or a touch event according to the triggering condition of the external event.
In a possible implementation manner of the second aspect, the apparatus further includes a reading module; the reading module is used for reading the event type and the release event of the external event information; the event types include drawing events and movement events.
In a possible implementation manner of the second aspect, the mobile processing subunit in the processing module is configured to:
and if the external event is a moving event, moving the picture elements and the line segment elements in the primitive range to which the selected picture belongs together, and stopping the event processing when a release event occurs.
In a possible implementation manner of the second aspect, the drawing processing subunit in the processing module is configured to:
if the external event is a drawing event, creating a canvas primitive and a cache primitive and taking the cache primitive as a sub-primitive of the canvas primitive;
converting the drawing path into vector drawing on the cache primitive by using a brush module according to the drawing path in the external event;
when a release event occurs, the vector drawing is converted to a vector drawing on the canvas primitive using a brush module.
Compared with the prior art, the classification drawing method and device based on Qt provided by the embodiment of the invention have the advantages that the primitive information is obtained according to the position of the selected picture in a way of comparing the lines in a segmentation mode, the primitive range of the picture is compared with the position of each line segment when the picture is selected, only the effective line segment in the primitive range is processed, and the subsequent instruction is executed without selecting the irrelevant line segment. In response to an external movement event, the line segments that will satisfy the common movement move the same as the picture. When a drawing event is responded, the vector drawing is carried out by using the brush module in the buffer primitive, the repeated refreshing of the primitive is avoided, and the vector drawing is only used for displaying in the drawing line, so that the refreshing of the intersected primitive cannot be caused before the vector drawing of the canvas primitive is carried out finally.
In addition, through reasonable classification of external events, touch events and mouse events can be processed respectively after classification, and delay caused by event conversion is eliminated.
Drawings
Fig. 1 is a flowchart illustrating a Qt-based classification drawing method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a classification drawing method based on Qt, including:
s10, segmenting each line on the selected picture according to a preset segmentation distance to obtain a plurality of lines.
S11, acquiring the position information of the selected picture and the position information of each line segment, and keeping the selected state of the line segment in the range of the graphic element to which the selected picture belongs.
And S12, acquiring external event information from the interactive information, and triggering and classifying the external events according to the external event information.
And S13, calling a function of corresponding classification according to the trigger classification result to perform event processing on the external event.
The embodiment of the invention adopts a mode of comparing lines in a segmented manner, when a picture is selected, the position of the picture is compared with the position of each stored word line segment, if the line segment information in a piece of complete line information stored in a QList type meets the condition of being contained in a picture area, the line segment is shown to be in the picture in a point manner, the condition of common movement is met, and the line segment is moved integrally as same as the picture.
And after the segmentation identification, the line segments meeting the conditions are added into the processing object, so that the processed line segment object is enlarged, the line segments passing through the picture are covered, and the effect of moving the effective lines on the picture layer together can be realized when the picture is dragged.
Particularly, when comparing the primitive range to which the selected picture belongs with the positions of the line segments, the contacts function can be called to judge whether the points in the line segments exist in the range of the item of the picture, and if the function is returned to 1, the judgment is made, or:
QGraphicsItem::collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape);
then, the comparison mode is set as follows: and Qt, returning to 1 when the primitive completely comprises the line path, and putting the primitive into data needing to be moved.
Exemplarily, S12 specifically includes:
and classifying the external event into a mouse event or a touch event according to the triggering condition of the external event.
And (3) performing independent processing on the touch event and the mouse event, judging the events at the window interface, and distributing the events to the mouse or performing corresponding processing under the touch event. Because the touch event and the mouse event are processed respectively, the delay caused by event conversion can be effectively eliminated.
Exemplarily, the step S12 further includes:
reading the event type and the release event of the external event information; the event types include drawing events and movement events.
Exemplarily, S13 specifically includes:
and if the external event is a moving event, moving the picture elements and the line segment elements in the primitive range to which the selected picture belongs together, and stopping the event processing when a release event occurs.
Exemplarily, S13 specifically includes:
if the external event is a drawing event, creating a canvas primitive and a cache primitive and taking the cache primitive as a sub-primitive of the canvas primitive;
converting the drawing path into vector drawing on the cache primitive by using a brush module according to the drawing path in the external event;
when a release event occurs, the vector drawing is converted to a vector drawing on the canvas primitive using a brush module.
Qpainter class has a wide application range, QWidget is often used as drawing equipment, the refreshing mechanism of QWidget is window type refreshing, and the whole window can be rendered each time to achieve the refreshing purpose. Rendering operations are all done by the main thread, so frequent refreshes can severely impact performance. The appearance of the double-buffering idea greatly reduces the refreshing frequency, introduces a temporary layer as drawing equipment in the drawing process, and eliminates repeated drawing. The QGraphicssene refreshing mechanism refreshes the lines by taking QGraphicitem as a unit, so that when long lines drawn in the pixels pass through a lot of existing pixels, the pixels can be refreshed in an intersecting manner, the refreshing of the lines drawn in real time can be directly influenced, an operator visually feels that the lines are stuck, and the broken lines are serious.
The embodiment of the invention uses a double-buffer mechanism, so that new items are prevented from being established all the time in the drawing process to reduce a large amount of refreshes generated when the items are contacted, in the drawing process, the scheme uses vector drawing instead of vector drawing for establishing the items, and only when the vector drawing is finally stored, the vector drawing is established, so that the quantity of the items is greatly reduced, and the delay caused by the refreshes in the drawing process is reduced, and the specific method can refer to the following steps:
canvas graphics is used as a parent item, temp (buffer graphics) is added as a child item, and the temp and canvas graphics are both drawn by using a QPair class, and the difference is that: the objects executed last paint in temp layer are: among other functions, the qpair is used to draw a path to a vector graph, and in canvas, the path is drawn as an object to the parent item, resulting in a vector graph. Non-vector drawing is carried out on the temporary layer, the drawing speed is very high at this time, finally, the complete path is drawn into a vector diagram in the release event, and then the temporary layer is drawn out.
To sum up, the embodiment of the present invention adopts a double buffering idea, and the idea of realizing double buffering in qgraphics view is similar to the idea of using a qpage pointer in QWidget, but a buffer area cannot be independent of a final rendering interface in normal use, because the principle that an item needs to be added to a scene before being displayed makes the display of a temp layer depend on the item and meet the basis of an item which is not independent, the temp layer needs to be added to a final display layer as a child item to realize double buffering, the temp layer does not need to process scaling, only needs to use a drawImage function to add a vector graphics to a parent item for display after the qpage is completely rendered on a qimap class by using the qpage pointer, and finally draws the graphics item on the parent item in a page function manner at the moment of releasing a mouse or touch.
It should be noted that qgraphics view is a page class in the qt library and is used to display content in qgraphics scene, qpainer is a stroke class to implement rendering, QWidget is a window class to display content, which is usually a vector diagram, item refers to a qgraphics class added in qgraphics scene, that is, each rendered primitive, temp is a buffer layer in a double buffer mechanism, that is, content before the mouse is released is rendered in the buffer layer in the form of a vector diagram.
Compared with the prior art, the classification drawing method based on Qt provided by the embodiment of the invention has the advantages that the primitive information of the line is obtained according to the position of the selected picture in a way of comparing the line in segments, the primitive range of the picture is compared with the position of each line segment when the picture is selected, only the effective line segment in the primitive range is processed, and the subsequent instruction is executed without selecting the irrelevant line segment. In response to an external movement event, the line segments that satisfy the common movement move the same as the picture. When a drawing event is responded, the vector drawing is carried out by using the brush module in the buffer primitive, the repeated refreshing of the primitive is avoided, and the vector drawing is only used for displaying in the drawing line, so that the refreshing of the intersected primitive cannot be caused before the vector drawing of the canvas primitive is carried out finally.
In addition, through reasonable classification of external events, touch events and mouse events can be processed respectively after classification, and delay caused by event conversion is eliminated.
An embodiment of the application provides a classification drawing device based on Qt, which comprises a segmentation module, a removal module, a classification module and a processing module.
And the segmentation module is used for segmenting each line on the selected picture according to a preset segmentation distance to obtain a plurality of lines.
And the selection module is used for acquiring the position information of the selected picture and the position information of each line segment and keeping the selected state of the line segment in the range of the graphic element to which the selected picture belongs.
And the classification module is used for acquiring external event information from the interaction information and triggering and classifying the external events according to the external event information.
And the processing module is used for calling the function of the corresponding classification according to the trigger classification result to perform event processing on the external event.
Illustratively, the classification module is specifically configured to:
and classifying the external event into a mouse event or a touch event according to the triggering condition of the external event.
Exemplarily, a reading module is further included; the reading module is used for reading the event type and the release event of the external event information; the event types include drawing events and movement events.
Illustratively, the mobile processing subunit in the processing module is to:
and if the external event is a moving event, moving the picture elements and the line segment elements in the primitive range to which the selected picture belongs together, and stopping the event processing when a release event occurs.
Illustratively, the graphics processing subunit in the processing module is to:
if the external event is a drawing event, creating a canvas primitive and a cache primitive and taking the cache primitive as a sub-primitive of the canvas primitive;
converting the drawing path into vector drawing on the cache primitive by using a brush module according to the drawing path in the external event;
when a release event occurs, the vector drawing is converted to vector drawing on the canvas primitive using a brush module.
It is clear to those skilled in the art that for the convenience and brevity of description, the specific working procedures of the above-described apparatus may refer to the corresponding procedures in the foregoing method embodiments, which are not reiterated herein.
Compared with the prior art, the classification drawing device based on Qt provided by the embodiment of the invention has the advantages that the primitive information of the line is obtained according to the position of the selected picture in a way of comparing the line in sections, the primitive range of the picture is compared with the position of each line segment when the picture is selected, only the effective line segment in the primitive range is processed, and the subsequent instruction is executed without selecting the irrelevant line segment. In response to an external movement event, the line segments that satisfy the common movement move the same as the picture. When a drawing event is responded, the vector drawing is carried out by using the brush module in the buffer primitive, the repeated refreshing of the primitive is avoided, and the vector drawing is only used for displaying in the drawing line, so that the refreshing of the intersected primitive cannot be caused before the vector drawing of the canvas primitive is carried out finally.
In addition, through reasonable classification of external events, touch events and mouse events can be processed respectively after classification, and delay caused by event conversion is eliminated.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (2)

1. A Qt-based classification drawing method is characterized by comprising the following steps:
segmenting each line on the selected picture according to a preset segmentation distance to obtain a plurality of lines;
acquiring the position information of the selected picture and the position information of each line segment, and keeping the selected state of the line segment in the range of the primitive to which the selected picture belongs, wherein the specific steps are as follows: comparing the position of the selected picture with the position of each line segment, only processing the effective line segment in the range of the primitive, and not selecting and executing subsequent instructions for irrelevant line segments;
acquiring external event information from the interactive information, and performing trigger classification on the external event according to the external event information, wherein the trigger classification specifically comprises the following steps: classifying the external event into a mouse event or a touch event according to the trigger condition of the external event;
reading the event type and the release event of the external event information; the event types comprise drawing events and moving events;
calling a function of corresponding classification according to the trigger classification result to perform event processing on the external event, wherein the event processing specifically comprises the following steps: if the external event is a moving event, moving the picture elements and the line segment elements in the primitive range to which the selected picture belongs together, and stopping the event processing when a release event occurs; if the external event is a drawing event, creating a canvas primitive and a cache primitive and taking the cache primitive as a sub-primitive of the canvas primitive;
converting the drawing path into vector drawing on the cache primitive by using a brush module according to the drawing path in the external event; when a release event occurs, the vector drawing is converted to a vector drawing on the canvas primitive using a brush module.
2. A Qt-based classification and drawing device is characterized by comprising:
the segmentation module is used for segmenting each line on the selected picture according to a preset segmentation distance to obtain a plurality of lines;
the selection module is used for acquiring the position information of the selected picture and the position information of each line segment, and keeping the selected state of the line segment in the range of the primitive to which the selected picture belongs, and specifically comprises the following steps: comparing the position of the selected picture with the position of each line segment, only processing the effective line segment in the range of the primitive, and executing the subsequent instruction without selecting the irrelevant line segment;
the classification module is used for acquiring external event information from the interaction information and triggering and classifying the external events according to the external event information, and specifically comprises the following steps: classifying the external event into a mouse event or a touch event according to the triggering condition of the external event;
a reading module; the reading module is used for reading the event type and the release event of the external event information; the event types comprise drawing events and moving events;
the processing module is used for calling a function of corresponding classification according to the trigger classification result to perform event processing on the external event, and specifically comprises the following steps: if the external event is a moving event, moving the picture elements and the line segment elements in the primitive range to which the selected picture belongs together, and stopping the event processing when a release event occurs; if the external event is a drawing event, creating a canvas primitive and a cache primitive and taking the cache primitive as a sub-primitive of the canvas primitive; converting the drawing path into vector drawing on the cache primitive by using a brush module according to the drawing path in the external event; when a release event occurs, the vector drawing is converted to a vector drawing on the canvas primitive using a brush module.
CN202211276406.3A 2022-10-19 2022-10-19 Qt-based classification drawing method and device Active CN115357415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211276406.3A CN115357415B (en) 2022-10-19 2022-10-19 Qt-based classification drawing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211276406.3A CN115357415B (en) 2022-10-19 2022-10-19 Qt-based classification drawing method and device

Publications (2)

Publication Number Publication Date
CN115357415A CN115357415A (en) 2022-11-18
CN115357415B true CN115357415B (en) 2023-02-24

Family

ID=84007677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211276406.3A Active CN115357415B (en) 2022-10-19 2022-10-19 Qt-based classification drawing method and device

Country Status (1)

Country Link
CN (1) CN115357415B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003283736A (en) * 2002-03-25 2003-10-03 Ricoh Co Ltd Image drawing processing method in terminal emulator for image forming apparatus, input event processing method, program for allowing computer to execute the method, and image forming apparatus
CN108335342A (en) * 2018-01-31 2018-07-27 杭州朗和科技有限公司 Method, equipment and the computer program product of more people's drawing are carried out in web browser
CN109597549A (en) * 2018-10-16 2019-04-09 西北铁道电子股份有限公司 A kind of man-machine interactive system of the GYK equipment based on SelfUI
CN114241509A (en) * 2022-02-24 2022-03-25 江西少科智能建造科技有限公司 Space segmentation method, system, storage medium and equipment based on construction drawing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650822B (en) * 2009-09-21 2012-05-16 潘建 Method and system for generating mutual information
CN104137151B (en) * 2012-02-20 2017-03-01 三菱电机株式会社 Graphic processing data device and graphic data processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003283736A (en) * 2002-03-25 2003-10-03 Ricoh Co Ltd Image drawing processing method in terminal emulator for image forming apparatus, input event processing method, program for allowing computer to execute the method, and image forming apparatus
CN108335342A (en) * 2018-01-31 2018-07-27 杭州朗和科技有限公司 Method, equipment and the computer program product of more people's drawing are carried out in web browser
CN109597549A (en) * 2018-10-16 2019-04-09 西北铁道电子股份有限公司 A kind of man-machine interactive system of the GYK equipment based on SelfUI
CN114241509A (en) * 2022-02-24 2022-03-25 江西少科智能建造科技有限公司 Space segmentation method, system, storage medium and equipment based on construction drawing

Also Published As

Publication number Publication date
CN115357415A (en) 2022-11-18

Similar Documents

Publication Publication Date Title
EP0566293B1 (en) Graphical drawing and editing systems and methods therefor
US5404439A (en) Time-space object containment for graphical user interface
US9141134B2 (en) Utilization of temporal and spatial parameters to enhance the writing capability of an electronic device
US4982345A (en) Interactive computer graphics display system processing method for identifying an operator selected displayed object
US5923307A (en) Logical monitor configuration in a multiple monitor environment
US5553210A (en) System and method for immediate per window graphics clipping
US7061498B2 (en) Screen display processing apparatus, screen display processing method and computer program
WO2017028436A1 (en) Drawing tool implementation method, apparatus, device, and computer storage medium
JP5616223B2 (en) System and method for capturing digital images
US10147400B2 (en) Display control device, display control method, and display control program
US5546524A (en) Method and apparatus for interlocking graphical objects
CN114020233B (en) Meeting whiteboard window mode writing adaptation method, system, device and medium
US20120105322A1 (en) Drawing device and drawing method
CN104866318A (en) Method and device for displaying label pages in multiple windows
CN109215098A (en) Handwriting erasing method and apparatus
CN108319411B (en) Method and device for locally amplifying chart and electronic equipment
CN115357415B (en) Qt-based classification drawing method and device
CN115081384B (en) EDA-based data dynamic visualization system
US6392662B1 (en) Draw order preservation in a computer-implemented graphics system
Slater et al. Liberation from rectangles: a tiling method for dynamic modification of objects on raster displays
CN111459369B (en) Interface element screening method, intelligent terminal and storage medium
CN111459486B (en) Graphic dragging optimization method based on webpage canvas
KR20180029625A (en) Ground Truth generation program for performance evaluation of image processing
CN112540711B (en) Control method, device and equipment for selecting three-dimensional space object at webpage end
CN114860141A (en) Image display method, image display device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000

Patentee after: Guangdong Baolun Electronics Co.,Ltd.

Address before: No.19 Chuangyuan Road, Zhongcun street, Panyu District, Guangzhou, Guangdong 510000

Patentee before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address