CN110471595A - A kind of method and device of object scaling - Google Patents

A kind of method and device of object scaling Download PDF

Info

Publication number
CN110471595A
CN110471595A CN201810449449.4A CN201810449449A CN110471595A CN 110471595 A CN110471595 A CN 110471595A CN 201810449449 A CN201810449449 A CN 201810449449A CN 110471595 A CN110471595 A CN 110471595A
Authority
CN
China
Prior art keywords
scaling
scale objects
user
zoom operations
zoom
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
CN201810449449.4A
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.)
Chengdu - Digital Technology Co Ltd
Original Assignee
Chengdu - Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu - Digital Technology Co Ltd filed Critical Chengdu - Digital Technology Co Ltd
Priority to CN201810449449.4A priority Critical patent/CN110471595A/en
Publication of CN110471595A publication Critical patent/CN110471595A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/04842Selection of displayed objects or displayed text elements
    • 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/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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Abstract

The embodiment of the present application discloses a kind of method and device of object scaling, this method comprises: terminal response user is directed to the selection operation of the object, determine that user needs to zoom in and out to scale objects;Then, terminal response user is directed to first zoom operations for waiting for scale objects, according to the corresponding relationship of the zoom operations and scaling that pre-establish, determine corresponding first scaling of the first zoom operations, then, according to first scaling, centered on the geometric center to scale objects, scale objects, which zoom in and out, to be waited for this in the horizontal and vertical directions.It can be seen that, in the horizontal and vertical directions according to progress equal proportion scaling, do not mean only that the entirety to scale objects is scaled, so that the interior layout to scale objects can't change, and, drafting ratio to scale objects will not change, and not only increase the operating efficiency of user, also enhance the operating experience of user.

Description

