Warning, /graphics/kxstitch/doc/patterns.docbook is written in an unsupported language. File is not indexed.

0001 <chapter id="creatingpatterns" >
0002     <title>Creating patterns</title>
0003 
0004     <sect1 id="starting-kxstitch">
0005         <title>Starting &kxstitch;</title>
0006         <para>
0007             When starting &kxstitch; you will be presented with a blank canvas of the default
0008             size. This is also the case when selecting <menuchoice><guimenu>File</guimenu><guimenuitem>New</guimenuitem></menuchoice>.
0009             The default sizes can be set in the pattern properties dialog by enabling the set as default checkbox.
0010         </para>
0011         <para>
0012             If the default size is not suitable for your planned pattern, you can use
0013             the <menuchoice><guimenu>File</guimenu><guimenuitem>File Properties</guimenuitem></menuchoice> dialog to change it.
0014             Adjust the values as required and after clicking on <guibutton>OK</guibutton>, the pattern will be resized to suit.
0015         </para>
0016         <para>
0017             Before creating a pattern you will need to add some flosses to the palette using the <menuchoice><guimenu>Palette</guimenu>
0018             <guimenuitem>Palette Manager</guimenuitem></menuchoice>. This will enable the tools in the <menuchoice><guimenu>Tools</guimenu></menuchoice> menu and toolbar.
0019             See the <link linkend="PaletteManagerDialog">Palette Manager Dialog</link> for further information.
0020         </para>
0021     </sect1>
0022 
0023     <sect1 id="importing-images">
0024         <title>Importing Images</title>
0025         <para>
0026             &kxstitch; allows you to import an image. A dialog will be displayed that previews the
0027             image based on the default import options.
0028         </para>
0029         <para>
0030             The initial size of the pattern will be based on the default pattern size.
0031         </para>
0032         <para>
0033             Options for importing allow you to change the floss scheme used and to limit the
0034             number of colors. You can also change the scaling to reduce or enlarge the final
0035             pattern.
0036         </para>
0037         <para>
0038             Checking the <guilabel>Use fractionals</guilabel> checkbox will enable the use of fractional stitches to give more
0039             detail for any given pattern size.
0040         </para>
0041         <para>
0042             Checking the <guilabel>Ignore color</guilabel> checkbox will allow the selection of a color within the image which will then be considered
0043             as the transparent color and ignored during the import.
0044         </para>
0045         <para>
0046             After the image has been imported, an additional dock window will be available giving a preview of the original
0047             image without any color transitions.
0048         </para>
0049     </sect1>
0050 
0051     <sect1 id="background-images">
0052         <title>Background Images</title>
0053         <para>
0054             You can insert an image as a background to the editor window. This is useful if importing
0055             the image is not desirable or gives poor results.
0056         </para>
0057         <para>
0058             The image is normally scaled to cover the entire pattern grid. This may not be suitable, therefore
0059             you can use the select tool to select an area that you want to cover and then select the
0060             <menuchoice><guimenu>View</guimenu> <guimenuitem>Fit Background Image to Selection</guimenuitem></menuchoice>. This will
0061             rescale the image to fit within the selected area. You can continue doing this until you are happy
0062             with the result, even after you have started adding stitches.
0063         </para>
0064         <para>
0065             There is no limit to the number of background images that can be added. Although practical limits of the menus will
0066             determine how many can be added. The background images are stored within the document, so they will be available when
0067             the pattern is reloaded.
0068         </para>
0069     </sect1>
0070 
0071     <sect1 id="pattern-libraries">
0072         <title>Pattern Libraries</title>
0073         <para>
0074             The pattern library manager can be used to store patterns for insertion into the working pattern.  They can be categorized into
0075             a hierarchy of categories and subcategories with multiple root nodes in the library list.  The Alphabet tool makes use of these libraries
0076             to provide an alphabet of insertable characters that can be assigned an associated key.
0077         </para>
0078         <para>
0079             The library manager is a non modal dialog and can be left open whilst working on your pattern.  You can select different libraries as
0080             needed and then drag and drop library patterns onto the working pattern.
0081         </para>
0082         <para>
0083             Adding new category headings can be done with a &RMB; on either an existing entry, to create a sub category, or on a blank space on
0084             the library list, to create a new root entry, and selecting the <guimenuitem>New Category</guimenuitem> option.  Enter the name of the category and click <guibutton>OK</guibutton>.
0085         </para>
0086         <para>
0087             Creating a new library pattern is done by selecting an area of your working pattern, copying and pasting to one of the existing categories.
0088         </para>
0089         <para>
0090             Each library pattern has properties, accessed by its context menu.  These properties include size, floss scheme, baseline value and associated key.
0091             The baseline value is used by the Alphabet tool to adjust the height of a character above, negative values, or below the insertion point.
0092             The associated key is again used by the Alphabet tool to match with the key pressed on the keyboard.
0093         </para>
0094     </sect1>
0095 </chapter>