CN104423821A - Four-line aligning mode for dragging picture - Google Patents
Four-line aligning mode for dragging picture Download PDFInfo
- Publication number
- CN104423821A CN104423821A CN201310385161.2A CN201310385161A CN104423821A CN 104423821 A CN104423821 A CN 104423821A CN 201310385161 A CN201310385161 A CN 201310385161A CN 104423821 A CN104423821 A CN 104423821A
- Authority
- CN
- China
- Prior art keywords
- alignment
- mode
- line
- horizontal
- picture
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04845—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention relates to a four-line alignment mode for dragging a picture. Based on the traditional alignment mode, a horizontal left-right end alignment mode and a vertical top-bottom alignment mode are added, wherein the horizontal alignment mode comprises central alignment (1), left end alignment (2), right end alignment (3), and left-right end alignment (4); and the vertical alignment mode comprises central alignment (1), top alignment (2), bottom alignment (3), and top-bottom alignment (4). According to priority of the alignment modes, when the distance between two adjacent positions is less than 3 pixels, an alignment line is drawn. Therefore, when dragged, the picture is aligned at four lines of other pictures in horizontal and vertical directions, and the convenience of dragging the picture is greatly improved.
Description
Technical field
The present invention relates to a kind of four line alignment thereof when pulling figure.
Background technology
Computer graphics refers to that application mapping software and computer hardware, real time graphic display, paving help a technology of drawing with design.Computer drawing technology all plays an important role at numerous areas, is the indispensable application design meanses of present engineering design personnel.Along with the development of modern science and production technology has all made higher requirement to the degree of accuracy of drawing and speed.Due to drawing shape complicated all the more, make Hand drawing in the renewal speed of drawing degree of accuracy, speed and associated product, all seem and prove definitely inferior.
Along with coming out one after another of computing machine and draught machine, and the development of related software technology, adapt to the requirement of drawing, also made drawing technique rise a height.
Compared with Hand drawing, computer graphics has following advantage:
1, the data-handling capacity of high speed, drastically increases data-handling capacity
2, powerful graphics capability, can the process of two dimension well in complete design and manufacture process and three-dimensional picture, and arbitrarily can control figure display, and translation, rotation and copying pattern.
3, size automatic measuring marks and the function such as self-navigation, seizure efficiently.
4, there is the functions such as solid modelling, surface modeling, geometric modeling, can realize playing up, the effect such as the sense of reality, virtual reality.
In drawing course, when we pull a figure, aliging of horizontal and vertical direction can be done with other figures.Wherein Horizontal Alignment has (1) center alignment (2) left justify (3) right-hand justified; Vertical alignment mode has alignment (2) hanging (3) the bottom alignment of (1) center.
Summary of the invention
The present invention, on the basis of conventional alignment mode, adds the left right-hand justified in horizontal direction and the alignment of the top bottom in vertical direction, and namely Horizontal Alignment has (1) center alignment (2) left justify (3) right-hand justified (4) left right-hand justified; Vertical alignment mode has the alignment of (1) center alignment (2) hanging (3) bottom alignment (4) top bottom.By above-mentioned alignment thereof successively according to priority, when the distance of latter two position is less than 3 pixel in the ban, draw alignment line.Like this, when we pull a figure, can align with four lines that other figures are formed on horizontal and vertical direction, considerably increase the convenient degree pulling figure.
Accompanying drawing explanation
In institute's accompanying drawing, further illustrate the present invention for simple square figure.
Fig. 1 is the alignment thereof in horizontal direction of the present invention.
Fig. 2 is the alignment thereof in vertical direction of the present invention.
Large square frame is original figure, and little square frame is the figure pulled, and straight line is the alignment line that alignment thereof according to the present invention is formed.
Accompanying drawings 1, numbering 1 to 5 represents different Horizontal Alignments respectively.Wherein 1 represents center alignment thereof, and 2 represent left justify mode, and 4 represent right-hand justified mode, and 3 and 5 represent left and right end alignment thereof.
Accompanying drawings 2, numbering 1 to 5 represents different vertical alignment modes respectively.Wherein 1 represents center alignment thereof, and 2 represent hanging mode, and 4 represent bottom alignment thereof, and 3 and 5 represent top bottom alignment thereof.
Embodiment
The invention provides a kind of four line alignment thereof when pulling figure, Horizontal Alignment has (1) center alignment (2) left justify (3) right-hand justified (4) left right-hand justified; Vertical alignment mode has the alignment of (1) center alignment (2) hanging (3) bottom alignment (4) top bottom.By above-mentioned alignment thereof successively according to priority, when the distance of latter two position is less than 3 pixel in the ban, draw alignment line.Like this, when we pull a figure, can align with four lines that other figures are formed on horizontal and vertical direction.
Claims (4)
1. pull four line alignment thereof during figure, it comprises center alignment in horizontal direction, left justify, right-hand justified and left and right end alignment thereof, and center alignment in vertical direction, hanging, bottom alignment and top bottom alignment thereof.
2. a kind of mode according to claim 1, is characterized in that, the alignment thereof in horizontal direction carries out priority match according to center alignment, left justify, right-hand justified and left right-hand justified order.
3. a kind of mode according to claim 1, is characterized in that, the alignment thereof in vertical direction carries out priority match according to center alignment, hanging, bottom alignment and top bottom alignment order.
4. according to a kind of mode of claim 2 and 3, it is characterized in that, when the distance of latter two position is less than 3 pixel in the ban, draw alignment line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310385161.2A CN104423821A (en) | 2013-08-30 | 2013-08-30 | Four-line aligning mode for dragging picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310385161.2A CN104423821A (en) | 2013-08-30 | 2013-08-30 | Four-line aligning mode for dragging picture |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104423821A true CN104423821A (en) | 2015-03-18 |
Family
ID=52972973
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310385161.2A Pending CN104423821A (en) | 2013-08-30 | 2013-08-30 | Four-line aligning mode for dragging picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104423821A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106502701A (en) * | 2016-10-27 | 2017-03-15 | 中企动力科技股份有限公司 | The method and device of component alignment during a kind of establishment webpage |
CN106528736A (en) * | 2016-10-27 | 2017-03-22 | 中企动力科技股份有限公司 | Method and apparatus for displaying alignment line during dragging of page components |
CN110389810A (en) * | 2019-07-31 | 2019-10-29 | 阿里巴巴集团控股有限公司 | A kind of method, device and equipment for quickly putting UI control on virtual canvas |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060005120A1 (en) * | 2004-06-30 | 2006-01-05 | Microsoft Corporation | Aligned behavior in templated lists |
CN102065227A (en) * | 2009-11-17 | 2011-05-18 | 新奥特(北京)视频技术有限公司 | Method and device for horizontally and vertically aligning object in graph and image processing |
CN102063698A (en) * | 2009-11-17 | 2011-05-18 | 新奥特(北京)视频技术有限公司 | Method and device for obliquely aligning objects in graph and picture treatment |
CN102402633A (en) * | 2010-09-17 | 2012-04-04 | 中国科学院微电子研究所 | Method for establishing parameterized device physical layout unit generating program |
-
2013
- 2013-08-30 CN CN201310385161.2A patent/CN104423821A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060005120A1 (en) * | 2004-06-30 | 2006-01-05 | Microsoft Corporation | Aligned behavior in templated lists |
CN102065227A (en) * | 2009-11-17 | 2011-05-18 | 新奥特(北京)视频技术有限公司 | Method and device for horizontally and vertically aligning object in graph and image processing |
CN102063698A (en) * | 2009-11-17 | 2011-05-18 | 新奥特(北京)视频技术有限公司 | Method and device for obliquely aligning objects in graph and picture treatment |
CN102402633A (en) * | 2010-09-17 | 2012-04-04 | 中国科学院微电子研究所 | Method for establishing parameterized device physical layout unit generating program |
Non-Patent Citations (2)
Title |
---|
IT部落窝: "photoshop智能参考线的开启和使用——视频教程十一", 《HTTP://WWW.ITTRIBALWO.COM/ARTICLE/2046.HTML》 * |
祁连山: "Photoshop CS2 视频教程:199智能参考线与参考线的使用", 《HTTP://M.PS123.NET/ARTICLE/HTML/794.HTML》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106502701A (en) * | 2016-10-27 | 2017-03-15 | 中企动力科技股份有限公司 | The method and device of component alignment during a kind of establishment webpage |
CN106528736A (en) * | 2016-10-27 | 2017-03-22 | 中企动力科技股份有限公司 | Method and apparatus for displaying alignment line during dragging of page components |
CN110389810A (en) * | 2019-07-31 | 2019-10-29 | 阿里巴巴集团控股有限公司 | A kind of method, device and equipment for quickly putting UI control on virtual canvas |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101930620B (en) | Image processing method and associated apparatus for rendering three-dimensional effect using two-dimensional image | |
WO2015101160A1 (en) | Method for making projection of three-dimensional object based on preset site | |
CN105121134A (en) | Slicing and/or texturing for three-dimensional printing | |
CN107194978A (en) | A kind of three-dimensional Home Fashion & Design Shanghai and display systems based on WebGL | |
CN103440677A (en) | Multi-view free stereoscopic interactive system based on Kinect somatosensory device | |
CN107369205A (en) | A kind of three-dimensional linkage display methods of mobile terminal city two | |
CN104423821A (en) | Four-line aligning mode for dragging picture | |
CN107341846A (en) | A kind of method and apparatus of the extensive three-dimensional reconstruction scene of real-time display | |
CN103077552A (en) | Three-dimensional displaying method based on multi-view video | |
JP2012174238A5 (en) | ||
CN104217461A (en) | A parallax mapping method based on a depth map to simulate a real-time bump effect | |
CN104615832A (en) | Method for generating 3D model brick paving in decorative tile and marble paving scheme | |
CN104123725A (en) | Homography matrix H computing method of single line array camera | |
CN102316354A (en) | Parallelly processable multi-view image synthesis method in imaging technology | |
CN204695673U (en) | A kind of for the three-dimensional digital sand table in urban planning and construction | |
CN204559792U (en) | Device and the display device of stereo-picture or video is shown for display screen | |
TW201320714A (en) | Image warping method and computer program product thereof | |
CN108932353B (en) | Method for realizing positioning between building model and entity by applying mixed reality technology | |
CN102567602A (en) | Multimedia fitting platform | |
CN104768018B (en) | A kind of quick view prediction method based on depth map | |
CN103763495A (en) | L-shaped vertical curtain and ground curtain 3D projection display method | |
CN205157968U (en) | Holographic imaging system | |
CN104134201B (en) | The method and apparatus of texture image splicing | |
CN109598785A (en) | A kind of three-dimensional grid model view conversion method | |
CN105513065A (en) | Camera linear calibration method based on combination of plane calibration pattern and cylindrical surface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150318 |