A kind of method and device of object scaling
Technical field
This application involves the technical fields of object scaling, and in particular to a kind of method and device to as scaling.
Background technique
When being edited to the object (such as picture, text box, control etc.) in documents editing interface, Yong Hutong It often needs to be adjusted the size of the object, controls the object and zoom in or out.The mode of existing scale objects is led to It is often the frame for utilizing mouse drag object by user, the amplification or contracting of the object is controlled by adjusting the size of frame It is small.
But the mode of this scale objects may not only will affect the layout inside the object, such as the frame of object When diminution, line feed etc. occurs for the text in object, it is also possible to can make when the object after scaling is presented, the drafting ratio of the object Example changes, for example, amplifying 1 times in horizontal direction, but amplifies 0.9 times on vertical direction.And in order to reach expected volume Effect is collected, user's needs are multiple to edit the object, not only reduces the operating efficiency of user, also affects user's Operating experience.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of method and device of object scaling, by the geometry with object It centered on the heart, zooms in and out according to a certain percentage in the horizontal and vertical directions, so that the drafting ratio of the object after scaling Example and interior layout remain unchanged, to improve the operating efficiency of user's edit object, improve the operating experience of user.
To solve the above problems, technical solution provided by the embodiments of the present application is as follows:
In a first aspect, the embodiment of the present application provides a kind of method of object scaling, this method comprises:
Response is directed to the selection operation of object, determines to scale objects;
Response is directed to first zoom operations to scale objects, according to the zoom operations and pantograph ratio pre-established The corresponding relationship of example, determines corresponding first scaling of first zoom operations;
According to first scaling, centered on the geometric center to scale objects, in the horizontal direction and It is zoomed in and out to described to scale objects on vertical direction.
In some possible embodiments, first zoom operations are to click the operation of idler wheel control, the method Further include:
Display is with described to the associated idler wheel control of scale objects;
In some possible embodiments, the method also includes:
After determining corresponding first scaling of first zoom operations, first scaling is shown.
In some possible embodiments, first zoom operations are to click the operation of scaling option, described Method further include:
Display is with described to the associated multiple scaling options of scale objects, each scaling option With corresponding scaling.
In some possible embodiments, the method also includes:
The preview effect after scale objects are zoomed in and out according to first scaling is presented.
In addition, the embodiment of the present application also provides a kind of device of object scaling, which includes:
First determination unit is determined for responding the selection operation for being directed to object to scale objects;
Second determination unit, for responding the first zoom operations being directed to Suo Shu to scale objects, according to pre-establishing Zoom operations and scaling corresponding relationship, determine corresponding first scaling of first zoom operations;
Unit for scaling, for according to first scaling, centered on the geometric center to scale objects, In It is zoomed in and out to described to scale objects in horizontal direction and vertical direction.
In some possible embodiments, first zoom operations are to click the operation of idler wheel control, described device Further include:
First display unit, for showing with described to the associated idler wheel control of scale objects;
In some possible embodiments, described device further include:
Second display unit, for after determining corresponding first scaling of first zoom operations, described in display First scaling.
In some possible embodiments, first zoom operations are to click the operation of scaling option, described Device further include:
Third display unit, for showing with described to the associated multiple scaling options of scale objects, institute Each scaling option is stated with corresponding scaling.
In some possible embodiments, described device further include:
Display unit, for rendering to the preview after scale objects are zoomed in and out according to first scaling Effect.
In the embodiment of the present application, terminal response user is directed to the selection operation of the object, determines that user contracts Put to scale objects;Then, terminal response user is directed to first zoom operations for waiting for scale objects, according to pre-establishing Zoom operations and scaling corresponding relationship, corresponding first scaling of the first zoom operations is determined, then, according to this First scaling waits for scaling pair to this in the horizontal and vertical directions centered on the geometric center to scale objects As zooming in and out.As it can be seen that due to when treating scale objects and zooming in and out, be centered on the geometric center to scale objects, It is zoomed in and out in the horizontal and vertical directions according to the first scaling, it means that the entirety to scale objects carries out Scaling, so that the interior layout to scale objects can't change;Moreover, the contracting to scale objects in two directions The ratio of putting is the first scaling, present scaling after when scale objects, drafting ratio will not change, because This, user does not need to treat the multiple drafting ratio holding to scale objects being adjusted so that after scaling of scale objects progress It is constant, thus the operation executed needed for reducing user, and then the operating efficiency of user is not only increased, also enhance user's Operating experience.
Detailed description of the invention
Fig. 1 is schematic diagram before and after the scaling that the prior art zooms in and out text box;
Fig. 2 is a kind of exemplary application schematic diagram of a scenario provided by the embodiments of the present application;
Fig. 3 is schematic diagram before and after the scaling zoomed in and out in the embodiment of the present application to text box;
Fig. 4 is a kind of method flow schematic diagram of object scaling provided by the embodiments of the present application;
Fig. 5 is a kind of method signalling diagram of object scaling provided by the embodiments of the present application;
Fig. 6 is a kind of apparatus structure schematic diagram of object scaling provided by the embodiments of the present application.
Specific embodiment
When editing to the object on documents editing interface, in existing technical solution, user is usually to utilize mouse Mark pulls the frame of the object, carrys out zooming in or out for control object by adjusting the size of frame.Specifically, user is selecting In after the object, mouse is moved to the vertex of the object frame or the midpoint of a line, then user's long-pressing left mouse button The frame of dragging object, so that the size of the frame of the object changes, when to be adjusted to user pre- for the size of the object frame After the size of phase, user unclamps left mouse button to stop the dragging to frame, and checks the presentation situation of the object after scaling.
But in the technical solution of existing scale objects, in user's dragging object frame, a line of frame or One vertex is fixed, which zoomed in and out centered on fixed vertex or the midpoint of a line, in the process, by In user be by manual dragging object frame, it is difficult to ensure that scaling of the object in the horizontal direction and on vertical direction Identical, which results in the objects after scaling when being presented, and drafting ratio would generally change;Also, user is only It is pulling to the frame of object, that is to say and object frame is zoomed in and out, may also will lead to inside object in this way There is no scalings for partial content, to influence the layout inside the object.Therefore, user need constantly to the object into Row adjustment, until the drafting ratio of object adjusted and interior layout are all satisfied the expection of user.As it can be seen that this scaling pair The mode of elephant to execute more edit operation needed for user, not only reduces the operating efficiency of user, also affects user Operating experience.
For example, as shown in Figure 1, user needs to the text comprising content of text " object in documents editing interface " Frame is reduced, then, according to the scheme of existing scaled text frame, user reduces text box by pulling the frame of text box Afterwards, the result after obtaining scaling as shown in Figure 1.As it can be seen that reduce after text box in text entered a new line, in text box The layout in portion changes, and in order to restore the layout inside text box, user also needs to adjust the size of text in text box;And And, it is to be understood that since user is to manually control mouse to pull the frame of text box, this is difficult to after guaranteeing to reduce The length and width of text box is uniform zoom, i.e. the lenth ratio of scaling front and back text box, can not be centainly and before and after scaling Text box width ratio it is identical so that user need constantly the frame of text box is adjusted, to reach pre- The edit effect of phase.
To solve the above-mentioned problems, the embodiment of the present application provides a kind of method of object scaling, by with the several of object Centered on what center, scaling in proportion is carried out in the horizontal and vertical directions, so that the drafting ratio of the object after scaling The interior layout of example and object remains unchanged.By taking application scenarios shown in Fig. 2 as an example, specifically, if the needs pair of user 201 Object on documents editing interface zooms in and out, and user 201 can execute the selection behaviour for being directed to the object in terminal 202 Make, for example, can be the clicking operation etc. executed using mouse to the object;Then, terminal 202 responds user 201 and is directed to The selection operation of the object, determine user 201 need zoom in and out to scale objects;Then, by user 201 in terminal 202 Upper execution is directed to first zoom operations for waiting for scale objects, and terminal 202 responds first zoom operations, according to pre-establishing Zoom operations and scaling corresponding relationship, determine corresponding first scaling of the first zoom operations, thus, according to this First scaling waits for scaling pair to this in the horizontal and vertical directions centered on the geometric center to scale objects As zooming in and out, and 201 will be presented to the user by the display screen of terminal 202 to scale objects after scaling.As it can be seen that due to It is centered on the geometric center to scale objects, in the horizontal and vertical directions when treating scale objects and zooming in and out It is zoomed in and out according to the first scaling, it means that the entirety to scale objects is scaled, in scale objects Portion's layout can't change, moreover, being the first scaling, In to the scaling of scale objects in two directions Present scaling after when scale objects, drafting ratio will not change.In this way, user 201 executes primary scaling After operation, drafting ratio can be obtained and interior layout is all satisfied the expected object of user 201, reduce 201 institute of user The operation that need to be executed also enhances the operating experience of user 201 to not only increase the operating efficiency of user 201.
Still for scaling the text box before scaling shown in FIG. 1, after obtaining the first scaling, according to the first scaling Ratio in the horizontal and vertical directions zooms in and out text frame centered on the geometric center of text box, obtain as Scaled results shown in Fig. 3.As seen from Figure 3, no change has taken place for the interior layout of the text box after not only scaling, and And also no change has taken place for the drafting ratio of the text box after scaling, while obtaining meeting scaled results expected from user, no The operating efficiency for improving only user also enhances the operating experience of user.
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common The application protection all should belong in technical staff's every other embodiment obtained without creative efforts Range.
Referring to Figure 4 together, Fig. 4 shows a kind of method flow signal of object scaling provided by the embodiments of the present application Figure, this method can specifically include:
S401: response is directed to the selection operation of object, determines to scale objects.
In practical application, user usually there will be multiple during edit object on editing interface, on editing interface Object, therefore, in some illustrative specific embodiments, user can execute the choosing for being directed to object on editing interface Operation is selected, for example, can be user to the clicking operation etc. of the object, in this way, the selection operation based on user, terminal can be true Make the operation that user needs to carry out which object on editing interface subsequent process.
S402: response is directed to the first zoom operations to scale objects, according to the zoom operations and scaling pre-established The corresponding relationship of ratio determines corresponding first scaling of the first zoom operations.
It is appreciated that terminal is before treating scale objects and zooming in and out, it is necessary first to determine that this waits for the specific of scale objects Scaling, then terminal could treat scale objects with the scaling and zoom in and out.In some illustrative specific implementations In mode, which, which can be, is determined by terminal according to the operation that user executes, specifically, user can edit It is executed on interface and is directed to first zoom operations for waiting for scale objects, which characterizes user and it is expected wait scale The ratio that object zooms in and out, then, terminal can be according to the corresponding relationships of the zoom operations and scaling that pre-establish, really Fixed corresponding first scaling of first zoom operations.
Further, the first zoom operations may include numerous embodiments, and in a kind of example, the first zoom operations can The operation of idler wheel control shown on editing interface is clicked to be, such as sliding, long-pressing, clicks, double-click idler wheel control, in this way, Terminal determining after scale objects, can be presented to user with this to the associated idler wheel control of scale objects so that User can control the scaling to scale objects by clicking the idler wheel control shown on editing interface.
It is appreciated that user only clicks an idler wheel control in practical application, the desired contracting of user may can not be obtained It puts as a result, for example, user's expectation will amplify 1 times to scale objects, but only clicks an idler wheel control, it can only will be wait scale pair As 0.5 times of amplification, at this point, user needs to click an idler wheel control again, so that the magnification ratio to scale objects reaches 1 Times.Therefore, when user carries out the operation of multiple click idler wheel control, can will scaling determined by each clicking operation to The ratio of scale objects is shown to user, enables a user to determine the operation for currently clicking idler wheel control, enables to It zooms in or out how many times to scale objects.
For example, user is when choosing text box on editing interface and needing to amplify text frame, eventually End can show idler wheel control associated with text frame on the right side of editing interface, and then, user can be with upward sliding The idler wheel control, clicking operation of the terminal based on user, from the corresponding relationship of the clicking operation and scaling that pre-establish, It determines the magnification ratio of text frame, and displays it to user.Then, user based on magnification ratio shown by terminal after Continuous slider roller control, until the magnification ratio of text box reaches the expection of user.Certainly, user can also be with slide downward idler wheel Control reduces text box with realizing.
In other possible embodiments, which is also possible to the behaviour of the selection to scaling control Make.Specifically, terminal is determining when scale objects, multiple scaling controls and each pantograph ratio can be presented to user The corresponding scaling of example control, in this way, based on user to the clicking operation of one of scaling control, terminal It according to the corresponding scaling of scaling control, treats scale objects and zooms in and out, so that user can only carry out once Clicking operation can obtain desired scaled results, further improve the operating efficiency of user.
In other possible embodiment, which can also be the behaviour that scaling is inputted to user Make.Specifically, terminal is determining after scale objects, the input frame of scaling can be presented to user, by user according to reality Border demand inputs the ratio that oneself wants scaling.Terminal is operated according to the input of user, can determine to treat scale objects Scaling, and then scale objects can be treated according to the scaling and zoomed in and out.
S403: according to the first scaling, centered on the geometric center to scale objects, in the horizontal direction and vertically Scale objects are treated on direction to zoom in and out.
It is the In centered on the geometric center to scale objects when treating scale objects and zooming in and out in the present embodiment It is zoomed in and out according to the first scaling in horizontal direction and vertical direction.In this way, after obtained scaling wait scale Object, the scaling in horizontal and vertical both direction are identical, the drafting ratio to scale objects after ensure that scaling Example, it is identical as the drafting ratio to scale objects before scaling, so that user does not need to treat scale objects again and continues to adjust It is whole.
In practical application, while user executes the first zoom operations, it can also show to user to scale objects Scale preview effect.In this way, when terminal shows the scaling preview effect to scale objects based on the first zoom operations of user When, if the user feels that scaling is improper, it can also continue to execution and be directed to the zoom operations for waiting for scale objects, to adjust The whole size being somebody's turn to do to scale objects, until meet the expection of user shown by terminal to the scaling preview effect of scale objects, So as to further increase the operating experience of user.
In the present embodiment, terminal response user is directed to the selection operation of the object, determines what user needed to zoom in and out To scale objects;Then, terminal response user is directed to first zoom operations for waiting for scale objects, according to the contracting pre-established The corresponding relationship for putting operation and scaling determines corresponding first scaling of the first zoom operations, then, according to this first Scaling, centered on the geometric center to scale objects, in the horizontal and vertical directions to this wait for scale objects into Row scaling.As it can be seen that being centered on the geometric center to scale objects, in water due to when treating scale objects and zooming in and out It square is zoomed in and out to on vertical direction according to the first scaling, it means that the entirety to scale objects is contracted It puts, so that the interior layout to scale objects can't change;Moreover, the pantograph ratio to scale objects in two directions Example be the first scaling, present scaling after when scale objects, drafting ratio will not change, therefore, User does not need to treat the multiple drafting ratio holding to scale objects being adjusted so that after scaling of scale objects progress not Become, thus the operation executed needed for reducing user, and then the operating efficiency of user is not only increased, also enhance the behaviour of user It experiences.
For the more detailed technical solution for introducing the embodiment of the present application, below with reference to specific application scenarios to this Shen Please embodiment be described.In this scenario, user edits the control of Office office application, by the control into Row scales to adjust the size of the control.Show refering to Fig. 5, Fig. 5 signaling for showing a kind of object scaling in the embodiment of the present application It is intended to, this method can specifically include:
S501: the control that user chooses needs to zoom in and out using mouse.
Due to the usual more than one of the control in practical application, presented on editing interface, therefore, user can use mouse Mark chooses the control zoomed in and out needed for it, moves to mouse at control to be scaled for example, can be, and then a mouse click is left Key is to choose the control etc..
S502: choose operation of the terminal based on user is determined to zoom control, and is presented and be somebody's turn to do on the right side of editing interface The associated idler wheel control of control.
It should be noted that being associated between the idler wheel control and control to be scaled, i.e., by being carried out to the idler wheel control Operation, i.e., the controllable scaling to zoom control are other without association control without controlling.
S503: the original zoom ratio to zoom control is arranged using the drawing data for waiting for zoom control as radix in terminal It is 1.
Wherein, it is somebody's turn to do the drawing data to zoom control, refers to that the data drawn when zoom control are being presented in painting canvas.
In practical application, before not zoomed in and out to zoom control, the scaling with zoom control usual 1, i.e., Both it without that should be amplified to zoom control, is not also reduced.It but if should be small to the scaling of zoom control In 1 positive number, then demonstrate the need for waiting for that zoom control reduces to this;If should be greater than 1 to the scaling of zoom control Positive number, then demonstrate the need for waiting for that zoom control amplifies to this.
S504: user's slider roller control, to set the scaling to zoom control.
When specific implementation, user can use mouse slider roller control, for example mouse can be moved to idler wheel by user Control, then long-pressing left mouse button, and downward or dragging upwards, slides the idler wheel control to realize;It can also be in terminal Touch display screen on upwardly or downwardly slide the idler wheel control etc..
S505: slide of the terminal based on user determines the scaling to zoom control.
When specific implementation, terminal have been set up in advance be directed to idler wheel control slide it is corresponding with scaling Relationship, thus, according to the slide of user, that is, it can determine that user needs to treat the ratio that zoom control zooms in and out.For example, Idler wheel of every sliding, then treat zoom control carry out reduce or amplify certain proportion, alternatively, the every rolling of idler wheel control is single Position distance then continuously reduces to zoom control or amplifies certain proportion.Wherein, above-mentioned scaling is each meant waits scaling to this The ratio that the initial size of control zooms in and out.
S506: terminal notification painting canvas repaints this to zoom control.
When specific implementation, terminal can refresh the drafting function of painting canvas, and by the identified pantograph ratio to zoom control Example is transferred in the drafting function, re-executes the drafting function.According to the program instruction in drafting function, painting canvas figure is created Layer, and using the geometric center to zoom control as origin, using horizontal direction as x-axis, using vertical direction as y-axis, wait contracting according to this Drawing data and scaling before putting the scaling of control, repaint this to zoom control.
It is zoomed in and out in two directions according to the drawing data that same ratio treats zoom control, can to scale The drafting ratio to zoom control afterwards still remains unchanged, also, this scaling process is to treat all of zoom control to draw Data processed zoom in and out, and therefore, the interior layout to zoom control will not change.
S507: the preview zooming effect to zoom control after terminal display scaling.
When specific implementation, terminal can will repaint painting canvas figure layer to zoom control with to zoom control scaling before Painting canvas figure layer merge, and the painting canvas figure layer after merging is presented to user.In this way, user can scale according to the preview Effect determines whether the size to zoom control after scaling meets expection, in order to which user decides whether also to need again to wait for this Zoom control is adjusted.
In the present embodiment, due to when treating zoom control and zooming in and out, during to be with the geometric center to zoom control be The heart zooms in and out in x-axis direction and y-axis direction according to identical scaling, it means that the whole equal of zoom control It is scaled, so that the interior layout to zoom control can't change;Moreover, in two directions to scale objects Scaling be the first scaling, present scaling after when zoom control, drafting ratio will not change Become, therefore, user does not need to treat the multiple drafting ratio to zoom control being adjusted so that after scaling of zoom control progress Example remains unchanged, thus the operation executed needed for reducing user, and then the operating efficiency of user is not only increased, it also enhances The operating experience of user.
In addition, the embodiment of the present application also provides a kind of devices of object scaling.Referring to Figure 6 together, Fig. 6 shows this Apply for that a kind of apparatus structure schematic diagram of object scaling, the device 600 include: in embodiment
First determination unit 601 is determined for responding the selection operation for being directed to object to scale objects;
Second determination unit 602, for responding the first zoom operations being directed to scale objects, according to what is pre-established The corresponding relationship of zoom operations and scaling determines corresponding first scaling of the first zoom operations;
Unit for scaling 603 is used for according to the first scaling, centered on the geometric center to scale objects, in level Scale objects are treated on direction and vertical direction to zoom in and out.
In some possible embodiments, the first zoom operations are to click the operation of idler wheel control, and device 600 also wraps It includes:
First display unit, for show with to the associated idler wheel control of scale objects;
In some possible embodiments, device 600 further include:
Second display unit, for after determining corresponding first scaling of the first zoom operations, display first to be scaled Ratio.
In some possible embodiments, the first zoom operations are to click the operation of scaling option, and device 600 is also Include:
Third display unit, for show with to the associated multiple scaling options of scale objects, each pantograph ratio Example option has corresponding scaling.
In some possible embodiments, device 600 further include:
Display unit treats the preview effect after scale objects are zoomed in and out according to the first scaling for rendering.
In the present embodiment, due to when treating scale objects and zooming in and out, during to be with the geometric center to scale objects be The heart is zoomed in and out according to the first scaling in the horizontal and vertical directions, it means that the whole equal of scale objects It is scaled, so that the interior layout to scale objects can't change;Moreover, in two directions to scale objects Scaling be the first scaling, present scaling after when scale objects, drafting ratio will not change Become, therefore, user does not need to treat the multiple drafting ratio to scale objects being adjusted so that after scaling of scale objects progress Example remains unchanged, thus the operation executed needed for reducing user, and then the operating efficiency of user is not only increased, it also enhances The operating experience of user.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment emphasis is said Bright is the difference from other embodiments, and the same or similar parts in each embodiment may refer to each other.For reality For applying device disclosed in example, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place Referring to method part illustration.
It should also be noted that, herein, such as first or the like relational terms be used merely to an entity or Person's operation is distinguished with another entity or operation, is appointed without necessarily requiring or implying existing between these entities or operation What this actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute State in the process, method, article or equipment of element that there is also other identical elements.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of method of object scaling, which is characterized in that the described method includes:
Response is directed to the selection operation of object, determines to scale objects;
Response is directed to first zoom operations to scale objects, according to the zoom operations and scaling pre-established Corresponding relationship determines corresponding first scaling of first zoom operations;
According to first scaling, centered on the geometric center to scale objects, in the horizontal direction and vertically It is zoomed in and out to described to scale objects on direction.
2. the method according to claim 1, wherein first zoom operations are to click the behaviour of idler wheel control Make, the method also includes:
Display is with described to the associated idler wheel control of scale objects.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
After determining corresponding first scaling of first zoom operations, first scaling is shown.
4. the method according to claim 1, wherein first zoom operations are to click scaling option Operation, the method also includes:
With described to the associated multiple scaling options of scale objects, each scaling option has for display Corresponding scaling.
5. the method according to claim 1, which is characterized in that the method also includes:
The preview effect after scale objects are zoomed in and out according to first scaling is presented.
6. a kind of device of object scaling, which is characterized in that described device includes:
First determination unit is determined for responding the selection operation for being directed to object to scale objects;
Second determination unit, for responding the first zoom operations being directed to Suo Shu to scale objects, according to the contracting pre-established The corresponding relationship for putting operation and scaling determines corresponding first scaling of first zoom operations;
Unit for scaling is used for according to first scaling, centered on the geometric center to scale objects, in level It is zoomed in and out to described to scale objects on direction and vertical direction.
7. the apparatus according to claim 1, which is characterized in that first zoom operations are to click the behaviour of idler wheel control Make, described device further include:
First display unit, for showing with described to the associated idler wheel control of scale objects.
8. device according to claim 7, which is characterized in that described device further include:
Second display unit, for showing described first after determining corresponding first scaling of first zoom operations Scaling.
9. device according to claim 6, which is characterized in that first zoom operations are to click scaling option Operation, described device further include:
Third display unit, for showing with described to the associated multiple scaling options of scale objects, it is described often A scaling option has corresponding scaling.
10. according to device described in claim 6 to 9 any one, which is characterized in that described device further include:
Display unit, the preview to described after scale objects are zoomed in and out according to first scaling is imitated for rendering Fruit.
CN201810449449.4A 2018-05-11 2018-05-11 A kind of method and device of object scaling Pending CN110471595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810449449.4A CN110471595A (en) 2018-05-11 2018-05-11 A kind of method and device of object scaling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810449449.4A CN110471595A (en) 2018-05-11 2018-05-11 A kind of method and device of object scaling

