Tutorial | 고급
이 튜토리얼에서는 복사 / 붙여 넣기, 노드 수정, 프리 핸드 및 펜 그리기, 경로 조작, 부울 도구, 투영, 단순화 및 텍스트를 다룹니다.
Use Ctrl+arrows, mouse wheel, or middle button drag to scroll the page down. For basics of object creation, selection, and transformation, see the Basic tutorial in Help⇒Tutorials.
붙여 넣기 기술
After you copy some object(s) by Ctrl+C or cut by Ctrl+X, the regular Paste command (Ctrl+V) pastes the copied object(s) right under the mouse cursor or, if the cursor is outside the window, to the center of the document window. However, the object(s) in the clipboard still remember the original place from which they were copied, and you can paste back there by Paste In Place (Ctrl+Alt+V).
Another command, Paste Style (Shift+Ctrl+V), applies the style of the (first) object on the clipboard to the current selection. The “style” thus pasted includes all the fill, stroke, and font settings, but not the shape, size, or parameters specific to a shape type, such as the number of tips of a star.
Yet another set of paste commands, Paste Size, scales the selection to match the desired size attribute of the clipboard object(s). There are a number of commands for pasting size and are as follows: Paste Size, Paste Width, Paste Height, Paste Size Separately, Paste Width Separately, and Paste Height Separately.
Paste Size scales the whole selection to match the overall size of the clipboard object(s). Paste Width/Paste Height scale the whole selection horizontally/vertically so that it matches the width/height of the clipboard object(s). These commands honor the scale ratio lock on the Selector Tool controls bar (between W and H fields), so that when that lock is pressed, the other dimension of the selected object is scaled in the same proportion; otherwise the other dimension is unchanged. The commands containing “Separately” work similarly to the above described commands, except that they scale each selected object separately to make it match the size/width/height of the clipboard object(s).
클립 보드는 다양한 Inkscape 인스턴스와 다른 응용 프로그램 (이 기능을 사용하기 위해 클립 보드에 SVG 파일을 처리 할 수 있어야 함)간에 개체를 복사 / 붙여 넣기하는 데 사용할 수 있습니다.
Drawing freehand and regular paths
임의의 도형을 만드는 가장 쉬운 방법은 Pencil (프리 핸드) 도구 (F6)를 사용하여 그릴 수 있습니다:
If you want more regular shapes, use the Pen (Bezier) tool (Shift+F6):
With the Pen tool, each click creates a sharp node without any curve handles, so a series of clicks produces a sequence of straight line segments. click and drag creates a smooth Bezier node with two collinear opposite handles. Press Shift while dragging out a handle to rotate only one handle and fix the other. As usual, Ctrl limits the direction of either the current line segment or the Bezier handles to 15 degree increments. Pressing Enter finalizes the line, Esc cancels it. To cancel only the last segment of an unfinished line, press Backspace.
프리 핸드 도구와 베지어(Bezier) 도구 모두에서 현재 선택된 경로는 양쪽 끝에 작은 사각형 anchors를 표시합니다. 이 앵커는 새 앵커를 만드는 대신 앵커 중 하나에서 드로잉하여 continue하거나 close (한 앵커에서 다른 앵커로 드로잉) 할 수 있습니다 .
트랙 편집
모양 도구로 만든 모양과 달리 펜 도구와 연필 도구는 paths을 만듭니다. 경로라는 일련의 직선 세그먼트 및 / 또는 베지어(Bezier) 곡선으로 이루어져 있으며, 다른 Inkscape 개체와 마찬가지로 모든 필과 획 속성을 가질 수 있습니다. 그러나 모양과 달리 경로 (소정의 처리뿐만 아니라) 노드를 드래그하여 자유롭게 편집 할 수 있습니다. 이 경로를 선택하여 노드 도구 (F2)로 전환하십시오:
You will see a number of gray square nodes on the path. These nodes can be selected by click, Shift+click, or by dragging a rubberband - exactly like objects are selected by the Selector tool. You can also click a path segment to automatically select the adjacent nodes. Selected nodes become highlighted and show their node handles - one or two small circles connected to each selected node by straight lines. The ! key inverts node selection in the current subpath(s) (i.e. subpaths with at least one selected node); Alt+! inverts in the entire path.
Paths are edited by dragging their nodes, node handles, or directly dragging a path segment. (Try to drag some nodes, handles, and path segments of the above path.) Ctrl works as usual to restrict movement and rotation. The arrow keys, Tab, [, ], <, > keys with their modifiers all work just as they do in selector, but apply to nodes instead of objects. You can add nodes anywhere on a path by either double clicking or by Ctrl+Alt+click at the desired location.
You can delete nodes with Del or Ctrl+Alt+click. When deleting nodes it will try to retain the shape of the path, if you desire for the handles of the adjacent nodes to be retracted (not retaining the shape) you can delete with Ctrl+Del. Additionally, you can duplicate (Shift+D) selected nodes. The path can be broken (Shift+B) at the selected nodes, or if you select two endnodes on one path, you can join them (Shift+J).
A node can be made cusp (Shift+C), which means its two handles can move independently at any angle to each other; smooth (Shift+S), which means its handles are always on the same straight line (collinear); symmetric (Shift+Y), which is the same as smooth, but the handles also have the same length; and auto-smooth (Shift+A), a special node that automatically adjusts the handles of the node and surrounding auto-smooth nodes to maintain a smooth curve. When you switch the type of node, you can preserve the position of one of the two handles by hovering your mouse over it, so that only the other handle is rotated/scaled to match.
Also, you can retract a node's handle altogether by Ctrl+clicking on it. If two adjacent nodes have their handles retracted, the path segment between them is a straight line. To pull out the retracted node, Shift+drag away from the node.
하위 경로와 결합
경로 객체는 두 개 이상의 하위 경로 를 포함 할 수 있습니다. 서브 경로는 서로 연결된 노드 시퀀스입니다. 따라서 경로에 둘 이상의 하위 경로가있는 경우 모든 노드가 연결되지는 않습니다. 왼쪽 아래에는 세 개의 하위 경로가 단일 복합 경로에 속합니다. 오른쪽에있는 세 개의 하위 경로는 독립 경로 객체입니다:
복합 경로는 그룹과 같지 않습니다. 그것은 오직 전체적으로 선택 될 수있는 단일 객체입니다. 왼쪽의 객체를 선택하고 노드 도구로 전환하면 세 개의 모든 하위 트랙에 노드가 표시됩니다. 왼쪽에는 한 번에 하나의 경로 만있는 노드를 볼 수 있지만 모든 노드를 함께 볼 수는 없습니다.
Inkscape can Combine paths into a compound path (Ctrl+K) and Break Apart a compound path into separate paths (Shift+Ctrl+K). Try these commands on the above examples. Since an object can only have one fill and stroke, a new compound path gets the style of the first (lowest in z-order) object being combined.
겹쳐진 채우기로 트랙을 결합 할 때 채우기는 대개 트랙이 겹치는 영역에서 사라집니다:
이것은 구멍이있는 객체를 만드는 가장 쉬운 방법입니다. 아래에서 더 강력한 명령 인 "부울 연산"에 대한 설명을 찾을 수 있습니다.
트랙으로 변환
Any shape or text object can be converted to path (Shift+Ctrl+C). This operation does not change the appearance of the object but removes all capabilities specific to its type (e.g. you can't round the corners of a rectangle or edit the text anymore); instead, you can now edit its nodes. Here are two stars - the left one is kept a shape and the right one is converted to path. Switch to node tool and compare their editability when selected:
Moreover, you can convert to a path (“outline”) the stroke of any object. Below, the first object is the original path (no fill, black stroke), while the second one is the result of the Stroke to Path command (black fill, no stroke):
부울 연산
The commands in the Path menu let you combine two or more objects using boolean operations:
원본 양식
Union(Ctrl++)
차이 (Ctrl + -)(bottom minus top)
교차(Ctrl+*)
제외(Ctrl+^)
분할(Ctrl+/)
경로 절단(Ctrl+Alt+/)
The keyboard shortcuts for these commands allude to the arithmetic analogs of the boolean operations (union is addition, difference is subtraction, etc.). The Difference and Exclusion commands can only apply to two selected objects; others may process any number of objects at once. The result always receives the style of the bottom object.
The result of the Exclusion command looks similar to Combine (see above), but it is different in that Exclusion adds extra nodes where the original paths intersect. The difference between Division and Cut Path is that the former cuts the entire bottom object by the path of the top object, while the latter only cuts the bottom object's stroke and removes any fill (this is convenient for cutting fill-less strokes into pieces).
경로 이동
Inkscape can expand and contract shapes not only by scaling, but also by offsetting an object's path, i.e. by displacing it perpendicular to the path in each point. The corresponding commands are called Inset (Ctrl+() and Outset (Ctrl+)). Shown below is the original path (red) and a number of paths inset or outset from that original:
The plain Inset and Outset commands produce paths (converting the original object to path if it's not a path yet). Often, more convenient is the Dynamic Offset (Ctrl+J) which creates an object with a draggable handle (similar to a shape's handle) controlling the offset distance. Select the object below, switch to the node tool, and drag its handle to get an idea:
이 동적 객체 철회 는 원래 경로를 저장하므로 오프셋 크기를 조정할 때 원본 경로를 "파괴"하지 않습니다. 더 이상 오프셋을 조정할 필요가 없으면 대상의 간격 띄우기를 경로로 다시 변환 할 수 있습니다.
더 편리하게 offset 은 동적과 유사하지만 편집 할 수있는 다른 경로와 결합됩니다. 하나의 원본 경로에 대해 여러 개의 오프셋을 연결할 수 있습니다. 아래 예에서 소스 경로는 빨간색이며, 연결된 한 오프셋은 검은 색 외곽선을 가지며 채워지지 않습니다. 다른 하나는 검은 색으로 채우고 윤곽선은 없습니다.
빨간색 객체를 선택하고 노드 편집하십시오. 연결된 오프셋 모두가 어떻게 반응하는지 관찰하십시오. 이제 옵셋 중 하나를 선택하고 핸들을 드래그하여 오프셋 반경을 조정하십시오. 마지막으로, 원본과의 연결을 끊지 않고 오프셋 개체를 개별적으로 이동하거나 변형 할 수 있습니다.
단순화
The main use of the Simplify command (Ctrl+L) is reducing the number of nodes on a path while almost preserving its shape. This may be useful for paths created by the Pencil tool, since that tool sometimes creates more nodes than necessary. Below, the left shape is as created by the freehand tool, and the right one is a copy that was simplified. The original path has 28 nodes, while the simplified one has 17 (which means it is much easier to work with in node tool) and is smoother.
The amount of simplification (called the threshold) depends on the size of the selection. Therefore, if you select a path along with some larger object, it will be simplified more aggressively than if you select that path alone. Moreover, the Simplify command is accelerated. This means that if you press Ctrl+L several times in quick succession (so that the calls are within 0.5 sec from each other), the threshold is increased on each call. (If you do another Simplify after a pause, the threshold is back to its default value.) By making use of the acceleration, it is easy to apply the exact amount of simplification you need for each case.
Besides smoothing freehand strokes, Simplify can be used for various creative effects. Often, a shape which is rigid and geometric benefits from some amount of simplification that creates cool life-like generalizations of the original form - melting sharp corners and introducing very natural distortions, sometimes stylish and sometimes plain funny. Here's an example of a clipart shape that looks much nicer after Simplify:
Original
약간의 단순화
강력한 단순화
텍스트 만들기
잉크 스케이프는 길고 완전한 텍스트를 만들 수 있습니다. 그러나 제목, 배너, 로고, 레이블 등과 같은 작은 텍스트 개체를 만드는 것도 편리합니다. 이 섹션에서는 Inkscape의 텍스트 기능을 소개합니다.
Creating a text object is as simple as switching to the Text tool (F8), clicking somewhere in the document, and typing your text. To change font family, style, size, and alignment, open the Text and Font dialog (Shift+Ctrl+T). That dialog also has a text entry tab where you can edit the selected text object - in some situations, it may be more convenient than editing it right on the canvas (in particular, that tab supports as-you-type spell checking).
다른 도구와 마찬가지로 텍스트 도구는 해당 유형 (텍스트 개체)의 개체를 선택할 수 있으므로이 단락과 같이 만든 모든 텍스트 개체에서 커서를 선택하고 위치시킬 수 있습니다.
One of the most common operations in text design is adjusting spacing between letters and lines. As always, Inkscape provides keyboard shortcuts for this. When you are editing text, the Alt+< and Alt+> keys change the letter spacing in the current line of a text object, so that the total length of the line changes by 1 pixel at the current zoom (compare to Selector tool where the same keys do pixel-sized object scaling). As a rule, if the font size in a text object is larger than the default, it will likely benefit from squeezing letters a bit tighter than the default. Here's an example:
Original
글자 간격 감소
Inspiration
Inspiration
수정 된 버전은 제목으로는 좋지만 여전히 완벽하지는 않습니다. 문자 사이의 거리가 일정하지 않습니다. 예를 들어 "i"와 "o"는 너무 멀리 떨어져 있고 "a"와 "z"는 너무 가깝습니다. . 이러한 문자 조정 (특히 큰 글꼴에서 볼 수 있음)의 양은 고품질의 글꼴보다 낮은 품질에서 더 큽니다. 그러나 텍스트의 모든 줄과 각 글자에 접근하면 개선 된 글자의 복사본을 찾을 수 있습니다.
Inkscape makes these adjustments really easy. Just move your text editing cursor between the offending characters and use Alt+arrows to move the letters right of the cursor. Here is the same heading again, this time with manual adjustments for visually uniform letter positioning:
글자 간격이 줄어 들었습니다. 일부 글자 쌍은 수동으로 글자꼴로 나타납니다
Inspiration
In addition to shifting letters horizontally by Alt+Left or Alt+Right, you can also move them vertically by using Alt+Up or Alt+Down:
Inspiration
Of course you could just convert your text to path (Shift+Ctrl+C) and move the letters as regular path objects. However, it is much more convenient to keep text as text - it remains editable, you can try different fonts without removing the kerns and spacing, and it takes much less space in the saved file. The only disadvantage to the “text as text” approach is that you need to have the original font installed on any system where you want to open that SVG document.
Similar to letter spacing, you can also adjust line spacing in multi-line text objects. Try the Ctrl+Alt+< and Ctrl+Alt+> keys on any paragraph in this tutorial to space it in or out so that the overall height of the text object changes by 1 pixel at the current zoom. As in Selector, pressing Shift with any spacing or kerning shortcut produces 10 times greater effect than without Shift.
XML 편집기
The ultimate power tool of Inkscape is the XML editor (Shift+Ctrl+X). It displays the entire XML tree of the document, always reflecting its current state. You can edit your drawing and watch the corresponding changes in the XML tree. Moreover, you can edit any text, element, or attribute nodes in the XML editor and see the result on your canvas. This is the best tool imaginable for learning SVG interactively, and it allows you to do tricks that would be impossible with regular editing tools.
결론
이 튜토리얼은 Inkscape의 기능 중 일부를 보여줍니다. 우리는 당신이 그것을 즐겼기를 바랍니다. 실험하고 공유하는 것을 두려워하지 마십시오. www.inkscape.org를 방문하여 사용자 및 개발자 커뮤니티의 추가 정보, 최신 버전 및 도움말을 확인하십시오.
Bulia Byak; Jonathan Leighton; Josh Andler; Colin Marquardt; Maren Hachmann; Nicolas Dufour; Gellért Gyuris
yunhee Lee — 2019
Esteban Capella — 2019