Publications (1)

Publication Number Publication Date
CN110471595A true CN110471595A (en) 2019-11-19

Family

ID=68504446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810449449.4A Pending CN110471595A (en) 2018-05-11 2018-05-11 A kind of method and device of object scaling

Country Status (1)

Country Link
CN (1) CN110471595A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327213A (en) * 2021-12-30 2022-04-12 深圳市欧瑞博科技股份有限公司 Canvas scaling method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150745A (en) * 2011-12-06 2013-06-12 腾讯科技(深圳)有限公司 Method and device capable of editing a picture on line
CN103809850A (en) * 2014-02-10 2014-05-21 联想(北京)有限公司 Information processing method and electronic equipment
CN104866163A (en) * 2014-02-21 2015-08-26 联想(北京)有限公司 Image display method and device and electronic equipment
US20160330406A1 (en) * 2015-05-08 2016-11-10 Canon Kabushiki Kaisha Remote communication system, method for controlling remote communication system, and storage medium
CN106293307A (en) * 2015-05-18 2017-01-04 中兴通讯股份有限公司 Icon method to set up and device
CN106970753A (en) * 2017-03-15 2017-07-21 福建中金在线信息科技有限公司 A kind of picture amplifying method and device
CN107329653A (en) * 2017-06-22 2017-11-07 深圳传音通讯有限公司 Adjust the method and device of icon sizes
CN107704176A (en) * 2017-10-30 2018-02-16 努比亚技术有限公司 A kind of picture-adjusting method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150745A (en) * 2011-12-06 2013-06-12 腾讯科技(深圳)有限公司 Method and device capable of editing a picture on line
CN103809850A (en) * 2014-02-10 2014-05-21 联想(北京)有限公司 Information processing method and electronic equipment
CN104866163A (en) * 2014-02-21 2015-08-26 联想(北京)有限公司 Image display method and device and electronic equipment
US20160330406A1 (en) * 2015-05-08 2016-11-10 Canon Kabushiki Kaisha Remote communication system, method for controlling remote communication system, and storage medium
CN106293307A (en) * 2015-05-18 2017-01-04 中兴通讯股份有限公司 Icon method to set up and device
CN106970753A (en) * 2017-03-15 2017-07-21 福建中金在线信息科技有限公司 A kind of picture amplifying method and device
CN107329653A (en) * 2017-06-22 2017-11-07 深圳传音通讯有限公司 Adjust the method and device of icon sizes
CN107704176A (en) * 2017-10-30 2018-02-16 努比亚技术有限公司 A kind of picture-adjusting method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327213A (en) * 2021-12-30 2022-04-12 深圳市欧瑞博科技股份有限公司 Canvas scaling method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9785327B1 (en) Interactive user interface
US20190363689A1 (en) Optimized volume adjustment
KR101260834B1 (en) Method and device for controlling touch screen using timeline bar, recording medium for program for the same, and user terminal having the same
US9035887B1 (en) Interactive user interface
JP7101747B2 (en) Capture image generation method for display window and its device
US7934169B2 (en) Graphical user interface, electronic device, method and computer program that uses sliders for user input
CN103733172B (en) Auto zoom for text selecting/cursor placement
US20220229976A1 (en) Infinite Canvas
US20190196701A1 (en) Animation of user interface elements
US8607148B2 (en) Method and system for performing drag and drop operation
CN104991725B (en) Picture clipping method and system
US20170212660A1 (en) Consolidated orthogonal guide creation
DE112013002409T5 (en) Apparatus, method and graphical user interface for displaying additional information in response to a user contact
KR20140045301A (en) User interface interaction behavior based on insertion point
DE112015003670T5 (en) Navigation interfaces for e-books
JP5862103B2 (en) Electronic blackboard device, screen display method and program
DE112013002384T5 (en) Information processing apparatus, method for controlling the information processing apparatus and storage medium
US11475617B2 (en) Path-constrained drawing with visual properties based on drawing tool
DE112015003612T5 (en) Summary views for ebooks
CN110471595A (en) A kind of method and device of object scaling
KR20130136939A (en) Method for display and apparatus for the same
JP6640692B2 (en) Image layout apparatus, image layout method, and program thereof
JP2016177589A (en) Information processing device, information processing program and information processing method
JP6048450B2 (en) Information processing apparatus, information processing apparatus control method, and program
KR102093580B1 (en) touch control method, apparatus, program and computer readable recording 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191119

RJ01 Rejection of invention patent application after publication